SOLVED - 500 Internal Server Error - Please help.

Get help with all aspects of SABnzbd
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
Pooka
Newbie
Newbie
Posts: 2
Joined: May 10th, 2016, 12:04 am

SOLVED - 500 Internal Server Error - Please help.

Post by Pooka »

Hi All,

I am running sabnzbd as a service on Ubuntu 15.10, it has been running flawlessly for months.

Two nights ago I did a quick

Code: Select all

apt-get update
and

Code: Select all

apt-get upgrade
and now I am receiving a 500 Internal Server Error when I connect to sabnzbd.

It is running and downloading fine, but when I bring up sabnzbd in any browser, I get prompted for the login creds, and then once I pass the login, I get this:

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 349, in index
    return template.respond()
  File "_usr_share_sabnzbdplus_interfaces_Glitter_templates_main_tmpl.py", line 453, in respond
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1610, in _handleCheetahInclude
    self._CHEETAH__cheetahIncludes[_includeID] = self.getFileContents(path)
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1426, in getFileContents
    fp = open(path, 'r')
IOError: [Errno 2] No such file or directory: '/usr/share/sabnzbdplus/interfaces/Glitter/templates/static/bootstrap/js/bootstrap.min.js'
Any suggestions on how to repair, or a guide on how to reinstall without losing all my settings?

Thanks in advance for your reply.
Last edited by Pooka on May 10th, 2016, 9:33 am, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8886
Joined: January 22nd, 2008, 2:22 pm

Re: 500 Internal Server Error - Please help.

Post by sander »

User avatar
jcfp
Release Testers
Release Testers
Posts: 995
Joined: February 7th, 2008, 12:45 pm

Re: 500 Internal Server Error - Please help.

Post by jcfp »

Yup, the fix described in this post should work:

Code: Select all

sudo apt-get install --reinstall libjs-bootstrap
Pooka
Newbie
Newbie
Posts: 2
Joined: May 10th, 2016, 12:04 am

Re: 500 Internal Server Error - Please help.

Post by Pooka »

Thanks jcfp, that solved the issue ;)
Post Reply