Scharbag
Guru
- Joined
- Feb 1, 2012
- Messages
- 620
i gotta update the PBI.
I installed the upgrade but SABnzbd would not launch as it complained about access to /va/db/sabnzbd/sabnzbd.ini file. I have used the option of revising the user that launches the plugin to ensure my file permissions are happy.
I then installed a new instance of SAB and it would launch using the default user setup. I then changed the plugin user on this new instance and arrived at the same permission issue with the ini file.
This is what I am doing to change the plugin user:
Code:
service sabnzbd onestop chown -R Spark:staff /var/db/PLUGIN sysrc 'PLUGIN_user=Spark’ service sabnzbd start
The file permissions are (this is of my old plugin that works, new plugin jail was the same):
Code:
total 35 drwxr-xr-x 4 Spark staff 4 Aug 11 17:14 Downloads drwxr-xr-x 3 Spark staff 9 Sep 22 21:03 admin drwxr-xr-x 2 Spark staff 9 Sep 17 21:14 logs -rw------- 1 Spark staff 6660 Sep 22 19:46 sabnzbd.ini -rw------- 1 Spark staff 6660 Sep 22 19:46 sabnzbd.ini.bak drwxr-xr-x 2 Spark staff 8 Aug 13 12:28 scripts
I did not capture the error (sorry) and I deleted the jail. The error did centre around /var/db/sabnzbd/sabnzbd.ini. I even deleted the .ini file and the error became "unable to create .ini file."
I rolled back to a 1.0.3 snapshot of the jail (ZFS is just too pimp) and everything is still working well (although the GUI now thinks I am on 1.1.0, details...). No pressing need to update but I do like being current. Any help or suggestions would be great. If you need me to re-create the issue, that I can do.
Thank you for providing all these great plugins!!!
Cheers,
Last edited: