Issue upgrading from 26.7.1_1 to latest release

Started by john79, August 14, 2026, 11:28:05 AM

Previous topic - Next topic
August 14, 2026, 11:28:05 AM Last Edit: August 14, 2026, 11:39:45 AM by john79
Anyone else had any issues upgrading and it not being anything already mentioned in the forum? Loading kernel.old doesnt help, only rebooting to a snapshot before upgrading to 26.7.2_2 get my Opnsense up and running again. I had set firmware setting to a specific mirror, but set it back to default and it still get kernel panic after trying to update again

This is what shows just before the kernel panic:

exec /sbin/init: error 8
init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init
panic: no init
cpuid = 3
time = 1786695550
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00d2e23cd0
vpanic() at vpanic+0x136/frame 0xfffffe00d2e23e00
panic() at panic+0x43/frame 0xfffffe00d2e23e60
start_init() at start_init+0x265/frame 0xfffffe00d2e23ef0
fork_exit() at fork_exit+0xb7/frame 0xfffffe00d2e23f30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00d2e23f30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 1 tid 100002 ]
Stopped at      kdb_enter+0x33: movq    $0,0x15a8af2(%rip)
db>

Here is info about my system

CPU: Intel N100
NIC: I226-V
Kernel: 15.1-RELEASE-p1
Userland: 15.1-RELEASE-p1
Installed OPNsense package: 26.7.1_1
No microcode or Realtek add-on package

Looks like the "init" never materialised on the disk after extraction. It's not possible to recover from this.

Quickest way is to reinstall with the 26.7 image and use the importer to retain your old settings.


Cheers,
Franco

Thanks for the quick reply, reinstall and import old setting it is then

Just to confirm if anyone else run into the same. Suggested solution by franco solved it and up and running on latest version.

Thank you for confirming the fix. I encountered the same problem today when upgrading my primary Opnsense firewall from 26.7.1 to 26.7.2_2 via the GUI. Reinstalling with the release 26.7 image, using importer to restore my configuration, upgrading via the GUI to release 26.7.2_2 and reinstalling my Plugins resolved the problem.

I did not encounter any problems when upgrading from 26.7.1 to 26.7.2_2 via the GUI on my backup Opnsense firewall.  It has the same configuration except different interface names and no Zenarmor (os-sensei) Plugin.

Primary Firewall
CPU: Intel i5-14500T
MB: ASRock IMB-X1314
NICs: Intel I225-LM/I225-V

Backup Firewall
CPU: AMD GX-412TC
MB:  PCEngines apu2b4
NICs: i210AT

Primary Opnsense Firewall 26.7.1 to 26.7.2_2 upgrade error

exec/sbin/init: error 8
init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:rescue/init
panic: no init
cpuid = 1
time = 1787501561
KDB: stack backtrace:
db_trace_self_wapper() at db_trace_self_wapper+0x2b/frame 0xfffffe014c60bcd0
vpanic() at vpanic+0x136/frame 0xfffffe014c60be00
panic() at panic+0x43/frame 0xfffffe014c60bef0
start_init() at start_init+0x265/frame 0xfffffe014c60bef0
fork_exit() at fork_exit+0x7b/frame 0xfffffe014c60bf30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe01d4c60bf30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 1 tid 100002 ]
Stopped at   kdb_enter+0x33: movq $0,0x15a8af2(%rip)
db>