Sonarr version (exact version): 2.0.0.5338
Mono version (if Sonarr is not running on Windows): 5.20.1.34
OS: Linux (Sonarr is a Docker running in OpenMediaVault)
Debug logs:
Description of issue:
I’m new to Sonarr and I have a somewhat complicated configuration scenario. I almost have it fully working, with the exception of unattended imports. Any time a torrent completes downloading, I get the following error in System > Logs:
Couldn't process tracked download [file name]: Access to the path '/etc/s6/services/s6-fdholderd/supervise' is denied.
Exception:
System.UnauthorizedAccessException: Access to the path '/etc/s6/services/s6-fdholderd/supervise' is denied.
at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x00129] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.FileSystemEnumerableIterator`1[TSource].AddSearchableDirsToStack (System.IO.Directory+SearchData localSearchData) [0x00053] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.FileSystemEnumerableIterator`1[TSource].MoveNext () [0x0008e] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00062] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x0000f] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.Directory.InternalGetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00038] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at NzbDrone.Common.Disk.DiskProviderBase.GetFiles (System.String path, System.IO.SearchOption searchOption) [0x00048] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskProviderBase.cs:154
at NzbDrone.Core.MediaFiles.DiskScanService.GetVideoFiles (System.String path, System.Boolean allDirectories) [0x00019] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:139
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessFolder (System.IO.DirectoryInfo directoryInfo, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode, NzbDrone.Core.Tv.Series series, NzbDrone.Core.Download.DownloadClientItem downloadClientItem) [0x00035] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\DownloadedEpisodesImportService.cs:160
at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessPath (System.String path, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode, NzbDrone.Core.Tv.Series series, NzbDrone.Core.Download.DownloadClientItem downloadClientItem) [0x00023] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\DownloadedEpisodesImportService.cs:83
at NzbDrone.Core.Download.CompletedDownloadService.Import (NzbDrone.Core.Download.TrackedDownloads.TrackedDownload trackedDownload) [0x00014] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\CompletedDownloadService.cs:114
at NzbDrone.Core.Download.CompletedDownloadService.Process (NzbDrone.Core.Download.TrackedDownloads.TrackedDownload trackedDownload, System.Boolean ignoreWarnings) [0x00127] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\CompletedDownloadService.cs:108
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientItems (NzbDrone.Core.Download.IDownloadClient downloadClient, NzbDrone.Core.Download.DownloadClientItem downloadItem) [0x00042] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:134
The exact same error happens for every single torrent.
Some backstory:
I have Sonarr running in a Docker container on my OpenMediaVault server. My torrents are downloaded using a Seedbox. At first I had a hard time setting up Remote Path Mappings so that Sonarr could see the Seedbox as a volume, but I SSH’d into the Docker container and installed curlftpfs. Once I did that, I could mount my Seedbox and set up Remote Path Mappings successfully. I thought that would solve the problem, and it did let me use Manual Import. But, alas, unattended importing does not work. Sonarr successfully grabs the torrents for my watched shows, the seedbox downloads them, Sonarr sees that the downloads have completed, and then I get the error pasted above.
Some relevant details:
-
As I mentioned, I am able to import using the Wanted > Manual Import tool. Both “Import File(s) Automatically” and “Manual Import” work, so Sonarr can read from my seedbox and write to my destination folders.
-
I do not have renaming enabled (I don’t need it–scene names are fine) so any potential issues around renaming files that live on the seedbox should be moot.
-
The presence of “access denied” makes me think there’s a permissions issue. I believe the UID I have set in the Docker container has sufficient rights (none of my other Dockers using that UID have had any issues), but I haven’t yet tried to alter the permissions for the /etc/s6/services/s6-fdholderd/supervise directory because I wanted to get some advice first. I’m not a Linux expert and I didn’t want to break things worse than they are.
-
I searched extensively for this issue and while there were other people with the “Couldn’t process tracked download” issue, I did not see anything about /etc/s6/services/s6-fdholderd/supervise.
Sonarr is an incredible piece of software and I hope I can get everything working. I feel like I’m so close!
Thank you so much for the help!