OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 23.1 Legacy Series »
  • [solved] 23.1.1 upgrade problem can't boot anymore
« previous next »
  • Print
Pages: [1]

Author Topic: [solved] 23.1.1 upgrade problem can't boot anymore  (Read 2777 times)

stanlog

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
[solved] 23.1.1 upgrade problem can't boot anymore
« on: February 17, 2023, 11:19:22 am »
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 :
Code: [Select]
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.
« Last Edit: February 20, 2023, 12:15:19 pm by stanlog »
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6935
  • Karma: 584
    • View Profile
Re: 23.1.1 upgrade problem can't boot anymore
« Reply #1 on: February 17, 2023, 11:25:14 am »
If you have console access the easiest way is probably a re-install with config import.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

stanlog

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: 23.1.1 upgrade problem can't boot anymore
« Reply #2 on: February 17, 2023, 11:47:42 am »
Finally, I rebooted in single mode, reset the root password, rebooted, but same error when I try to login in the console :
Code: [Select]
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.
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6935
  • Karma: 584
    • View Profile
Re: 23.1.1 upgrade problem can't boot anymore
« Reply #3 on: February 17, 2023, 11:56:07 am »
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?
« Last Edit: February 17, 2023, 12:51:40 pm by pmhausen »
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

stanlog

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: 23.1.1 upgrade problem can't boot anymore
« Reply #4 on: February 17, 2023, 12:37:47 pm »
Thank you so much I will try this at the end of the week-end ('cause travel).
Have a nive day !
Logged

stanlog

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: 23.1.1 upgrade problem can't boot anymore
« Reply #5 on: February 20, 2023, 12:14:56 pm »
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 :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 23.1 Legacy Series »
  • [solved] 23.1.1 upgrade problem can't boot anymore
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2