Error] DiskTransferService: Failed to properly rollback the file move [/data/downloads/Mar
Posted by franciscus
My question: Error] DiskTransferService: Failed to properly rollback the file move [/data/downloads/Maria.Wern.S10E01.SWEDiSH.1080p.TPLAY.WEB-DL.H.264-NORViNE/Maria.Wern.S10E01.SWEDiSH.1080p.TPLAY.WEB-DL.H.264-NORViNE.mkv] to [/data/TV/Maria Wern/Season 10/Maria Wern - S10E01 - TBA WEBDL-1080p.mkv], incomplete file may be left in target path. [v4.0.19.2979] System.UnauthorizedAccessException: Access to the path '/data/TV/Maria Wern/Season 10/Maria Wern - S10E01 - TBA WEBDL-1080p.mkv' is denied. --- System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at NzbDrone.Common.Disk.DiskProviderBase.DeleteFile(String path) in ./Sonarr.Common/Disk/DiskProviderBase.cs:line 227 at NzbDrone.Common.Disk.DiskTransferService.RollbackPartialMove(String sourcePath, String targetPath) in ./Sonarr.Common/Disk/DiskTransferService.cs:line 419 [Warn] ImportApprovedEpisodes: Couldn't import episode /data/downloads/Maria.Wern.S10E01.SWEDiSH.1080p.TPLAY.WEB-DL.H.264-NORViNE/Maria.Wern.S10E01.SWEDiSH.1080p.TPLAY.WEB-DL.H.264-NORViNE.mkv [v4.0.19.2979] System.UnauthorizedAccessException: Access to the path '/data/TV/Maria Wern/Season 10/Maria Wern - S10E01 - TBA WEBDL-1080p.mkv' is denied. --- System.IO.IOException: Permission denied --- End of inner exception stack trace --- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean …(reply truncated — full chat sent to Tom)
2 replies
Chris wrote:
That “Permission denied” is why Sonarr cannot finish this move. Please run sudo sparkbox update, then sudo sparkbox check-media-perms. The updated check examines the library folders from the media apps’ point of view and prints the safe, exact correction if one is needed. Please do not reset the box or run ownership or recursive permission commands on your library. If it still reports a problem, paste only its non-sensitive result here and I’ll narrow down the next safe step.
franciscus wrote:
Update I restarted sparkbox and runned doctor: [WARN] Ran out of memory in the last 24h: sb-byparr sb-sonarr kernel-log:GFPKERNEL Each was killed for using more memory than its allowance and restarted itself; your data is safe. If it keeps happening, give that app more room with a per-app override (docs/PER-APP-OVERRIDES.md - memory), or turn off apps you are not using. Ask Tom AI for the exact lines. next step: sudo sparkbox set-env BYPARRENABLED off sudo sparkbox restart media after that remove the incomplete destination file again: sudo rm -f "/volume1/Media/TV/file" and again manual import, wich I tried dozen of times before, working now. Everything smooth now.