Page 1 of 1

Slim Application Error / GUI stuck

Posted: Tue Jan 07, 2020 10:21 pm
by Richard70
Hi,
got suddenly this message in GUI (was editing a node): Slim Application Error
Eve version: 2.0.3-101

Type: ErrorException
Code: 8
Message: Undefined offset: 32
File: /opt/unetlab/html/includes/api_topology.php
Line: 108


ErrorException: Undefined offset: 32 in /opt/unetlab/html/includes/api_topology.php:108
Stack trace:
#0 /opt/unetlab/html/includes/api_topology.php(108): Slim\Slim::handleErrors(8, 'Undefined offse...', '/opt/unetlab/ht...', 108, Array)
#1 /opt/unetlab/html/api.php(616): apiGetLabTopology(Object(Lab))
#2 [internal function]: {closure}(Array)
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), 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(1339): Slim\Slim->run()
#10 {main}
ErrorException: Undefined offset: 32 in /opt/unetlab/html/includes/api_topology.php:108
Stack trace:
#0 /opt/unetlab/html/includes/api_topology.php(108): Slim\Slim::handleErrors(8, 'Undefined offse...', '/opt/unetlab/ht...', 108, Array)
#1 /opt/unetlab/html/api.php(616): apiGetLabTopology(Object(Lab))
#2 [internal function]: {closure}(Array)
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), 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(1339): Slim\Slim->run()

The left menu in gui disapeared, and I can't stop the nodes properly - I would like to avoid hard shutdown of the (baremetal) server
Is there a way to recover in a clean way the GUI?

Thanks

Re: Slim Application Error / GUI stuck

Posted: Tue Jan 07, 2020 11:34 pm
by Richard70
Actually I couldn't wait and reloaded the server.
Now I can acces to the "File tree" page, but I cannot start the lab I was working on when I got the error message (I get briefly the same SLIM error mesage, then the "file tree" page show up again).
The other labs can be started without any issue.

Any help would be greatly appreciated.
Thanks.

Re: Slim Application Error / GUI stuck

Posted: Wed Jan 08, 2020 9:13 am
by Uldis (UD)
That single lab is corrupted.
Btw did you use lab lock for it?
If yes, then you can export that lab and send to me, I will look if something can be done.
info@eve-ng.net

Re: Slim Application Error / GUI stuck

Posted: Wed Jan 08, 2020 10:05 am
by Richard70
Hi,
email sent.
Thanks.

Re: Slim Application Error / GUI stuck

Posted: Wed Jan 08, 2020 11:48 am
by Uldis (UD)
Lab was locked :)
Locked with no password, I sent you an email