No access to web gui after 23.7.9 update and manual reboot

Started by clanto, November 26, 2023, 12:12:14 PM

Previous topic - Next topic
After update to 23.7.9 and manual reboot, I can't acccess to web gui, the error is:

Fatal error: Cannot redeclare auth_log() (previously declared in /usr/local/etc/inc/auth.inc:37) in /usr/local/etc/inc/authgui.inc on line 68

The only thing that I can do to restore the web gui is to revert back to 23.7.8 via SSH.
I tried with 4 different OPNSense installations, all updated from 23.7.8 they do well without reboot.
After a manual reboot, on all the 4 installations, I can't access to web GUI with the error.

Reading authgui.inc on github it's diffferent from what I have on installations.

Why does it keep one newer and one older file? Obviously it can't be declared in both when it was moved. oO


Cheers,
Franco

The last version where auth_log() was declared in authgui.inc on line 68 was 21.7.8(!). Not sure how a file from such an old version is supposed to suddenly reappear.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Nice catch.. that makes it much more weird than expected. Is this a Hyper-V by any chance?


Cheers,
Franco

They are mini computers with I5 8th CPU, 8gb RAM, 64gb SSD MSATA and intel 6x i225 for network.

When I change the file entering SSH downloading new file from github I can enter in GUI, but if I reboot the firewall usually, but not always, the file return to the old version and I have to change the file another time.
I have this problem with all firewalls that have more than 2 years.