Linux error 500 error after upgrade

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
rendez2k
Newbie
Newbie
Posts: 11
Joined: May 5th, 2013, 3:16 am

Linux error 500 error after upgrade

Post by rendez2k »

Hi all, I install sabnzbd+ yesterday on my Ubuntu x64 and it was a v0.6x version. So, I upgraded to the latest 0.7x but I'm now getting:

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 276, in index
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
    self._fileMtime = os.path.getmtime(file)
  File "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl'
I've tried apt-get purge sabnzbdplus and several reinstalls but its not clearing the error. Any ideas? Many thanks!
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Linux error 500 error after upgrade

Post by sander »

Solution is easy (probably): install the package "sabnzbdplus-theme-plush"

Code: Select all

sander@flappie:~$ dpkg -S /usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl
sabnzbdplus-theme-plush: /usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl
sander@flappie:~$
But even if so, I wonder why sabnzbdplus-theme-plush was not installed during installing sabnzbdplus ... And maybe the other needed packages aren't installed neither ...
rendez2k
Newbie
Newbie
Posts: 11
Joined: May 5th, 2013, 3:16 am

Re: Linux error 500 error after upgrade

Post by rendez2k »

Did this and got the following message (I am a fairly novice Linux user I'm afraid so I may not be doing things correctly!)

Code: Select all

prisonerz@ns344:~$ sudo apt-get install sabnzbdplus-theme-plush
Reading package lists... Done
Building dependency tree
Reading state information... Done
sabnzbdplus-theme-plush is already the newest version.
sabnzbdplus-theme-plush set to manually installed.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Linux error 500 error after upgrade

Post by sander »

Ah. And what is the output of

Code: Select all

ls -al /usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl
rendez2k
Newbie
Newbie
Posts: 11
Joined: May 5th, 2013, 3:16 am

Re: Linux error 500 error after upgrade

Post by rendez2k »

ls -al /usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl

Checked the directory and it is indeed missing! How do I force install then?
rendez2k
Newbie
Newbie
Posts: 11
Joined: May 5th, 2013, 3:16 am

Re: Linux error 500 error after upgrade

Post by rendez2k »

Its OK - fixed! Ran the install command again and it worked :-)
Post Reply