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

Problem internal server error

Open lakstick opened this issue 7 years ago • 9 comments

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

lakstick avatar Jun 24 '17 18:06 lakstick

Need versions of :

  • lwp
  • lxc
  • os

ElieDeloumeau avatar Jun 26 '17 07:06 ElieDeloumeau

I have same issue

  • LWP version : fresh install from githab
  • lxc 2.0.9
  • Os Ubuntu 16.04

Reagards

cayetano avatar Jun 30 '17 11:06 cayetano

Same here. 500 Internal Server Error

The very first access, I arrived on actual login screen. Submitted credentials and it's been 500'ing every since, even after restarting lwp multiple times and even restarting the entire system.

lwp: 0.2 - installed today lxc: 2.0.10 os: Ubuntu 16.04 x64 minimal

ecapuano avatar Jul 17 '17 22:07 ecapuano

FWIW, I killed the service and ran lwp.py manually to see if I could get any useful output to stdout, but nothing useful except confirmation of the 500s...

root@lxd-host:/srv/lwp# python lwp.py
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
10.10.0.112 - - [17/Jul/2017 17:13:41] "GET / HTTP/1.1" 500 -
10.10.0.112 - - [17/Jul/2017 17:13:43] "GET / HTTP/1.1" 500 -

ecapuano avatar Jul 17 '17 22:07 ecapuano

Same for me: LWP fresh from github LXC 2.0.8 Ubu 16.04.2 LTS server error occurs upon Apply in a Container's settings.

ghost avatar Jul 17 '17 23:07 ghost

LWP 0.2 doesn't support LXC after 0.9 you need to wait or test for the new version (only rest for the moment https://github.com/lxc-webpanel/lxc-rest)

ElieDeloumeau avatar Jul 18 '17 08:07 ElieDeloumeau

bummer man, looks so good!

iamra avatar Sep 29 '17 23:09 iamra

Theres also a fork that puports to run on Ubuntu 14.04... but doesn't on 16.04. https://github.com/claudyus/LXC-Web-Panel ... The irony here is that docker will probably be your best bet, but if you can run docker you probably don't need lxc.

dagelf avatar Oct 03 '17 17:10 dagelf

The solution is the following : git clone --recursive https://github.com/lxc-webpanel/lxc-rest.git apt install python3-lxc cd lxc-rest pip install -r requirements.txt

helmi-selmi avatar Sep 06 '18 17:09 helmi-selmi