Sonarr All of a Sudden Believes It Doesn't Have Permission To Access Completed Downloads

Version: 2.0.0.5228
Mono: 5.12.0.301
OS: Ubuntu 16.04
Debug logs: (relevant section below)

Description of issue: No recent changes in anything, but for some reason, sonarr seems to think it no longer has permission to access my completed downloads directory. Sonarr is running as root:root.

ls -lah on the completed downloads directory also confirms it has root:root permissions. Everything has been working fine for the past 4 months or so, and then literally overnight this became a problem.

18-8-7 22:01:22.2|Warn|ImportApprovedEpisodes|Couldn't import episode /opt/downloader/completed/tv/Young.Sheldon.S01E13.A.Sneeze.Detention.and.Sissy.Spacek.1080p.AMZN.WEB-DL.DDP5.1.H.264.1-NTb-Obfuscated/c6d1da91cc64400b8c4aeef65feeb2be.mp4

[v2.0.0.5228] System.UnauthorizedAccessException: Access to the path is denied.
  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00116] in <b0e1ad7573a24fd5a9f2af9595e677e7>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFileInternal (System.String source, System.String destination) [0x00000] in <8faeb593f49341d6a7a6d2c3c281887c>:0 
  at NzbDrone.Mono.Disk.DiskProvider.MoveFileInternal (System.String source, System.String destination) [0x00076] in <cd50cb4f3a50490d80a10df172583553>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e3] in <8faeb593f49341d6a7a6d2c3c281887c>:0 
  at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileTransactional (System.String sourcePath, System.String targetPath, System.Int64 originalSize, NzbDrone.Common.Disk.DiskTransferVerificationMode verificationMode) [0x0008f] in <8faeb593f49341d6a7a6d2c3c281887c>:0 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite, NzbDrone.Common.Disk.DiskTransferVerificationMode verificationMode) [0x003ce] in <8faeb593f49341d6a7a6d2c3c281887c>:0 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite, System.Boolean verified) [0x0000e] in <8faeb593f49341d6a7a6d2c3c281887c>:0 
  at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List`1[T] episodes, System.String destinationFilePath, NzbDrone.Common.Disk.TransferMode mode) [0x0012c] in <f8c4a2c9e6194b509efc6018724d76df>:0 
  at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x0006c] in <f8c4a2c9e6194b509efc6018724d76df>:0 
  at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean copyOnly) [0x0017c] in <f8c4a2c9e6194b509efc6018724d76df>:0 
  at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List`1[T] decisions, System.Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode) [0x00272] in <f8c4a2c9e6194b509efc6018724d76df>:0 

It must be something specific to that show (Young Sheldon), because it just imported an episode of a different show immediately without issue, once it was downloaded. Strange. Not sure what it could be.

Is there anything different about the destination permissions? E.g. Young Sheldon vs another show? Or the season folder inside the series folder?

This came as a result of adding a new series to sonarr. No series folder exists for Young Sheldon yet, these would have been the first episodes to import.

The permissions for the /media/tv directory where all the tv series reside is root:root too, though.

I also added a different new series for comparison, and that show (Psych) is importing episodes no problem.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.