Hello,
During upgrade this morning, updater on web UI blocked on kernel update step for a very long time (about one hour). In can't connect through console (login failed).
Message when I try to console :
PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20210902/curl.so (Shared object "libunistring.so.5" not found, required by "libpsl.so.5"), /usr/local/lib/php/202100
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mbstring.so' in Unknown on line 0
PHP Fatal error: Uncaught Error: Class "OPNsense\Auth\AuthenticationFactory" not found in /usr/local/libexec/opnsense-auth:62
Stack trace:
#0 {main}
thrown in /usr/local/libexec/opnsense-auth on line 62
Fatal error: Uncaught Error: Class "OPNsense\Auth\AuthenticationFactory" not found in /usr/local/libexec/opnsense-auth:62
Stack trace:
#0 {main}
thrown in /usr/local/libexec/opnsense-auth on line 62
Login incorrect
I rebooted the appliance DEC2750 (clearly not a good idea :( ).
Now I'm blocked.
How can I do to login in console to try to repair ?
Thank you so much for your help, it's the first time I'm breaking an Opnsense instance.
If you have console access the easiest way is probably a re-install with config import.
Finally, I rebooted in single mode, reset the root password, rebooted, but same error when I try to login in the console :
PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20210902/curl.so (Shared object "libunistring.so.5" not found, required by "libpsl.so.5"), /usr/local/lib/php/202100
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mbstring.so' in Unknown on line 0
PHP Fatal error: Uncaught Error: Class "OPNsense\Auth\AuthenticationFactory" not found in /usr/local/libexec/opnsense-auth:62
Stack trace:
#0 {main}
thrown in /usr/local/libexec/opnsense-auth on line 62
Fatal error: Uncaught Error: Class "OPNsense\Auth\AuthenticationFactory" not found in /usr/local/libexec/opnsense-auth:62
Stack trace:
#0 {main}
thrown in /usr/local/libexec/opnsense-auth on line 62
Login incorrect
I saw an error on boot "Failed to include gfx-opnsense", when I tried several boot options.
The OS seems to be really broken, no ?
If you can tell me how I can do to reinstall OS, or what are broken, it would be great.
Thanks a lot for your help.
Download installer image, write image to USB key, boot from key, run installer - as documented:
https://docs.opnsense.org/setup.html
But since you run a Deciso appliance, did you contact support?
Thank you so much I will try this at the end of the week-end ('cause travel).
Have a nive day !
Problem solved, I reinstalled OS from USB through serial console.
Thank you for your help. I will wait few days before upgrade from 23.1 to 23.1.1 'cause I'm afraid to break it one more time :)