Glitter: 500 Internal Server Error, bootstrap.min.js not fou
Posted: January 13th, 2016, 11:50 am
I had been running SAB on Ubuntu 14.04.2 for a while, using the Glitter theme. I recently upgraded Ubuntu (in steps) to 15.10, and now I'm dealing with all the various issues that have cropped up, mostly related to the switch to systemd. I mention all that just as background, in case it could be related in a way I don't understand.
After upgrading Ubuntu, I upgraded SABnzbd, and it seemed to work at first, but when I took its advice and added a "cache articles in memory" setting and restarted SABnzbd, I got a 500 Internal Server Error:
Manually editing ~/.sabnzbd/sabnzbd.ini and changing web_dir from "Glitter" to "Plush" (and restarting the service) got me back in. I tried switching to the "smpl" skin and that one works too. But if I switch back to Glitter, once SABnzbd is restarted, I get the 500 error again.
I checked on disk, and sure enough, there's nothing in the /usr/share/sabnzbdplus/interfaces/Glitter/templates/static/bootstrap dir:
I don't know what's supposed to be in there, so I offer all this in hopes that it helps you figure out what the issue is. In the meantime I'm just running the smpl skin, but I defintely prefer Glitter, so I hope the issue can get resolved. Thanks.
After upgrading Ubuntu, I upgraded SABnzbd, and it seemed to work at first, but when I took its advice and added a "cache articles in memory" setting and restarted SABnzbd, I got a 500 Internal Server Error:
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
return template.respond()
File "_usr_share_sabnzbdplus_interfaces_Glitter_templates_main_tmpl.py", line 1343, 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'
Powered by CherryPy 3.8.0I checked on disk, and sure enough, there's nothing in the /usr/share/sabnzbdplus/interfaces/Glitter/templates/static/bootstrap dir:
Code: Select all
$ ls -alh /usr/share/sabnzbdplus/interfaces/Glitter/templates/static/bootstrap
total 8.0K
drwxr-xr-x 2 root root 4.0K Jan 13 10:53 .
drwxr-xr-x 6 root root 4.0K Sep 29 12:43 ..