25.7.11 Upgrade Issue

Started by Max_G, January 15, 2026, 10:52:52 PM

Previous topic - Next topic
Today I attempted an in place upgrade to version 25.7.11 from version 25.7.
During the first boot post upgrade I am getting this error in the console:

Fatal error: Uncaught ValueError: The arguments array must contain 1 items, 0 given in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Shell.php:55
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Shell.php(55): vsprintf('/sbin/route add...', Array)
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Shell.php(74): OPNsense\Core\Shell::exec_safe(Array, Array)
#2 /usr/local/etc/inc/util.inc(981): OPNsense\Core\Shell::run_safe('/sbin/route add...', Array, true)
#3 /usr/local/etc/inc/system.inc(786): mwexecfm('/sbin/route add...')
#4 /usr/local/etc/rc.bootup(94): system_routing_configure(true, NULL, 'ignore')
#5 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Shell.php on line 55
Enter full pathname of shell or RETURN for /bin/sh:

I figured something went wrong during the upgrade, so I did a fresh install of 25.7 from the ISO and imported my existing config from the installer.
I then attempted the 25.7.11 upgrade again, but was met with the exact same error during the first bootup.

Thanks, this was very recently reported and already hotfixed: https://github.com/opnsense/core/issues/9618


Cheers,
Franco

Ah nice! Thanks for the quick fix.

I'll try the update again in a bit.