Permissions issue with Ubuntu Software version of Sonarr


Sonarr version (Unknown, but latest on the Ubuntu Software Store):
Mono version (UNKN):
Ubuntu 18.04 LTS:
Cannot startup Sonarr due to write issues in snap Sonarr directory:

[Info] Bootstrap: Starting Sonarr - /snap/sonarr/112/NzbDrone/NzbDrone.exe - Version
[Info] AppFolderInfo: Data directory is being overridden to [/var/snap/sonarr/common]
[Trace] DiskProviderBase: Directory ‘/var/snap/sonarr/common’ isn’t writable. Access to the path “/var/snap/sonarr/common/sonarr_write_test.txt” is denied.

[Fatal] ConsoleApp: EPIC FAIL!

[v2.0.0.5322] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: AppFolder /var/snap/sonarr/common is not writable
at NzbDrone.Common.EnvironmentInfo.AppFolderFactory.Register () [0x0007c] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\EnvironmentInfo\AppFolderFactory.cs:50
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00050] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:36
at NzbDrone.Console.ConsoleApp.Main (System.String[] ar


Sonarr needs to be able to write to it’s App Data directory to create/update the DB, write logs, etc, based on the logs you’re telling Sonarr to use that path, so you’ll either need to make it writable or specify a path that Sonarr can write to where it contain the DB, logs, images, etc.


How can I make it writable… I accidentally changed perms in the past and even after the reinstallation of Ubuntu I can’t change it back…


chown to change the owner and/or chmod to modify the rights for the owner/group/everyone. That isn’t anything Sonarr specific and there are countless guides in google results on how to do it. I’m not going to get into how to do that here, but if someone else wants to they’re welcome to.


Yeah but the issue is that I already did chmod 777 on that directory and it didn’t help at all… Is there anything specific I can do to fix it? Cause a simple RW change doesn’t really help it…


im also having permission problems after a while with sonarr where it stops being able to import files with permission erorrs. restarting sonarr fixes it so I dont think its a permission issue but more of a sonarr bug