500 Server Error; 'NotFound: cannot find 'have_logout'

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
talonius
Newbie
Newbie
Posts: 3
Joined: March 5th, 2017, 4:32 pm

500 Server Error; 'NotFound: cannot find 'have_logout'

Post by talonius »

Hi all.

Ubuntu 16.10 Server; I installed the sabnzbdplus package from the official repositories (and it worked). I then noticed the second repository maintained by JCRF with newer versions, so I uninstalled the package I had installed, followed the instructions on the Wiki and am now receiving the following error when I try to execute sabnzbdplus.

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__
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 61, in __call__
    except TypeError:
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 349, in index
    logging.warning(T('Try our new skin Glitter! Fresh new design that is optimized for desktop and
mobile devices. Go to Config -> General to change your skin.'))
  File "cheetah__usr_share_sabnzbdplus_interfaces_Glitter_templates_main_tmpl_1488748512_49_29033.py
", line 477, in respond
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1615, in _handleCheetahInclude
    self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
  File "cheetah__usr_share_sabnzbdplus_interfaces_Glitter_templates_include_menu_tmpl_1488748512_59_
87573.py", line 230, in respond
NotFound: cannot find 'have_logout'

   Powered by CherryPy 3.8.0
I seem to recall a template not being fully removed from the Ubuntu version the last time I did this, but for the life of me this time around I can't find the details on what's gone wrong.

Also, without a graphical browser what's the easiest way to reset the server address from localhost to 0.0.0.0 so it can accept remote connections?

Thanks; I appreciate any advice given.
User avatar
sander
Release Testers
Release Testers
Posts: 8886
Joined: January 22nd, 2008, 2:22 pm

Re: 500 Server Error; 'NotFound: cannot find 'have_logout'

Post by sander »

Is it acceptable to start from scratch; with a clean sabnzbd.ini?

If so:
make sure sabnzbd is not running
(re)move ~/.sabnzbd/sabnzbd.ini
sabnzbdplus -s 0.0.0.0 -b0

... then connect to http://<ipadres>:8080/ and you should get into the sabnzbd wizard.
User avatar
safihre
Administrator
Administrator
Posts: 5427
Joined: April 30th, 2015, 7:35 am
Contact:

Re: 500 Server Error; 'NotFound: cannot find 'have_logout'

Post by safihre »

This is the sign of old files mixing with new ones.

Your template files are from the new version while python files are from the old.
So delete both, make sure all python files are gone from the installation folder, and then reinstall from JCFP.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
talonius
Newbie
Newbie
Posts: 3
Joined: March 5th, 2017, 4:32 pm

Re: 500 Server Error; 'NotFound: cannot find 'have_logout'

Post by talonius »

sander wrote:Is it acceptable to start from scratch; with a clean sabnzbd.ini?

If so:
make sure sabnzbd is not running
(re)move ~/.sabnzbd/sabnzbd.ini
sabnzbdplus -s 0.0.0.0 -b0

... then connect to <link removed> and you should get into the sabnzbd wizard.
Thank you very much!
talonius
Newbie
Newbie
Posts: 3
Joined: March 5th, 2017, 4:32 pm

Re: 500 Server Error; 'NotFound: cannot find 'have_logout'

Post by talonius »

safihre wrote:This is the sign of old files mixing with new ones.

Your template files are from the new version while python files are from the old.
So delete both, make sure all python files are gone from the installation folder, and then reinstall from JCFP.
Thank you. For anyone else, I installed the JCRF version, then removed it with apt-get purge sabnzbdplus, then rolled back the PPA addition, did an apt-get update & apt-get upgrade, installed the Ubuntu version, then did a purge on it, then started over from scratch on the installation for the JCRF version.

Thanks for the fast response guys, much appreciated.
Post Reply