Upgrade to 25.7 failed, or ?

Started by suur13, August 03, 2025, 02:11:21 PM

Previous topic - Next topic
Hello, complete noob and first time poster here ! I'm happy to join Opnsense community !

Got Black Dwarf Terra G2 box some weeks ago with 25.1 on it. Got everything up and running rather fast and smoothly. I have no fancy configuration, but also using Wifi AP (Atheros) on it (due Chromecast). All fine. Upgraded smoothly to 25.1.12, also installed os-realtek plugin/driver as my box has RTL8xxx cards on it. Run even system audit. All OK.

Today I tried to upgrade to 25.7 via webgui - everything downloaded fine, initial checks were OK. Last line on webgui console window was !!!ATTENTION!!! but I do not know what came after that, as box went to reboot.

I waited 30-40 mins but box never came up again. Then I lost my patience and re-plugged power cord. It booted fine, but I'm still on 25.1.12. Everything seems to work as I'm posting this. No traces of upgrade. How can I check what (if any) is the error ? I have no console options available right now and all LOG files start with current (successful) boot.

Health audit please.


Cheers,
Franco

Quote from: suur13 on August 03, 2025, 02:11:21 PMHello, complete noob and first time poster here ! I'm happy to join Opnsense community !

Got Black Dwarf Terra G2 box some weeks ago with 25.1 on it. Got everything up and running rather fast and smoothly. I have no fancy configuration, but also using Wifi AP (Atheros) on it (due Chromecast). All fine. Upgraded smoothly to 25.1.12, also installed os-realtek plugin/driver as my box has RTL8xxx cards on it. Run even system audit. All OK.

Today I tried to upgrade to 25.7 via webgui - everything downloaded fine, initial checks were OK. Last line on webgui console window was !!!ATTENTION!!! but I do not know what came after that, as box went to reboot.

I waited 30-40 mins but box never came up again. Then I lost my patience and re-plugged power cord. It booted fine, but I'm still on 25.1.12. Everything seems to work as I'm posting this. No traces of upgrade. How can I check what (if any) is the error ? I have no console options available right now and all LOG files start with current (successful) boot.

Hi Suur13, Hi Franco,

cannot really contribute right now, but what I can tell:
* had the exact same problem with my N100 box
* solution was a reboot. No hard shutdown, pressed power button only short and once. So something must have been alive shutting down cleanly and resetting to 25.1.12
* didn't find the trust to try again right now, still on 25.1.12 now

Best regards
Robert

N100 and microcode... it's always those, isn't it... ;(

Quote from: franco on August 04, 2025, 12:50:27 PMN100 and microcode... it's always those, isn't it... ;(

Hi Franco,

ok, so disable the plugin, update and enable again?

Best regards
Robert

To avoid confusion - I'm the OP and my Terra G2 box has Via Nano CPU and no microcode package is installed !

I attached Audit output file. As you can see kernel and base system are reported already 25.7, I did not notice this before. But Status page shows:
Type    opnsense    
Version    25.1.12    
Architecture    amd64    
Commit    d143c9ec2    
Mirror    https://pkg.opnsense.org/FreeBSD:14:amd64/25.1    
Repositories    FreeBSD-kmods (Priority: 0), OPNsense (Priority: 11)    
Updated on    Thu Jul 31 13:41:41 UTC 2025    
Checked on    Sun Aug 3 11:42:46 UTC 2025

@imk82 the N100 may be unstable without the microcode updates. I nowadays recommend a recent bios that bundles the microcode fixing FreeBSD operation so you can avoid other wonky behaviour without microcode installed. Depending on the hardware that BIOS update may not exist, however.

@suur13 There was an issue with the packages install indeed.  Can you grab the "upgrade" audit for me from the firmware status page?


Cheers,
Franco


@suur13 Did you power-cycle the box at some point during the updage? Or could it be an OOM issue that would explain why the log suddenly stops (how much RAM do you have)?

Normally this should be enough to bring it over retrying the upgrade:

# opnsense-update -up
# opnsense-shell reboot


Cheers,
Franco

August 04, 2025, 09:26:51 PM #9 Last Edit: August 05, 2025, 12:24:02 AM by suur13
Yes, I started upgrade from WebUI and from the moment it went to reboot, I waited 35-40 minutes. I tought that it is way too long (isn't it ?). To restart the box I pulled power cable for and waited 10 seconds, then put it back. System booted to current state. I did not have VGA monitor available or I did not follow the process via SSH.

Shall I log via SSH and start with opnsense-update -up command ?

I have 4GB of memory. What is OOM issue (googled - out of memory ? no idea...) ?

EDIT: could not resist and went for it... all OK. Only issue was me being impatient. As seen on upgrade log, I pulled the plug on package 173 out of 175, this time I gave 5 minutes more (40+ minutes total) and it upgraded as it should. Considering my usual luck, its no miracle... I guess this is normal update time for such a old box.

Thank you for holding my hand !

EDIT2: I also attached VGA and monitored the boot. It takes long time to configuring OPT1, OPT2 and OPT3 (few minutes each). I have bridged them together as switch. Is it normal ? Something I can tune to speed it up ?

Glad to hear it went through now.

The disk seems unusually slow, the machine may be as well, or because of the disk.


Cheers,
Franco

Quote from: imk82 on August 04, 2025, 03:44:08 PM
Quote from: franco on August 04, 2025, 12:50:27 PMN100 and microcode... it's always those, isn't it... ;(

Hi Franco,

ok, so disable the plugin, update and enable again?

Best regards
Robert

Hi all,

just for the record: this solved theproblem.

* disable microcode plugin
* update go 25.7.2
* enable microcode plugin again

All well now so far on my N100 box.

Best regards
Robert