Page 1 of 1

sabnzbd is not saving settings

Posted: May 7th, 2014, 10:46 am
by Larske
Yesterday i did a fresh install of Ubuntu and installed sabnzbd. I have installed sabnzbd through the terminal. After setting it up i have walked through the wizard and ended in the normal sabnzbd download overview.

I wanted to make some personal settings like a customer folder for scripts but i noticed that none of the settings i make in the GUI are saved.

To solve the problem i have tried to remove sabnzbd trough the terminal (purge) and reinstall it through the Ubuntu Software center. After the reinstallation the problem remains.

I have tried to stop sabnzbd and make the settings mannualy in the home/user/.sabnzbd/sabnzbd.ini file using sudo, i am able to edit the file and save it without errors. But when i reopen the file none of my changes have been saved.

My knowlegde of Ubuntu and sabnzbd is not that large, so i don't know what i can do to solve this problem. Does anyone here can help me?

Re: sabnzbd is not saving settings

Posted: May 7th, 2014, 11:39 am
by sander
What is the output of:

Code: Select all

ls -al ~/.sabnzbd/sabnzbd.ini
or

Code: Select all

cd
ls -al .sabnzbd/sabnzbd.ini

Re: sabnzbd is not saving settings

Posted: May 7th, 2014, 3:08 pm
by Larske
-rw------- 1 lars lars 3579 mei 7 22:04 /home/lars/.sabnzbd/sabnzbd.ini

I have read in another topic that it could work with chmod 664 but that gives the same problem, it's now back with the rights as above described. In the meantime i have tried to first remove sabnzbd and then removed the completed .sabnzbd folder. After that i did a reinstall so the complete .sabnzbd is recreated, but it does not help.

Re: sabnzbd is not saving settings

Posted: May 7th, 2014, 3:30 pm
by Larske
Don't know how, but after lot of different tests sabnzbd is now saving my settings....

Thank you for your reply.

Re: sabnzbd is not saving settings

Posted: July 7th, 2014, 8:36 am
by timofcourse
Im having a similar issue as the OP. Settings were stored from the initial wizard setup, but Im unable to make changes via the web interface.

I have updated /etc/default/sabnzbdplus to use an alternate config location and Ive chmod'ed the folder the config file is stored in and the config file itself to 777.

Any thoughts as to why Im not able to save settings?

Thanks!

Re: sabnzbd is not saving settings

Posted: July 8th, 2014, 4:26 am
by shypike
timofcourse wrote: Any thoughts as to why Im not able to save settings?
Not without more information about your OS, package source, etc.

Re: sabnzbd is not saving settings

Posted: July 8th, 2014, 12:45 pm
by timofcourse
Lubuntu 14.04
Installed via:

Code: Select all

sudo apt-get install sabnzbdplus
And as stated previously, I updated /etc/default/sabnzbdplus to point to an alternative config location (/etc/sabnzbdplus/sabnzbd.ini). Here's the directory listing of that location:

Code: Select all

tim@vpnserv:~$ ls -l /etc/sabnzbdplus/
total 24
drwxr-xr-x 2 tim domain^users 4096 Jul  7 16:08 admin
drwxr-xr-x 2 tim domain^users 4096 Jul  7 08:58 logs
-rwxrwxrwx 1 tim domain^users 4329 Jul  7 16:08 sabnzbd.ini
-rw-rw-rw- 1 tim domain^users 4329 Jul  7 16:08 sabnzbd.ini.bak
Let me know if there's any other info I can provide.
Thanks!

Re: sabnzbd is not saving settings

Posted: July 8th, 2014, 2:59 pm
by shypike
Does SABnzbd run under the account that owns the folders (like admin)?

Re: sabnzbd is not saving settings

Posted: July 8th, 2014, 6:03 pm
by timofcourse
I managed to get this working by just chmod'ing the sab folders to 777.

Re: sabnzbd is not saving settings

Posted: September 30th, 2016, 2:43 pm
by dkerlee
I'm on ubuntu 16.04, sabnzbd 0.7.20. I keep changing the Settings > General > Host SABnzbd should listen on, to 0.0.0.0. But the setting keeps disappearing. For some odd reason, it's the only way I can get Sonarr to connect to sab, if it's set to 0.0.0.0
weird. But then it defaults back to the actual ip of the machine (both are) it's running on, 192.168.11.52

From sab General > Parameters

Code: Select all

/usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --config-file /home/drew/.sabnzbd --server 192.168.11.52:8080

Code: Select all

drew@mimi:~/.sabnzbd$ ll
total 36
drwxrwxr-x  5 drew drew 4096 Jul  7 23:43 ./
drwxr-xr-x 33 drew drew 4096 Sep 26 08:59 ../
drwxrwxr-x  3 drew drew 4096 Sep 30 12:34 admin/
drwxrwxr-x  3 drew drew 4096 Jul 20 18:08 Downloads/
drwxrwxr-x  2 drew drew 4096 Sep  1 14:30 logs/
-rw-------  1 drew drew 7684 Sep 30 12:34 sabnzbd.ini
-rw-------  1 drew drew 7684 Sep 30 12:34 sabnzbd.ini.bak

Code: Select all

drew@mimi:~/.sabnzbd$ ps -ef | grep sab
drew      1606     1  0 12:34 ?        00:00:02 /usr/bin/python -OO /usr/bin/sa nzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --config-file /home/drew/.sabnzbd --server 192.168.11.52:8080

Re: sabnzbd is not saving settings

Posted: September 30th, 2016, 4:01 pm
by shypike
If you use the package for Ubuntu, the server is set in the startup script.
I'm not sure where that file is located.

Re: sabnzbd is not saving settings

Posted: October 15th, 2016, 8:22 pm
by dkerlee
/etc/init/sabnzbdplus
says to edit
/etc/default/sabnzbdplus

In that file, I had both:

CONFIG=/home/<username>/.sabnzbd

-=and=-

HOST=192.168.11.52
PORT=8080

So the HOST and PORT specified in /etc/default/sabnzbdplus overrode the ones in /home/<user>/.sabnzbd/sabnzbd.ini

I commented out the HOST and PORT line in /etc/default/sabnzbdplus file, and the changes now stick.