OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: klausagnoletti on September 09, 2024, 01:10:04 PM

Title: Failed upgrade to 24.7
Post by: klausagnoletti on September 09, 2024, 01:10:04 PM
I was running behind on updates on my firewall because of some restarting issues and it being remote etc. So I ended up doing a 5-6 upgrades in a row.

That turned out to be a little problematic as I experienced weird errors like forgetting default route (which sucks on a remote firewall), deciding to ignore geom raid and just use one disk instead..

All of thouse are manageable so don't worry. The reason why I'm posting is that I can't upgrade to 24.7. I get the following message in the console after the upgrade has been initiated:

Version number mismatch, aborting.
Kernel: 13.2
Base: 14


After that, the box boots up and keeps spitting out error messages like these:
KLD nullfs.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/kernel/nullfs.ko - unsupported file type
KLD nullfs.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/kernel/nullfs.ko - unsupported file type


Fortunately, after a while where it keeps saying that another process is trying to update the repositry, it downgrades and the kernel/userland mismatch errormessages stop and my firewall is working as it should(ish). And if I restart the upgrade, the same happens.

So unfortunately rolling back doesn't solve the problem.

Any ideas? I understand the problem but not why it has surfaced or how I should fix it.

I have a video that shows the entire boot proces, screenshots of the error messages etc if needed.

Thanks
Title: Re: Failed upgrade to 24.7
Post by: meyergru on September 09, 2024, 01:21:29 PM
Save the configuration /conf/config.xml, reinstall newest version from scratch and import the configuration. Seems easier than to fixed a number of upgrade errors including a system/kernel mismatch.

Title: Re: Failed upgrade to 24.7
Post by: klausagnoletti on September 10, 2024, 12:58:06 PM
Allright, that makes sense. In that way I can fix the broken raid as well..

Thanks!

/k