OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: gillbot on August 24, 2024, 11:45:35 PM

Title: Update to 24.7.2 failed
Post by: gillbot on August 24, 2024, 11:45:35 PM
I just updated to 24.7.2 via GUI and everything seemed ok, but all routing stopped shortly thereafter. Tried accessing via GUI but nothing seemed to be running so I hooked up a screen to the system. (Mini-pc with quad 2.5GBe)

It was asking me to mount a file system in the CLI so I rebooted only for it to stop on the same line. It scrolled too fast but I did observe a panic somewhere in there, not sure how relevant that is

After some messing, I figured out how to select an old kernel in the CLI and it would run and let me into the GUI. Unfortunately this is all the further it would go as dhcp didn't seem to work. All dhcp clients were disconnected with no ip and all static ip's had no internet access. When I made any changes and hit apply, they didn't seem to stick, then if needed, every reboot would revert back to the newer kernel and ask for a file system mount so I'd have to revert to an old one temporarily.

I finally just gave up and reinstalled everything but once again, no dhcp. After more issues, I tried reinstalling again only for it not to detect LAN. Third try same issue with detecting LAN but on the fourth, it came back online. I've left it there for now. I had a configuration backup but I'm nervous to try and load it so I plan to leave it as is for now and worry about my settings later. Two angry teenagers and a wife with no internet for much of a Saturday isn't worth it.
Title: Re: Update to 24.7.2 failed
Post by: doktornotor on August 25, 2024, 12:08:00 AM
After a panic, nothing will work. It will just reboot. Without that info it's impossible to advise.
Title: Re: Update to 24.7.2 failed
Post by: Patrick M. Hausen on August 25, 2024, 12:14:58 AM
In the single user shell try

fsck -y
Title: Re: Update to 24.7.2 failed
Post by: gillbot on August 25, 2024, 12:34:02 AM
Quote from: Patrick M. Hausen on August 25, 2024, 12:14:58 AM
In the single user shell try

fsck -y
Nothing left to try, I already wiped out and reinstalled from scratch. Took four retries but it finally got going again. I didn't have any issues on my first install but that was forever ago, no idea what version I initially started from.
Title: Re: Update to 24.7.2 failed
Post by: Patrick M. Hausen on August 25, 2024, 12:38:56 AM
Did you install with ZFS now? Highly recommended for exactly the reason you experienced.
Title: Re: Update to 24.7.2 failed
Post by: gillbot on August 25, 2024, 12:59:44 AM
Quote from: Patrick M. Hausen on August 25, 2024, 12:38:56 AM
Did you install with ZFS now? Highly recommended for exactly the reason you experienced.
I'd have to re-run through the steps to confirm, I honestly have no idea. I just used defaults and keyed through.
Title: Re: Update to 24.7.2 failed
Post by: newsense on August 25, 2024, 01:19:24 AM
This command will show you where you are:

df -hT |grep root
Title: Re: Update to 24.7.2 failed
Post by: gillbot on August 25, 2024, 02:06:11 AM
They all say zfs
Title: Re: Update to 24.7.2 failed
Post by: newsense on August 25, 2024, 02:23:03 AM
So what's the current status and patch level. What is the output if you try to upgrade from CLI ?
Title: Re: Update to 24.7.2 failed
Post by: gillbot on August 25, 2024, 03:17:34 AM
Quote from: newsense on August 25, 2024, 02:23:03 AM
So what's the current status and patch level. What is the output if you try to upgrade from CLI ?
Fresh install using 24.7 updated fine from GUI to 24.7.2. I didn't have a lot of crazy extra settings so not too much was lost, but still isn't fun starting from scratch especially since I don't remember what all settings I've changed.
Title: Re: Update to 24.7.2 failed
Post by: newsense on August 25, 2024, 03:25:58 AM
Downloading the config before an upgrade is not hard to do.

Also, starting with 24.7.3 snapshots will be available on ZFS installs. You can practice on a VM to get acquainted with the process, both from GUI and CLI.
Title: Re: Update to 24.7.2 failed
Post by: franco on August 26, 2024, 11:02:23 PM
Promised to take a look here. It sounds a little like the agp issue, but nothing to confirm.

If you have 24.7 running please do a quick:

# dmesg | grep agp

That being said it should be solved once 24.7.3 hits later this week if it's really this one. If not we will need a panic string indeed.


Thanks,
Franco
Title: Re: Update to 24.7.2 failed
Post by: gillbot on August 28, 2024, 01:51:05 PM
Either i'm doing something wrong or not sure, but when I enter that command, nothing happens.
Title: Re: Update to 24.7.2 failed
Post by: chemlud on August 28, 2024, 01:53:05 PM
Nothing wrong, only no "agp" in your dmesg output... :-)
Title: Re: Update to 24.7.2 failed
Post by: doktornotor on August 28, 2024, 02:42:00 PM
Which is a good thing. 😉