upgrade to 25.1 only runs sanity/cleanup scripts.

Started by reneh, January 31, 2025, 08:38:49 AM

Previous topic - Next topic
My upgrade from 24.7.12_4 to 25.1 only shows two scripts being executed and nothing happens afterwards, even after reboot.
Any thoughts?

***GOT REQUEST TO UPGRADE***
Currently running OPNsense 24.7.12_4 (amd64) at Fri Jan 31 08:32:48 CET 2025
Fetching packages-25.1-amd64.tar: .............. done
Extracting packages-25.1-amd64.tar... done
Please reboot.
>>> Invoking upgrade script 'sanity.sh'
Passed all upgrade tests.
>>> Invoking upgrade script 'cleanup.sh'
***DONE***

So what's in the upgrade log after a reboot?

That it doesn't load base and kernel sets tells me you have been stuck on packages upgrade for a bit....

Thanks for the quick response. There are no new entries in the update log file after the update and subsequent reboot.

System: Firmware: Status: Run an audit: Upgrade.

thanks.

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 24.7.12_4 (amd64) at Fri Jan 31 13:14:13 CET 2025
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 25.1 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 25.1 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense (Priority: 11)
>>> Check installed plugins
os-acme-client 4.7
os-cpu-microcode-intel 1.1
os-ddclient 1.26
os-igmp-proxy 1.5_3
os-intrusion-detection-content-snort-vrt 1.2
os-udpbroadcastrelay 1.0_5
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" at 24.7.12_4 has 69 dependencies to check.
Checking packages: ..................
lighttpd-1.4.77 version mismatch, expected 1.4.76_1
Checking packages: .......
opnsense-installer-25.1 version mismatch, expected 24.7
Checking packages: .
opnsense-lang-25.1 version mismatch, expected 24.7.8
Checking packages: .
opnsense-update-25.1 version mismatch, expected 24.7.12
Checking packages: ..................................
radvd-2.20 version mismatch, expected 2.19_4
Checking packages: ......... done
***DONE***

You ran the health audit, which clearly shows packages were almost completely installed, but then aborted at the last package (opnsense).

I would still like to see the upgrade log instead because it will tell you why...

thanks, I'm probably overlooking something, but I don't have the option to run a upgrade audit..
Log file attached.


Is there nothing here?

# ls -lah /var/cache/opnsense-update

nothing../.

root@OPNsense:~ # ls -lah /var/cache/opnsense-update
total 9
drwxr-x---  2 root wheel    2B Jan 31 13:16 .
drwxr-xr-x  6 root wheel    6B Jan 27 12:15 ..

i had more or less the same issue, fixed by ssh and

opnsense-update -ur 25.1 -A 25.1
took about 10min for me and it rebooted twice