Permissions issues with Sonarr / NzbGet setup using a drive pool.

I’ve got a drivepool drive “L:” running on Win10 where I intend to store all of my Sonarr related files, however I am getting some permissions issues. NzbGet downloads to a local drive “X:” and Sonarr is supposed to import those files to the local drivepool drive “L:”. I’ve already moved many files over to the Sonarr directory earlier and Sonarr has renamed them and moved them around, so I wouldn’t think permissions would be a problem. I already set “full access” to all users, admins, system etc… and it hasn’t fixed the issue.

I was getting another permissions based error on Sonarr for “C:\ProgramData\NzbDrone\bin”, but that error is gone after giving full permissions. Any ideas?


    18-1-27 15:01:48.7|Warn|ImportApprovedEpisodes|Couldn't import episode X:\_NZBGet\intermediate\sonarr\XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-doosh-Obfuscated\61877b874a2a4b268b0932a611884627.mkv
    
    [v2.0.0.5129] System.UnauthorizedAccessException: Access to the path 'L:\_TV\XXXXXXXXXXXXXX\Season 16' is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
       at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
       at System.IO.Directory.CreateDirectory(String path)
       at NzbDrone.Common.Disk.DiskProviderBase.CreateFolder(String path) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 180
       at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.CreateFolder(String directoryName) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 206
       at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.EnsureEpisodeFolder(EpisodeFile episodeFile, Series series, Int32 seasonNumber, String filePath) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 176
       at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 77
       at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 76
       at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 103

Is the folder Sonarr is attempting to create inside a folder that is readonly (or on a drive that is readonly)? IIRC Drivepool can make things readonly under some circumstances.

Hmm, that does appear to be the issue. All the folders on the drive pool were set to readonly, but removing the readonly just causes them to become readonly again which then denies Sonarr access. It’s confusing because Sonarr was accessing these directories without issue a few days ago and all of my drives in the pool are working properly.

I believe Windows displays all folders as read-only.

Not sure what else to check, but you could change how Sonarr is running to see if it makes a difference (console instead of service, or vice versa).

I fixed the issue by running Wss.Troubleshoot_1.0.0.165.exe and selecting “Reset NTFS permissions on the pool”.

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