Closed svennieslony closed 9 years ago
Hi @svennieslony I use this project on some ubuntu servers but I don't see any problem to run in on debian or centos distro, so also if I suggest to use ubuntu I pretty happy to fix stuff to be more distro independent as possible.
On your error now, during the installatio progess the debian hook will call this script https://github.com/claudyus/LXC-Web-Panel/blob/master/debian/lwp.postinst to generate the secret session token if it doesn't exists.
Can you try to directly run /usr/bin/lwp --generate-session-secret
as root to see if the same error is reported?
It should not involve the config file or db during this operation. This is really strange behaviors.
Hi @claudyus,
This runs fine:
/usr/bin/lwp --generate-session-secret
* Auth type: database
I can also start lwp by running
/usr/bin/lwp
* Auth type: database
* Running on http://0.0.0.0:5000/
lwp is is accessible as expected. It seems like something in the posttest script is not working. I tested a bit further:
/usr/bin/lwp --generate-session-secret
runs finepycompile -p lwp
runs fine tooupdate-rc.d lwp defaults
fails with `update-rc.d: error: initscript does not exist: /etc/init.d/lwp. Exit code 1invoke-rc.d lwp start
gets no output but exit code is 102.Hope this helps.
I'm not certain this is meant to work under Debian, but when following the guide "Installation on deb based system" I run into an error:
Setting up lwp (0.8-25-g62597b1) ...
I manually copied the example file by "cp /etc/lwp/lwp.example.conf /etc/lwp/lwp.conf" and tried again but it still fails:
Setting up lwp (0.8-25-g62597b1) ...
Is there anything I can do?
Thanks! Sven