Page 1 of 1

500 Internal Server Error on startup with Ubuntu package

Posted: January 22nd, 2016, 10:36 am
by inversebit
I just installed sabnzbd on Ubuntu with "sudo apt-get install sabnzbdplus" and when I run it for the first time I get the error below. Any ideas what the problem could be?

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 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 322, in index
    # For Glitter we pre-load the JSON output
  File "cheetah__usr_share_sabnzbdplus_interfaces_Glitter_templates_main_tmpl_1453460008_66_36891.py", line 173, in
 respond
NotFound: cannot find 'preload_queue'

   Powered by CherryPy 3.8.0

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: January 22nd, 2016, 11:01 am
by safihre
Could you uninstall and try to install it again? There seems to be some file missing or wrongly upgraded.

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: January 22nd, 2016, 11:17 am
by inversebit
Thanks but I'd already tried that and it made no difference.

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: January 23rd, 2016, 3:48 am
by safihre
This is after the setup-wizard?
Can you try to go to:
http://**WhateverYourSABUrlIs**:8080/config
Then set the skin to Plush and see if it loads normally then?

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: January 23rd, 2016, 10:25 am
by inversebit
I wasn't getting as far as the setup-wizard but after doing as you suggested and setting the skin to Plush it's now working.
Many thanks!

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: May 17th, 2016, 5:17 pm
by khuffmanjr
I'm getting a very similar behavior with or without sabnzbdplus installed.

Background: I installed from default repos in UbuntuMATE 16.04. Having gotten a 0.7.x version, I wanted to upgrade. I added the ppa and tried installing 1.0.2 from there. Web interface blew up. Whether I install new or old, nothing but the main screen loads; everything else shows the above error (or close to it). If I uninstall altogether, I get the above error(or close to it).

How do I completely get rid of sab to start over? It is leaving behind some elements of the web, obviously. Maybe getting rid of that will do the trick?

Thanks!

Re: 500 Internal Server Error on startup with Ubuntu package

Posted: May 17th, 2016, 5:31 pm
by khuffmanjr
Reboot seems to have helped. installed after reboot and can now go through setup again.

Thanks!