Page 1 of 1

Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Tue Feb 23, 2021 7:14 pm
by paeore
So, I recently moved my root folders to another sever and just like some other users I seem to be having an issue getting my network mounted storage to be writable by sonarr.

Radarr was giving me the same issue but after amending the user and group permissions to dietpi:dietpi this made it start working.

I thought, great, Sonarr should work now. But alas this was not the case and i'm getting the annoying "Folder is not writable by user Sonarr" error message when trying to update the root folder in the series editor for all existing series.

Just to reiterate, network mounted storage is writable by radarr but not sonarr. :?

Version and stats:
  • Raspberry Pi Model: Raspberry Pi 4 Model B Rev 1.1
  • OS: Raspbian 10 (Buster)
  • Docker: No
  • Mono Version: Mono JIT compiler version 6.12.0.107
  • Browser and Version (Only needed for UI issues): Firefox 85.0.2 (64 bit)
  • Sonarr Version: 2.0.0.5344
  • Sonarr Branch: master
  • Samba version: 4.9.5-Debian
/etc/fstab permissions are set to uid=dietpi,gid=dietpi but I do not have any "file_mode=" or "dir_mode=" entries.

ls -la readout from mount point:

Code: Select all

dietpi@DietPi:/mnt/12TbBackup$ ls -la
total 4
drwxrwxrwx+ 1 dietpi dietpi    0 Feb 22 21:42  .
drwxr-xr-x  8 root   root   4096 Feb 20 17:23  ..
drwxrwxrwx+ 1 dietpi dietpi    0 Jan 11 17:26 '$RECYCLE.BIN'
drwxrwxrwx+ 1 dietpi dietpi    0 Jan 14 21:00  3D_Printer_Files
drwxrwxrwx+ 1 dietpi dietpi    0 Feb 14 17:56  Code
drwxrwxrwx+ 1 dietpi dietpi    0 Feb  1 20:33  Documents
drwxrwxrwx+ 1 dietpi dietpi    0 Feb 14 17:05  Games
drwxrwxrwx+ 1 dietpi dietpi    0 Feb 21 11:53  Music
drwxrwxrwx+ 1 dietpi dietpi    0 Feb  7 17:54  Pictures
drwxrwxrwx+ 1 dietpi dietpi    0 Jan 11 20:13 'Raspberry Pi Files'
-rw-r--r--+ 1 dietpi dietpi    0 Feb 22 21:42  sonarr_write_test.txt
drwx------+ 1 dietpi dietpi    0 Jan 12 07:56 'System Volume Information'
drwxrwxrwx+ 1 dietpi dietpi    0 Feb 22 21:22  Video
Any and all help is greatly appreciated
Paeore

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Tue Feb 23, 2021 11:26 pm
by Joulinar
Hi,

best to my knowledge this is a known issue of Sonarr v2 using Mono v6 not being able to write to CIFS mounts https://github.com/MichaIng/DietPi/issues/3179

As well a point on the known issue section of the release notes viewtopic.php?f=10&t=8412

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Fri Feb 26, 2021 6:21 pm
by paeore
Many thanks @Joulinar for the information.

After reinstalling Sonarr to V3 I can now add a network drive as root folders. :D

Why did I need to do updgrade to V3 manually instead of being included in apt upgrade as it had done with updgrading to the latest version of radarr?

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Fri Feb 26, 2021 9:54 pm
by Joulinar
Well Sonarr V3 is still in beta phase. That's the reason why your need to update manually.

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Mon Mar 08, 2021 5:41 pm
by Blaiz0r
How do you upgrade it manually?

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Mon Mar 08, 2021 5:47 pm
by Joulinar
Simply follow sonarr instructions https://sonarr.tv/#downloads-v3-linux-debian

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Mon Mar 08, 2021 5:51 pm
by Blaiz0r
ah nice, thanks.

If I uninstall sonarr from the dietpi software centre afterwards is there a chance it will delete some data that V3 will use?

Re: Sonarr Issue "Folder is not writable by user Sonarr"

Posted: Mon Mar 08, 2021 5:53 pm
by Joulinar
Simply do a dietpi-backup before. If things are missing afterwards, you are able to restore quickly