Upgrade to 24.1 fails

Started by eitch, February 01, 2024, 02:54:31 PM

Previous topic - Next topic
Upgrade failed from 23.7.12_5 to 24.1:


***GOT REQUEST TO UPGRADE***
Currently running OPNsense 23.7.12_5 at Thu Feb  1 14:47:47 CET 2024
Fetching packages-24.1-amd64.tar: ......... done
Fetching base-24.1-amd64.txz: ... done
Fetching kernel-24.1-amd64.txz: ... done
Extracting packages-24.1-amd64.tar...rm: /var/cache/opnsense-update/.sets.pending/packages-24.1/Latest: Device not configured
rm: /var/cache/opnsense-update/.sets.pending/packages-24.1: Directory not empty
***DONE***


This was the second try, the first time it failed also with an error message "Device not configured".

Previous updates worked, and just before this i upgraded to 23.7.12_5 from 23.7.11

Does anyone have an idea?

What does a healthckeck say there ? And how much free space do you have ?

Hi, thanks for replying.

I've got 44GB free, so should be more than enough.

Which health check would that be? Reporting / Health only shows me charts.

In the console press 12 and when asked the y/n question press h

In the GUI - Firmware section - Audit Health

Looks ok:


***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 23.7.12_5 at Thu Feb  1 15:19:39 CET 2024
>>> Root file system: /dev/gpt/rootfs
>>> Check installed kernel version
Version 23.7.10 is correct.
Unverified consistency check for kernel: invalid /usr/local/opnsense/version/kernel.mtree.sig
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 23.7.10 is correct.
Unverified consistency check for base: invalid /usr/local/opnsense/version/base.mtree.sig
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense
mimugmail
>>> Check installed plugins
os-ddclient 1.20
os-igmp-proxy 1.5_2
os-intrusion-detection-content-pt-open 1.0_1
os-intrusion-detection-content-snort-vrt 1.1_1
os-speedtest-community 0.9_4
os-wireguard 2.6
>>> 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" has 69 dependencies to check.
Checking packages: ...................................................................... done
***DONE***

QuoteUnverified consistency check for kernel: invalid /usr/local/opnsense/version/kernel.mtree.sig

Unverified consistency check for base: invalid /usr/local/opnsense/version/base.mtree.sig


First of all I'd reinstall kernel and base. I something goes wrong post it here before rebooting, else reboot, do a health check again and try to update

opnsense-update -fbkr 24.1

So it seems my disk failed. I tried to do a reboot and the system never came back up, so i check and the disk was "empty". I reinstalled everything and now it works again.

Does Opnsense have some kind of S.M.A.R.T reporting? Maybe i could have seen this coming.

Thanks anyhow for the help.

Install the os-smart plugin  ;)

There's a dashboard widget, a manual test and report function in "Services" and various cron job options.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)