Sonarr Issue "Folder is not writable by user Sonarr"

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. :thinking:

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:

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

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 https://dietpi.com/forum/t/dietpi-v6-34/4751/1

Many thanks Joulinar for the information.

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

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?

Well Sonarr V3 is still in beta phase. That’s the reason why your need to update manually.

How do you upgrade it manually?

Simply follow sonarr instructions https://sonarr.tv/#downloads-v3-linux-debian

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?

Simply do a dietpi-backup before. If things are missing afterwards, you are able to restore quickly