Closed kimnzl closed 1 year ago
I had the same Problem. I solved it by upgrading to 22.7.3 first. In the firmware settings set flavour to 22.7/MINT/22.7.3/OpenSSL, run the upgrade and set flavour to default again and upgrade to 22.7.9
Basically freeradius3 package is out of whack for unknown reasons and the phpseclib3 error is unrelated and only temporary. About the first issue other tickets exist but until someone says how to reproduce I'm not able to look at it because it looks like a time sink. In practice removing freeradius3 (or os-freeradius) and adding it back after update works fine....
Going to refer this to #6167.
I can confirm that this was caused by freeradius3. Removing the plugin then updating works.
deactivating freeradius is definitively no option since the plugin is normally installed to do something, in my case: authentication.
In that case you can never reboot your firewall? oO
In that case you can never reboot your firewall? oO
Well I don't try until there is a solution for the freeradius problem. Firewall is protected by an USP so without an upgrade related reboot it stays up for a long time..
and there is a solution (according to others in the same thread)... deinstall --> upgrade --> reinstall. but you're always free to wait for events that might not happen.
Important notices
Describe the bug
Doing an update from 22.7.2 to 22.7.9 fails. I have confirmed that it occurs on both the WebUI and Console. The update stops applying part way through, then it reboots.
This is a VM under proxmox. I hit the issue 3 times. 1x WebUI and 2x Console (1x SSH, 1x VM Console). I restored from my VM backup (taken when shutdown) between runs.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert) The bug renders the system unable to boot properly.
To Reproduce
Steps to reproduce the behavior: Use 22.7.2. Try to update to 22.7.9.
Expected behavior
The update to complete.
Describe alternatives you considered
Is it possible to update to 22.7.3 or 22.7.4? This bug looks to be in relation to phpseclib 3. That is the library what I am seeing in the error message/screenshots.
Screenshots
Screenshots after reboot:
Relevant log files
Log of the update from the Console via SSH:
Additional context
This is in a VM running under Proxmox. NIC via hardware passthrough of the whole card. I have backups and can reproduce or try possible fixes easily enough as needed.
Environment
OPNsense 22.7.2-amd64 FreeBSD 13.1-RELEASE-p1 OpenSSL 1.1.1q 5 Jul 2022 Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz Network Intel Server Adapter I350-T4 v2