Can't access web interface since upgrade
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Can't access web interface since upgrade
I've been running sabnzbd from the ppa:jcfp/ppa on ubuntu desktop 12.04. Everything has been great up until i tried update & upgrade. This is the output I get
sudo apt-get install sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
sabnzbdplus-theme-classic : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but 0.7.12-0ubuntu1~jcfp1~precise is to be installed
sabnzbdplus-theme-smpl : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but 0.7.12-0ubuntu1~jcfp1~precise is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I'm unable to uninstall 0.7.12 with sudo apt-get remove sabnzbdplus, it gives me the same result as above.
Sabnzbd is running in the background, as I'm able to access it via an android app, and sickbeard still adds to it which are then downloaded and processed as normal. It just seems I'm unable to access the web interface.
It seems to be the same problem as listed here http://forums.sabnzbd.org/viewtopic.php?f=16&t=14074
this is the output from starting it as a service.
sudo service sabnzbdplus start
* Starting SABnzbd+ binary newsgrabber
** (sabnzbdplus:1139): WARNING **: Command line `dbus-launch --autolaunch=985b318ebb3d32e37b75f2310000000a --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
As per that thread I've tried adding EXTRAOPTS=-b0 & changing ntfosd_enable = 0 , neither have made a difference.
Thanks.
sudo apt-get install sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
sabnzbdplus-theme-classic : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but 0.7.12-0ubuntu1~jcfp1~precise is to be installed
sabnzbdplus-theme-smpl : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but 0.7.12-0ubuntu1~jcfp1~precise is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I'm unable to uninstall 0.7.12 with sudo apt-get remove sabnzbdplus, it gives me the same result as above.
Sabnzbd is running in the background, as I'm able to access it via an android app, and sickbeard still adds to it which are then downloaded and processed as normal. It just seems I'm unable to access the web interface.
It seems to be the same problem as listed here http://forums.sabnzbd.org/viewtopic.php?f=16&t=14074
this is the output from starting it as a service.
sudo service sabnzbdplus start
* Starting SABnzbd+ binary newsgrabber
** (sabnzbdplus:1139): WARNING **: Command line `dbus-launch --autolaunch=985b318ebb3d32e37b75f2310000000a --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
As per that thread I've tried adding EXTRAOPTS=-b0 & changing ntfosd_enable = 0 , neither have made a difference.
Thanks.
Re: Can't access web interface since upgrade
Let's first if and how SABnzbd is listening:
On your Ubuntu, type:
That should show the listening processes, including SAB (if it's running). Post the output here.
Here's mine:
... and SAB is listening on port 8080.
On your Ubuntu, type:
Code: Select all
netstat -apon | grep -i listen | grep -vi listening
Here's mine:
Code: Select all
sander@hapee:~$ netstat -apon | grep -i listen | grep -vi listening
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 21316/python off (0.00/0/0)
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp6 0 0 ::1:631 :::* LISTEN - off (0.00/0/0)
sander@hapee:~$
Re: Can't access web interface since upgrade
Sorry about the delay in replying, I thought I had set email updates on.
Here is the result
I run sab on 9095
Here is the result
Code: Select all
netstat -apon | grep -i listen | grep -vi listening
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:1518 0.0.0.0:* LISTEN 2353/xbmc.bin off (0.00/0/0)
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2353/xbmc.bin off (0.00/0/0)
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 1158/python off (0.00/0/0)
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:60055 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:5050 0.0.0.0:* LISTEN 1278/python off (0.00/0/0)
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 127.0.0.1:3551 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:9095 0.0.0.0:* LISTEN 1824/python off (0.00/0/0)
tcp 0 0 0.0.0.0:1416 0.0.0.0:* LISTEN 2353/xbmc.bin off (0.00/0/0)
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 192.168.1.180:3306 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:9005 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp6 0 0 :::22 :::* LISTEN - off (0.00/0/0)
tcp6 0 0 ::1:631 :::* LISTEN - off (0.00/0/0)
tcp6 0 0 :::445 :::* LISTEN - off (0.00/0/0)
tcp6 0 0 :::139 :::* LISTEN - off (0.00/0/0)
Re: Can't access web interface since upgrade
Hi,
I'm a bit confused:
You say SABnzbd is running, and "0 0.0.0.0:9095" seems to confirm that. Good.
You say " I'm able to access it via an android app", and that seems correct based on the "0 0.0.0.0:9095"
You say you can't access the webinterface. Correct? I don't understand. Can you explain what you do and what happens?
It might be handy to stop the sabnzbdplus service, and run sabnzbdplus from the command line, so that you can see what SAB is saying.
I'm a bit confused:
You say SABnzbd is running, and "0 0.0.0.0:9095" seems to confirm that. Good.
You say " I'm able to access it via an android app", and that seems correct based on the "0 0.0.0.0:9095"
You say you can't access the webinterface. Correct? I don't understand. Can you explain what you do and what happens?
It might be handy to stop the sabnzbdplus service, and run sabnzbdplus from the command line, so that you can see what SAB is saying.
Re: Can't access web interface since upgrade
When I try and access the web interface i get the login as usual (I use a username and password) when i login i get this in the browser
If i run sabnzbdplus from the command line I get the following. It does not open up a browser, it did yesterday, but I guess changing ntfosd_enable = 0 stopped that? When it did open the browser i got the same as above.
Code: Select all
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 299, in index
return template.respond()
File "_usr_share_sabnzbdplus_interfaces_Plush_templates_main_tmpl.py", line 189, in respond
NotFound: cannot find 'pp_pause_event'
Powered by CherryPy 3.2.0
Code: Select all
sabnzbdplus
2013-06-03 10:52:36,996::INFO::[sabnzbdplus:1244] --------------------------------
2013-06-03 10:52:36,997::INFO::[sabnzbdplus:1245] sabnzbdplus-0.7.11 (rev=a50412a32751f4d1d555020dea20a2da43d6a309)
2013-06-03 10:52:36,997::INFO::[sabnzbdplus:1257] Platform = posix
2013-06-03 10:52:36,997::INFO::[sabnzbdplus:1258] Python-version = 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3]
2013-06-03 10:52:36,997::INFO::[sabnzbdplus:1259] Arguments = /usr/bin/sabnzbdplus
2013-06-03 10:52:36,997::INFO::[sabnzbdplus:1272] Read INI file /home/simon/.sabnzbd/sabnzbd.ini
2013-06-03 10:52:36,999::INFO::[__init__:928] Loading data for bookmarks.sab from /home/simon/.sabnzbd/admin/bookmarks.sab
2013-06-03 10:52:36,999::INFO::[__init__:928] Loading data for rss_data.sab from /home/simon/.sabnzbd/admin/rss_data.sab
2013-06-03 10:52:37,000::INFO::[__init__:928] Loading data for totals9.sab from /home/simon/.sabnzbd/admin/totals9.sab
2013-06-03 10:52:37,000::INFO::[postproc:90] Loading postproc queue
2013-06-03 10:52:37,000::INFO::[__init__:928] Loading data for postproc1.sab from /home/simon/.sabnzbd/admin/postproc1.sab
2013-06-03 10:52:37,001::INFO::[__init__:928] Loading data for queue9.sab from /home/simon/.sabnzbd/admin/queue9.sab
2013-06-03 10:52:38,559::INFO::[__init__:928] Loading data for watched_data.sab from /home/simon/.sabnzbd/admin/watched_data.sab
2013-06-03 10:52:38,560::INFO::[scheduler:170] Setting schedule for midnight BPS reset
2013-06-03 10:52:38,570::INFO::[__init__:330] All processes started
2013-06-03 10:52:38,571::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2013-06-03 10:52:38,571::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Classic
2013-06-03 10:52:38,571::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2013-06-03 10:52:38,587::INFO::[sabnzbdplus:451] _yenc module... found!
2013-06-03 10:52:38,587::INFO::[sabnzbdplus:459] par2 binary... found (/usr/bin/par2)
2013-06-03 10:52:38,587::INFO::[sabnzbdplus:467] unrar binary... found (/usr/bin/unrar)
2013-06-03 10:52:38,587::INFO::[sabnzbdplus:472] unzip binary... found (/usr/bin/unzip)
2013-06-03 10:52:38,587::INFO::[sabnzbdplus:478] nice binary... found (/usr/bin/nice)
2013-06-03 10:52:38,588::INFO::[sabnzbdplus:482] ionice binary... found (/usr/bin/ionice)
2013-06-03 10:52:38,588::INFO::[sabnzbdplus:487] pyOpenSSL... found (True)
2013-06-03 10:52:38,590::INFO::[sabnzbdplus:1471] Starting web-interface on 0.0.0.0:9095
2013-06-03 10:52:38,591::INFO::[_cplogging:55] [03/Jun/2013:10:52:38] ENGINE Bus STARTING
2013-06-03 10:52:38,596::INFO::[_cplogging:55] [03/Jun/2013:10:52:38] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-06-03 10:52:38,798::INFO::[_cplogging:55] [03/Jun/2013:10:52:38] ENGINE Serving on 0.0.0.0:9095
2013-06-03 10:52:38,800::INFO::[_cplogging:55] [03/Jun/2013:10:52:38] ENGINE Bus STARTED
2013-06-03 10:52:39,302::INFO::[sabnzbdplus:1540] Starting sabnzbdplus-0.7.11
2013-06-03 10:52:39,314::INFO::[dirscanner:274] Dirscanner starting up
2013-06-03 10:52:39,315::INFO::[urlgrabber:77] URLGrabber starting up
Re: Can't access web interface since upgrade
Looks like a garbled installation.
Easy way to check:
Stop sabnzbd, download the "python source" version from http://sabnzbd.org/download/, unpack it in your home directory, go into that directory, and run "python SABnzbd.py". Does that work?
Easy way to check:
Stop sabnzbd, download the "python source" version from http://sabnzbd.org/download/, unpack it in your home directory, go into that directory, and run "python SABnzbd.py". Does that work?
Re: Can't access web interface since upgrade
That worked !! Thanks.
Now is there anyway to sort out the installation so I can have sab run as a service at boot as normal?
Now is there anyway to sort out the installation so I can have sab run as a service at boot as normal?
Re: Can't access web interface since upgrade
I would do a clean install:
make a backup copy of sabnzbd.ini
sudo apt-get remove sabnzbdplus
sudo apt-get purge sabnzbdplus
make sure nothing is left of sabnzbd (except the sabnzbd.ini)
then reinstall
sudo apt-get install sabnzbdplus
... and check if it works OK
make a backup copy of sabnzbd.ini
sudo apt-get remove sabnzbdplus
sudo apt-get purge sabnzbdplus
make sure nothing is left of sabnzbd (except the sabnzbd.ini)
then reinstall
sudo apt-get install sabnzbdplus
... and check if it works OK
Re: Can't access web interface since upgrade
Code: Select all
sudo apt-get remove sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
sabnzbdplus-theme-classic : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but it is not going to be installed
sabnzbdplus-theme-smpl : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Code: Select all
sudo apt-get purge sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
sabnzbdplus-theme-classic : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but it is not going to be installed
sabnzbdplus-theme-smpl : Depends: sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Re: Can't access web interface since upgrade
Did you run 'sudo apt-get -f install' ?
Re: Can't access web interface since upgrade
Code: Select all
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
sabnzbdplus sabnzbdplus-theme-classic sabnzbdplus-theme-smpl
Suggested packages:
sabnzbdplus-theme-mobile
The following packages will be upgraded:
sabnzbdplus sabnzbdplus-theme-classic sabnzbdplus-theme-smpl
3 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,248 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of sabnzbdplus:
sabnzbdplus depends on sabnzbdplus-theme-plush (= 0.7.11-0ubuntu1~jcfp1~precise); however:
Version of sabnzbdplus-theme-plush on system is 0.7.12-0ubuntu1~jcfp1~precise.
dpkg: error processing sabnzbdplus (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-smpl:
sabnzbdplus-theme-smpl depends on sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise); however:
Package sabnzbdplus is not configured yet.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: error processing sabnzbdplus-theme-smpl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-classic:
sabnzbdplus-theme-classic depends on sabnzbdplus (= 0.7.11-0ubuntu1~jcfp1~precise); however:
Package sabnzbdplus is not configured yet.
dpkg: error processing sabnzbdplus-theme-classic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
sabnzbdplus
sabnzbdplus-theme-smpl
sabnzbdplus-theme-classic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Re: Can't access web interface since upgrade
It certainly did. I edited the /var/lib/dpkg/status file and deleted all sections relating to sabnzb, reinstalled and everything is working as it used to.sander wrote:Possibly this helps: http://askubuntu.com/questions/30993/fi ... 625#183625
Thanks very much for all your help, you've been a star.
Cheers,
Bogg