Updated SABnzbd to 0.7.18 - lost configuration

Status
Not open for further replies.

Guy Lian

Dabbler
Joined
Nov 23, 2012
Messages
14
Today I used the FreeNAS GUI to update the SABnzbd plugin from 0.7.16 to 0.7.18. The upgrade appears to have been successful, but my configuration seems to have vanished.

When I bring up the SABnzbd web page I'm prompted to go through the initial configuration wizard. This is the contents of /usr/pbi/sabnzbd-amd64/etc in the SABnzbd jail:
Code:
root@sabnzbd_1:/usr/pbi/sabnzbd-amd64/etc # ls -al
total 65
drwxr-xr-x  7 root  wheel  9 Aug  2 13:28 .
drwxrwxrwx  17 root  wheel  27 Aug  2 13:11 ..
drwxr-xr-x  2 root  wheel  2 Nov 12  2013 devd
lrwxr-xr-x  1 root  wheel  20 Aug  2 13:11 fonts -> /usr/local/etc/fonts
drwxr-xr-x  2 root  wheel  2 Nov 12  2013 man.d
drwxr-xr-x  2 root  wheel  2 Jul  8 04:13 newsyslog.conf.d
drwxr-xr-x  2 root  wheel  2 Nov 12  2013 pam.d
-rw-rw-rw-  1 root  wheel  21 Aug  2 13:29 rc.conf
drwxr-xr-x  2 root  wheel  3 Aug  2 13:11 rc.d
root@sabnzbd_1:/usr/pbi/sabnzbd-amd64/etc #

Have I completely lost my configuration? Is there a way it can be recovered?

I've got all the server details in a file on my laptop, so I can recreate the server accounts with not much effort. However, I also had some incomplete downloads in the queue. The files, folders and the "__ADMIN__" subfolders are still there in the "incomplete" directory (mounted externally to the jail, which is probably why they survived); is there a way to add them back to the queue once the configuration is recovered/recreated?
 

Guy Lian

Dabbler
Joined
Nov 23, 2012
Messages
14
Answered my own question.

Turns out that SABnzbd spots the incomplete downloads and shows them as orphaned, on the Status/Warning page. It's just a simple matter of clicking "Add" next to each incomplete download to restore it to the active queue.
 

Guy Lian

Dabbler
Joined
Nov 23, 2012
Messages
14
And, while I remember and in case it might help someone else, it turns out I was also looking in the wrong place for the sabnzbd.ini configuration file. The config file now resides in /var/db/sabnzbd inside the jail:
Code:
root@sabnzbd_1:/var/db/sabnzbd # ls -al
total 56
drwxr-xr-x  5 media  media  8 Aug  3 23:28 .
drwxr-xr-x  10 root  wheel  11 Aug  2 13:11 ..
drwxrwxrwx  3 media  media  3 Aug  2 13:28 Downloads
drwxrwxrwx  3 media  media  10 Aug  4 16:29 admin
drwxrwxrwx  2 media  media  9 Aug  4 06:54 logs
-rw-------  1 media  media  5905 Aug  4 16:29 sabnzbd.ini
-rw-rw-rw-  1 media  media  5905 Aug  4 16:29 sabnzbd.ini.bak
-rw-rw-rw-  1 media  media  4 Aug  4 16:29 sabnzbd.pid
root@sabnzbd_1:/var/db/sabnzbd #
 
Status
Not open for further replies.
Top