24.7.5 to 24.7.6 Upgrade Failed & Now Updating Fails

Started by BertQuodge, October 17, 2024, 12:42:45 PM

Previous topic - Next topic
October 17, 2024, 12:42:45 PM Last Edit: October 17, 2024, 12:57:45 PM by BertQuodge
Hi

My OPNsense firewall has an issue where the system firmware update just says "fetching changelog information" and a spinning icon.

The Firewall tried to update itself, automatically, from 24.7.5 to 24.7.6 last night. When I checked this morning the update was nearly complete and the update process got to "updating crowdsec" and was waiting for a couple of PIDs. That message was displayed over 12 hours ago. though, with no further messages. I then rebooted the Firewall and now when the unit has restarted it says it is running 24.7.5 still. The firewall works and my clients have internet access etc. If I ssh to the firewall I can resolve names and ping www.google.com. I've tried changing to a different mirror but the "fetching changelog information" issue remains. If I run "fetch https://pkg.opnsense.org/FreeBSD:13:amd64/23.1/sets/changelog.txz", via ssh, the file is downloaded correctly.

I only have IPV4 access but I read that changing "Prefer to use IPv4 even if IPv6 is available"might help under setting/general, but this hasn't helped my system.

In the system/firmware/updates log I sometimes see an additional entry beyond "fetching changelog information", though if I leave the system running like this for 30 mins no further messages are displayed:

Updating OPNsense repository catalogue...
Waiting for another process to update repository OPNsense


I've noticed that if I check the upgrade log I have a message at the top saying "pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended". if I try and run "pkg bootstrap -f" at the cl I receive a message "The package management tool is not yet installed on your system". I'm then prompted if I want to install the package. I've declined to install the package as I don't want to make my situation worse, without knowing the implications of installing. This message might also be from a previous upgrade, there are no timestamps in the file for me to be sure when this log is from.

The system has a reliable 100Mb down internet connection is using 4% of its RAM, with a load average of 0.21. I'd appropriate any suggestions on what I can try next.

Thanks


Many thanks for this!

I had disabled crowdsec and tried to perform an upgrade again but the same issue occurred in the logs. After reading your post I rebooted the firewall again and this time the upgrade worked!

So happy now  :)