Starting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33pkg-static: POST-INSTALL script failed[220/230] Reinstalling os-siproxd-1.3_1...[220/230] Extracting os-siproxd-1.3_1: .......... doneStopping configd...doneStarting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/Siproxd: OK[221/230] Reinstalling os-rspamd-1.12...[221/230] Extracting os-rspamd-1.12: .......... doneStopping configd...doneStarting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/Rspamd: OK[222/230] Upgrading os-postfix from 1.23 to 1.23_1...[222/230] Extracting os-postfix-1.23_1: .......... doneStopping configd...done
pkg update -fpkg upgrade# will list some php8 packages which were not yet upgraded# and opnsense-base package was also upgraded at this timereboot# done
Any concerns with the following error? There are several in my upgrade log. This is an upgrade from 22.1_10 to 22.7_4.Code: [Select]Starting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33pkg-static: POST-INSTALL script failed[220/230] Reinstalling os-siproxd-1.3_1...[220/230] Extracting os-siproxd-1.3_1: .......... doneStopping configd...doneStarting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/Siproxd: OK[221/230] Reinstalling os-rspamd-1.12...[221/230] Extracting os-rspamd-1.12: .......... doneStopping configd...doneStarting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main}thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/Rspamd: OK[222/230] Upgrading os-postfix from 1.23 to 1.23_1...[222/230] Extracting os-postfix-1.23_1: .......... doneStopping configd...done
What is a path to the upgrade log file?
As a shortcut on the console the command to view the upgrade log is:# opnsense-update -GThe constant errors are only an issue when PHP 8 is upgraded but core package isn't. Usually it's the last one so afterwards it reboots for consistency and then it's fine.(You can see that from the number, probably package 230/230 at the end.)
Starting configd.Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main} thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/Syslog: OKReloading template OPNsense/ddclient: OK[229/230] Reinstalling os-acme-client-3.11...[229/230] Extracting os-acme-client-3.11: .......... doneStopping configd...doneStarting configd.Deprecated: Required parameter $expression follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 147Deprecated: Required parameter $testType follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 176Deprecated: Required parameter $type follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 176Deprecated: Required parameter $address follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204Deprecated: Required parameter $port follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204Deprecated: Required parameter $mode follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204Deprecated: Required parameter $name follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230Deprecated: Required parameter $mode follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230Deprecated: Required parameter $algorithm follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230Reloading plugin configurationFatal error: Uncaught Error: Undefined constant "OCSP_REVOKED_STATUS_NOSTATUS" in /usr/local/etc/inc/certs.inc:33Stack trace:#0 /usr/local/etc/inc/config.inc(41): require_once()#1 /usr/local/etc/rc.configure_plugins(35): require_once('/usr/local/etc/...')#2 {main} thrown in /usr/local/etc/inc/certs.inc on line 33Reloading template OPNsense/AcmeClient: OK[230/230] Upgrading opnsense from 22.1.10_4 to 22.7_4...[230/230] Extracting opnsense-22.7_4: .......... doneStopping configd...doneResetting root shellUpdating /etc/shellsUnhooking from /etc/rcUnhooking from /etc/rc.shutdownUpdating /etc/shellsRegistering root shellHooking into /etc/rcHooking into /etc/rc.shutdownStarting configd.>>> Invoking update script 'refresh'Warning: Undefined array key "networks" in /usr/local/etc/inc/plugins.inc on line 209Writing firmware setting...done.Writing trust files...done.Configuring login behaviour...done.Configuring system logging...done.Running fc-cache to build fontconfig cache...Compiling glib schemasNo schema files found: doing nothing.=====Message from py39-urllib3-1.26.10,1:...
Yep, looks a bit weird, but that's exactly why the full package update is done before enabling networking and then rebooted again to "let the dust settle"