Sonarr Issue "Folder is not writable by user Sonarr" Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
paeore
Posts: 2
Joined: Tue Feb 23, 2021 6:55 pm

Sonarr Issue "Folder is not writable by user Sonarr"

Post 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
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

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

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
paeore
Posts: 2
Joined: Tue Feb 23, 2021 6:55 pm

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

Post 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?
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

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

Post by Joulinar »

Well Sonarr V3 is still in beta phase. That's the reason why your need to update manually.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

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

Post by Blaiz0r »

How do you upgrade it manually?
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

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

Post by Joulinar »

Simply follow sonarr instructions https://sonarr.tv/#downloads-v3-linux-debian
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

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

Post 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?
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

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

Post by Joulinar »

Simply do a dietpi-backup before. If things are missing afterwards, you are able to restore quickly
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply