22.1.10 broke Sensei completely

Started by Archanfel80, July 07, 2022, 01:07:45 PM

Previous topic - Next topic
Hi!

After upgraded to 22.1.10 none of the Zenarmor (ex Sensei) menu works.
Got this error:
Fatal error: Uncaught Error: Class 'Phalcon\Config' not found in /usr/local/opnsense/mvc/app/models/OPNsense/Sensei/Sensei.php:113 Stack trace: #0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(364): OPNsense\Sensei\Sensei->init() #1 /usr/local/opnsense/mvc/app/controllers/OPNsense/Sensei/IndexController.php(21): OPNsense\Base\BaseModel->__construct() #2 [internal function]: OPNsense\Sensei\IndexController->indexAction() #3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(OPNsense\Sensei\IndexController), 'indexAction', Array) #4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #5 /usr/local/opnsense/www/index.php(72): Phalcon\Mvc\Application->handle('/ui/sensei/inde...') #6 {main} thrown in /usr/local/opnsense/mvc/app/models/OPNsense/Sensei/Sensei.php on line 113

I

Same problem after the 22.1.10 for me.


same for me.

P.S Usually I dont rant about free SW, but this is almost core functionality and gets no testing love prior release.

Quote from: Dimi3 on July 07, 2022, 01:41:07 PM
same for me.

P.S Usually I dont rant about free SW, but this is almost core functionality and gets no testing love prior release.

Zenarmor is a 3rd party plugin, tbh its anything else than core

Quote from: mimugmail on July 07, 2022, 01:44:35 PM
Quote from: Dimi3 on July 07, 2022, 01:41:07 PM
same for me.

P.S Usually I dont rant about free SW, but this is almost core functionality and gets no testing love prior release.

Zenarmor is a 3rd party plugin, tbh its anything else than core

This is why I dont rant :), my definition of core was wrong sorry.

The issue was reported here on May 27: https://forum.opnsense.org/index.php?topic=28536.0

It's part of the Phalcon update from version 4 to 5. Something we desperately need to move to PHP 8. :)

22.1.7 added the Phalcon 5 compatibility layer on May 10. 22.1.9 teased Phalcon 5 approach into a release in the changelog, too. The development version was there to raise issues (check) and for fixing (not so far).


Cheers,
Franco

Hi all,

Zenarmor 1.11.3 is shipped. Please run the update (System - Firmware - Updates) then it will appear 1.11.3. After the update, the issue should be fixed.



Kind regards,


Thnx Sy, Zenarmor is running again.
Deciso DEC850v2