Cannot login to a new eve-ng community installation

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
bunega
Posts: 3
Joined: Wed Mar 20, 2024 5:59 pm

Cannot login to a new eve-ng community installation

Post by bunega » Thu Mar 21, 2024 7:28 am

Hello,

Yesterday i installed eve-ng with live iso installer version: 5.0.1-22, 05 MAR, 2024
After the installed when i go to the gui and try to login nothing seems to happen.

If i open my browser inspector i see the login page try's to do a post to: POST http://ip/api/auth/login
But it get a 500 error.

Error from the logs:
ErrorException: Undefined index: rows in /opt/unetlab/html/includes/api_authentication.php:193
Stack trace:
#0 /opt/unetlab/html/includes/api_authentication.php(193): Slim\Slim::handleErrors()
#1 /opt/unetlab/html/api.php(129): apiLogin()
#2 [internal function]: {closure}()
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array()
#4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /opt/unetlab/html/api.php(1368): Slim\Slim->run()
#10 {main}


Am i doing something wrong or is this a bug?

I have looked at other people having the same issue and normally its seems to be the disk space. I still have 90GB of free space so that can't be it.
After that i did the premission fix script and i did a recreate of the database but nothing worked sofar.

Uldis (UD)
Posts: 5086
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot login to a new eve-ng community installation

Post by Uldis (UD) » Thu Mar 21, 2024 2:16 pm

Check your CLI as root, maybe you even not installed EVE software

Code: Select all

dpkg -l eve-ng*

bunega
Posts: 3
Joined: Wed Mar 20, 2024 5:59 pm

Re: Cannot login to a new eve-ng community installation

Post by bunega » Fri Mar 22, 2024 9:01 am

It is installed:
root@eve-ng:~# dpkg -l eve-ng*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-============-============-==============================================
ii eve-ng 5.0.1-22 amd64 A new generation software for networking labs.
ii eve-ng-dynamips 5.0.1-1 amd64 Dynamips files for Eve-NG.
un eve-ng-guacamole <none> <none> (no description available)
un eve-ng-pro <none> <none> (no description available)
ii eve-ng-pro-guacamole 5.0.1-1 amd64 Guacamole for UNetLab/EVE-NG
ii eve-ng-qemu 5.0.1-1 amd64 QEMU files for Eve-NG.
ii eve-ng-schema 5.0.1-1 amd64 Database schema for UNetLab/EVE-NG
ii eve-ng-vpcs 5.1-eve-ng amd64 vpcs Eve-NG compatible

Uldis (UD)
Posts: 5086
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot login to a new eve-ng community installation

Post by Uldis (UD) » Fri Mar 22, 2024 8:54 pm

Code: Select all

apt install --reinstall eve-ng
reboot

bunega
Posts: 3
Joined: Wed Mar 20, 2024 5:59 pm

Re: Cannot login to a new eve-ng community installation

Post by bunega » Sat Mar 23, 2024 7:52 am

I tried it but nothing changes.

Uldis (UD)
Posts: 5086
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot login to a new eve-ng community installation

Post by Uldis (UD) » Sat Mar 23, 2024 7:54 am

:)
For the best and fastest support or any other questions please join in the EVE-NG live support:
https://webchat.eve-ng.net/login/
Use your Gmail account to login, or create new chat account with own email.

Post Reply