Libki / libki-server

Libki Server
Other
55 stars 28 forks source link

Login after Install on Debian 11 not possible #335

Closed PhoenixIra closed 10 months ago

PhoenixIra commented 10 months ago

Describe the bug After installing libki-server on a Debian 11 VirtualBox, I try to log in via the web interface. However, the web interface complains about wrong username or password.

The log has the following error messages, which lets me suspect, that it has problems accessing the database:

Use of uninitialized value $dsn in substitution (s///) at /home/libki/libki-server/lib/Libki.pm line 155.
Use of uninitialized value $user in substitution (s///) at /home/libki/libki-server/lib/Libki.pm line 156.
Use of uninitialized value $password in substitution (s///) at /home/libki/libki-server/lib/Libki.pm line 157.

To Reproduce Steps to reproduce the behavior:

  1. Install libki using as root using wget -O- install.libki.org | bash
  2. Now the error message from above appears
  3. enter credentials for a new super admin account
  4. let ReverseProxy install
  5. Open http://localhost or http://localhost/administration in browser
  6. try logging in using the credentials from 3
  7. Error Message pops up

Expected behavior Successful login

Deployment architecture:

Additional Information: The user account created in the installation script during step 3 appears to be inserted correctly in the database after checking via a database administration tool.