LXC-Web-Panel icon indicating copy to clipboard operation
LXC-Web-Panel copied to clipboard

Internal Server Error

Open vitaliy-popov opened this issue 6 years ago • 1 comments

Expected Behavior

After entering the login: the password I had to get to the main page. But i see it

Actual Behavior

/srv/lwp# python lwp.py --debug

  • Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) 192.168.20.99 - - [18/Dec/2018 16:26:25] "GET / HTTP/1.1" 200 - 192.168.20.99 - - [18/Dec/2018 16:26:32] "POST /login HTTP/1.1" 302 - [2018-12-18 16:26:32,709] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request return self.view_functionsrule.endpoint File "lwp.py", line 108, in home settings = lwp.get_container_settings(container) File "/srv/lwp/lwp/init.py", line 308, in get_container_settings config.readfp(FakeSection(open(filename))) File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 763, in readfp self.read_file(fp, source=filename) File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 718, in read_file self._read(f, source) File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 1115, in _read fpname, lineno) DuplicateOptionError: While reading from u'??>' [line 5]: option u'lxc.mount.entry' in section u'DEFAULT' already exists 192.168.20.99 - - [18/Dec/2018 16:26:32] "GET / HTTP/1.1" 500 -

Steps to Reproduce the Problem

I made the installation according to the instructions

Specifications

  • LXC Version: 2.0.9
  • LWP Version:0.2
  • OS Name:Debian
  • OS Version:sid

vitaliy-popov avatar Dec 18 '18 13:12 vitaliy-popov

Just for clarification - I get the 500 server error when i attempt to "check configuration" is that were you are getting this as well?

chancellor1101 avatar May 03 '19 02:05 chancellor1101