500 Internal Server Error on startup with Ubuntu package

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
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.
Post Reply
inversebit
Newbie
Newbie
Posts: 3
Joined: January 22nd, 2016, 10:32 am

500 Internal Server Error on startup with Ubuntu package

Post 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
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Internal Server Error on startup with Ubuntu package

Post by safihre »

Could you uninstall and try to install it again? There seems to be some file missing or wrongly upgraded.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
inversebit
Newbie
Newbie
Posts: 3
Joined: January 22nd, 2016, 10:32 am

Re: 500 Internal Server Error on startup with Ubuntu package

Post by inversebit »

Thanks but I'd already tried that and it made no difference.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Internal Server Error on startup with Ubuntu package

Post 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?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
inversebit
Newbie
Newbie
Posts: 3
Joined: January 22nd, 2016, 10:32 am

Re: 500 Internal Server Error on startup with Ubuntu package

Post 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!
khuffmanjr
Newbie
Newbie
Posts: 3
Joined: August 10th, 2014, 7:09 am

Re: 500 Internal Server Error on startup with Ubuntu package

Post 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!
khuffmanjr
Newbie
Newbie
Posts: 3
Joined: August 10th, 2014, 7:09 am

Re: 500 Internal Server Error on startup with Ubuntu package

Post by khuffmanjr »

Reboot seems to have helped. installed after reboot and can now go through setup again.

Thanks!
Post Reply