plugin permission issue

mortis2600

Dabbler
Joined
Jan 4, 2019
Messages
12
I know this has been covered ad nauseum, and I'm sorry. I've searched every thread followed every guide.

I deployed fresh Sonarr and Radarr.

I did the following:

iocage exec sonarr service sonarr onestop
iocage exec sonarr "pw user add media -c media -u 8675309 -d /nonexistent -s /usr/bin/nologin"
iocage exec sonarr "pw groupadd -n media -g 8675309"
iocage exec sonarr "pw groupmod media -m sonarr"
iocage exec sonarr chown -R media:media /usr/local/share/sonarr
iocage exec sonarr sysrc 'sonarr_user=media'


Then I made sure that my dataset was owned by media and verified the UID to match.

Sonarr does not start under this config. When I change the sonarr_user to root, it starts, but can't write to the share, giving errors like:

Import failed, path does not exist or is not accessible by Sonarr: /nas/sabnzbd/Breeders.S01E09.MULTi.720p.WEB.H264-CiELOS/. Ensure the path exists and the user running Sonarr has the correct permissions to access this file/folder

I've been fighting this for 2 days and I'm on my third reinstall after borking things a few different ways (learned to snapshot along the way)
 

mortis2600

Dabbler
Joined
Jan 4, 2019
Messages
12
Turns out it was a history issue with sabnzbd. Purged the history and issue was resolved.
 
Top