OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: clanto on November 26, 2023, 12:12:14 PM

Title: No access to web gui after 23.7.9 update and manual reboot
Post by: clanto on November 26, 2023, 12:12:14 PM
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.
Title: Re: No access to web gui after 23.7.9 update and manual reboot
Post by: franco on November 27, 2023, 12:36:50 PM
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
Title: Re: No access to web gui after 23.7.9 update and manual reboot
Post by: Maurice on November 27, 2023, 08:35:05 PM
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
Title: Re: No access to web gui after 23.7.9 update and manual reboot
Post by: franco on November 28, 2023, 08:15:36 AM
Nice catch.. that makes it much more weird than expected. Is this a Hyper-V by any chance?


Cheers,
Franco
Title: Re: No access to web gui after 23.7.9 update and manual reboot
Post by: clanto on November 28, 2023, 05:30:26 PM
They are mini computers with I5 8th CPU, 8gb RAM, 64gb SSD MSATA and intel 6x i225 for network.
Title: Re: No access to web gui after 23.7.9 update and manual reboot
Post by: clanto on January 10, 2024, 03:37:43 PM
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.