OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: Helle on November 12, 2021, 12:56:09 AM

Title: Upgrade to 21.7.5 did not succed completely
Post by: Helle on November 12, 2021, 12:56:09 AM
My upgrade of my system ended with:

The cleanup will free 21 MiB
Deleting files: .......... done
All done
ld-elf.so.1: Shared object "libssl.so.50" not found, required by "opnsense-verify"
Starting web GUI...done.
Generating RRD graphs...done.
ld-elf.so.1: Shared object "libssl.so.50" not found, required by "opnsense-verify"
***DONE***


It never rebooted as it was supposed to do and I am hesitant to reboot until I can expect it to reboot ok.

The gui says it's running 21.7.5 but the installed packages are still .4 and health audit is complaining about not running the expected kernel (which is expected)

The firewall is an APU device with only serial console access so I really want to get some backing before rebooting.

The full installation log is attached
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: franco on November 12, 2021, 07:41:34 AM
I can't see from the log: this is LibreSSL, right?


Cheers,
Franco
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: itoffshore on November 12, 2021, 07:51:18 AM
I received the same missing libssl.so.50 error on the 21.7.5 update - I'm on the libressl flavour
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: franco on November 12, 2021, 08:06:13 AM
Can you grab opnsense-update 21.7.5_2 from the main mirror? That should fix it.

Other mirrors will update too but it might take a bit.


Cheers,
Franco
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Headless1919 on November 12, 2021, 08:31:36 AM
Quote from: franco on November 12, 2021, 08:06:13 AM
Can you grab opnsense-update 21.7.5_2 from the main mirror? That should fix it.

Other mirrors will update too but it might take a bit.


Cheers,
Franco

Thanks Franco, that seems to have sorted it for me.
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Helle on November 12, 2021, 08:32:46 AM
Quote from: itoffshore on November 12, 2021, 07:51:18 AM
I received the same missing libssl.so.50 error on the 21.7.5 update - I'm on the libressl flavour
libreSSL it is
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Helle on November 12, 2021, 08:37:37 AM
Quote from: RZR on November 12, 2021, 08:31:36 AM
Quote from: franco on November 12, 2021, 08:06:13 AM
Can you grab opnsense-update 21.7.5_2 from the main mirror? That should fix it.

Other mirrors will update too but it might take a bit.


Cheers,
Franco

Thanks Franco, that seems to have sorted it for me.
It worked well for me too

Thanks a lot Franco,

One question,

Would my system have rebooted successfully without the fix ?
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: franco on November 12, 2021, 08:39:34 AM
> Would my system have rebooted successfully without the fix ?

No. It's a failsafe to abort on updates so that was working when it detected something was off. Last step is kernel/base updates and that needs a reboot when successful.

So when it rebooted it wants to say: all good so far.


Cheers,
Franco
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Helle on November 12, 2021, 08:47:28 AM
Ok. Thanks again

Now it's running fine again so I am thankful.
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: itoffshore on November 12, 2021, 09:00:21 AM
Many thanks Franco ;o)

Switching to the default mirror to pickup 21.7.5_2 worked perfectly
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Gilad on November 12, 2021, 10:48:08 AM
Hi,

Is it supposed to say 21.7.5_2? Because I'm checking the default mirror and all I get is 21.7.5:

(https://i.imgur.com/9JaLEep.png)


Thanks,

Gilad
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: franco on November 12, 2021, 10:59:00 AM
21.7.5_2 for opnsense-update package only. Check the package listing after the release notes.


Cheers,
Franco
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: Gilad on November 12, 2021, 01:58:33 PM
Quote from: franco on November 12, 2021, 10:59:00 AM
21.7.5_2 for opnsense-update package only. Check the package listing after the release notes.

Thanks Franco :)
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: puldi on November 16, 2021, 07:57:59 AM
I upgraded two instances (libressl) last week from 21.7.4 to 21.7.5 and both of them rebooted fine even if it took a long time until all services were shutdown. Today I searched for updates again got 21.7.5_2 presented without any further notice. After installation the machine rebooted immediately. Luckily it happened in our maintenance timeframe but I was quite surprised seeing the machine rebooting without warning.
Title: Re: Upgrade to 21.7.5 did not succed completely
Post by: franco on November 16, 2021, 08:59:50 AM
Depends on the log context and health audit prior to second update. I agree that it should not reboot, but it might if it thinks the kernel or base need to be reinstalled because they have either not previously installed or did not install correctly. The latter is more likely.


Cheers,
Franco