Issue importing TV episodes

I love Sonarr, have been using it on Windows for a while and am in the process of migrating all my usenet services onto an Ubuntu 14.04 server. The files themselves are hosted on a Synology NAS shared via samba. I have been doing my best google searching to try and find a solution but so far have had no luck. The first thing I did was try and make sure I was mounting my share properly, my fstab contains the following mount command:

//10.10.10.4/Multimedia /media/multimedia cifs credentials=/home/docker/.smbcreds,iocharset=utf8,rw,nounix,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0

This finally gave me the permissions that I thought would enable Sonarr to work:

2228258 drwxrwxrwx 2 docker docker 0 Feb 5 16:18 Television

However I still get this error message:

Message
Request Failed: Root folder path ‘/media/multimedia/Television/’ is not writable by user ‘docker’

Exception
System.UnauthorizedAccessException: Root folder path ‘/media/multimedia/Television/’ is not writable by user 'docker’
at NzbDrone.Core.RootFolders.RootFolderService.Add (NzbDrone.Core.RootFolders.RootFolder rootFolder) [0x0014f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\RootFolders\RootFolderService.cs:123
at NzbDrone.Api.NzbDroneRestModule1[TResource].GetNewId[TModel] (System.Func2 function, NzbDrone.Api.TResource resource) [0x0000c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\NzbDroneRestModule.cs:31
at NzbDrone.Api.RootFolders.RootFolderModule.CreateRootFolder (NzbDrone.Api.RootFolders.RootFolderResource rootFolderResource) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\RootFolders\RootFolderModule.cs:45
at NzbDrone.Api.REST.RestModule1[TResource].<set_CreateResource>b__f (System.Object options) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\REST\RestModule.cs:155 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func2<object, object>,object)
at Nancy.Routing.Route+<>c__DisplayClass4.b__3 (System.Object parameters, CancellationToken context) <0x41eeee80 + 0x0014f> in :0

After reading a lot of the posts on this forum I decided to try creating a symlink and trying again which gives the same error message. Has anyone successfully overcome this type of error? Any help is appreciated. Thanks.

you must give the user called docker both write and read access to the folder

The user has full access to the folder and its sub folders. I am using the same configuration for couchpotato, with the same user and not having any issues.

Solved the problem, apparently before I set the permissions on the share properly Sonarr created a test file to determine if it could write to the folder. Well the permissions on this file were wrong so it kept throwing errors even when the folder permissions were correct. After deleting the file and re-adding the location everything worked.

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