500 Error After install

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
Guiguy
Newbie
Newbie
Posts: 6
Joined: November 11th, 2016, 9:39 pm

500 Error After install

Post by Guiguy »

Recently I "upgraded" a Ubuntu server to 16.04 LTS. The unit runs headless.

After the upgrade reboot SABNZBDSPLUS give me a 500 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 618, in respond
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 299, 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 62, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl'

Powered by CherryPy 3.2.0 


I purged and tried a re-install but get the same error. I saw this, https://forums.sabnzbd.org/viewtopic.php?f=16&t=13901

However the OPs solution makes no sense, since purging and re-installing simply re-invokes the same error.

In any case, '/usr/share/sabnzbdplus/interfaces/Plush/templates/main.tmpl' exists on the server.

Any assistance, anyone?

Thanks
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Error After install

Post by safihre »

Remove sabnzbd, make sure the /usr/share/sabnzbd directory is gone, update the PPA and install sabnzbd again. Usually helps to resolve these kind of errors.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Guiguy
Newbie
Newbie
Posts: 6
Joined: November 11th, 2016, 9:39 pm

Re: 500 Error After install

Post by Guiguy »

safihre wrote:Remove sabnzbd, make sure the /usr/share/sabnzbd directory is gone, update the PPA and install sabnzbd again. Usually helps to resolve these kind of errors.
Thanks. That got it going again, sort of.

Now it starts OK, but goes to PAUSE automatically after 2 minutes exactly. Must be a new feature?
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Error After install

Post by safihre »

No that's not a new feature. Something must be triggering that.. Maybe a error? Or scheduler?

Set logging to Debug in Status window and check the log, can always send the log to [email protected] in case can't find it :)

Also I would quest you to switch to the new Glitter skin, Plush is no longer really supported.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Guiguy
Newbie
Newbie
Posts: 6
Joined: November 11th, 2016, 9:39 pm

Re: 500 Error After install

Post by Guiguy »

Log is showing me too little disk space, which is unusual because there's are shed loads for Gigathingies available in the partion. Anyway, I suspect that problem is between the back of the chair and keyboard. Will double check stuff.

NB: The "feature" quip was tongue in cheek, yea? :P

I don't see the "Glitter" sking option so have gone "Classic"

Thanks for the help and heads up.

Cheers
Guiguy
Newbie
Newbie
Posts: 6
Joined: November 11th, 2016, 9:39 pm

Re: 500 Error After install

Post by Guiguy »

FOund the problem: Minimum Free Space for Temporary Download Folder

I had the temp folder on boot drive and specified a gazillion Gigabytes :( - Once I set it something sensible it was all good.

Thanks again...
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Error After install

Post by safihre »

Classic? You can use that skin? That's impossible.. That skin isn't working for a long time.
Glitter isn't there? Maybe reinstall sabnzbd from the PPA?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Guiguy
Newbie
Newbie
Posts: 6
Joined: November 11th, 2016, 9:39 pm

Re: 500 Error After install

Post by Guiguy »

safihre wrote:Classic? You can use that skin? That's impossible..
Curious. The config > general says
Version: 0.7.20
Uptime: 12h
Config File: /home/user/.sabnzbd/sabnzbd.ini
Used cache: Cached 0 articles (0 B)
Parameters: /usr/bin/sabnzbdplus -p
Python Version: 2.7.12 (default, Jul 1 2016, 15:12:24) [GCC 5.4.0 20160609]
Image

You may be right, however, because no matter which skin I choose the displayed one stays the same, which is plush.

I did a clean sabnzdb install from the repository on an xubuntu 16.04 desktop machine and get exactly the same thing. There is no "Glitter" skin.

Anyway, it is working for now.
User avatar
sander
Release Testers
Release Testers
Posts: 9033
Joined: January 22nd, 2008, 2:22 pm

Re: 500 Error After install

Post by sander »

*ubuntu 16.04 offers SABnzbd 0.7.20. See http://packages.ubuntu.com/xenial/sabnzbdplus

So, like Safihre said: install the PPA version. Then you always have the uptodate SABnzbd. See https://sabnzbd.org/wiki/installation/i ... buntu-repo for instructions.
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Error After install

Post by safihre »

Ohh I missed that.. You were still on the super-old SAB version :D
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply