Sonarr version (exact version):
3.0.7.1477
Mono version (if Sonarr is not running on Windows):
6.8.0.105
OS:
Ubuntu 21.10
Debug logs:
[v3.0.7.1477] System.UnauthorizedAccessException: Root folder path ‘/home/(removed)/wdelements-mount/Video/TV/’ is not writable by user ‘vortilion’
at NzbDrone.Core.RootFolders.RootFolderService.Add (NzbDrone.Core.RootFolders.RootFolder rootFolder) [0x000e9] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\RootFolders\RootFolderService.cs:117
at Sonarr.Api.V3.RootFolders.RootFolderModule.CreateRootFolder (Sonarr.Api.V3.RootFolders.RootFolderResource rootFolderResource) [0x00007] in M:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Api.V3\RootFolders\RootFolderModule.cs:56
at Sonarr.Http.REST.RestModule1[TResource].<set_CreateResource>b__42_0 (System.Object options) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\REST\RestModule.cs:168 at Nancy.NancyModule+<>c__DisplayClass38_0
1[T].b__0 (System.Object args) [0x00047] in :0
at Nancy.NancyModule+<>c__DisplayClass40_01[T].<Post>b__0 (System.Object args, System.Threading.CancellationToken ct) [0x00047] in <e31b230dbd29407fadcc55713e0bbd0f>:0 at Nancy.Routing.Route
1[T].Invoke (Nancy.DynamicDictionary parameters, System.Threading.CancellationToken cancellationToken) [0x00017] in :0
at Nancy.Routing.DefaultRouteInvoker.Invoke (Nancy.Routing.Route route, System.Threading.CancellationToken cancellationToken, Nancy.DynamicDictionary parameters, Nancy.NancyContext context) [0x00086] in :0
at Nancy.Routing.DefaultRequestDispatcher.Dispatch (Nancy.NancyContext context, System.Threading.CancellationToken cancellationToken) [0x002b7] in :0
at Nancy.NancyEngine.InvokeRequestLifeCycle (Nancy.NancyContext context, System.Threading.CancellationToken cancellationToken, Nancy.Bootstrapper.IPipelines pipelines) [0x0011d] in :0
Description of issue:
I am running sonarr inside an Ubuntu 21.10-VM on my QNAP NAS. i was able to get it to run if I mount a NAS-folder inside the vm (for testing purposes) but what I really want to achieve is adding a USB-drivbe as sonar-root-path. I can mount it as well, but if I try to select it as root path in sonarr it tells me that sonarr cant write to that directory with the user (which is the same user as the one with whom I am logged in ubuntu.
I tried mounting it via
sudo mount -t cifs -o credentials=/home/vortilion/credentials.txt,uid=1000,gid=1000 //nas059585.local/WDElements/TV /home/vortilion/wdelements-mount/tv
and I tried mounting in /etc/fstab via
//nas059585.local/WDElements/TV /home/vortilion/wdelements-mount/tv cifs credentials=/home/vortilion/credentials.txt,uid=1000,gid=1000,sec=ntlmv2,iocharset=utf8,noperm 0 0
To me the error doesn’t make sense. I am using the same user for sonarr as for ubuntu, I can write to the folder via File Explorer and create folders, files etc. which works perfectly, all those changes I do manually with the same user are immediately visible in the host system. So why does Sonarr tell me the same user CAN’T write to that folder? Whats even stranger: Sonarr DOES create a text file with the name “sonar_write_test”.