23.01 -> 23.05 upgrade = bunch of PHP errors
-
Just after upgrade i got this not looking good message
Crash report begins. Anonymous machine information:
arm
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 plus-RELENG_23_05-n256102-7cd3d043045: Mon May 22 15:25:32 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/obj/armv7/mMnBJzEV/var/jenkins/workspace/pfSense-Plus-snapshots-23_05-main/sources/FreeBSCrash report details:
PHP Errors:
[25-May-2023 22:16:49 UTC] PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20210902/opcache.so (Cannot open "/usr/local/lib/php/20210902/opcache.so"), /usr/local/lib/php/20210902/opcache.so.so (Cannot open "/usr/local/lib/php/20210902/opcache.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'session.so' (tried: /usr/local/lib/php/20210902/session.so (Cannot open "/usr/local/lib/php/20210902/session.so"), /usr/local/lib/php/20210902/session.so.so (Cannot open "/usr/local/lib/php/20210902/session.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/lib/php/20210902/bcmath.so (Cannot open "/usr/local/lib/php/20210902/bcmath.so"), /usr/local/lib/php/20210902/bcmath.so.so (Cannot open "/usr/local/lib/php/20210902/bcmath.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/local/lib/php/20210902/bz2.so (Cannot open "/usr/local/lib/php/20210902/bz2.so"), /usr/local/lib/php/20210902/bz2.so.so (Cannot open "/usr/local/lib/php/20210902/bz2.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ctype.so' (tried: /usr/local/lib/php/20210902/ctype.so (Cannot open "/usr/local/lib/php/20210902/ctype.so"), /usr/local/lib/php/20210902/ctype.so.so (Cannot open "/usr/local/lib/php/20210902/ctype.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20210902/curl.so (Cannot open "/usr/local/lib/php/20210902/curl.so"), /usr/local/lib/php/20210902/curl.so.so (Cannot open "/usr/local/lib/php/20210902/curl.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/local/lib/php/20210902/dom.so (Cannot open "/usr/local/lib/php/20210902/dom.so"), /usr/local/lib/php/20210902/dom.so.so (Cannot open "/usr/local/lib/php/20210902/dom.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'filter.so' (tried: /usr/local/lib/php/20210902/filter.so (Cannot open "/usr/local/lib/php/20210902/filter.so"), /usr/local/lib/php/20210902/filter.so.so (Cannot open "/usr/local/lib/php/20210902/filter.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'gettext.so' (tried: /usr/local/lib/php/20210902/gettext.so (Cannot open "/usr/local/lib/php/20210902/gettext.so"), /usr/local/lib/php/20210902/gettext.so.so (Cannot open "/usr/local/lib/php/20210902/gettext.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20210902/intl.so (Cannot open "/usr/local/lib/php/20210902/intl.so"), /usr/local/lib/php/20210902/intl.so.so (Cannot open "/usr/local/lib/php/20210902/intl.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20210902/ldap.so (Cannot open "/usr/local/lib/php/20210902/ldap.so"), /usr/local/lib/php/20210902/ldap.so.so (Cannot open "/usr/local/lib/php/20210902/ldap.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'libbe.so' (tried: /usr/local/lib/php/20210902/libbe.so (Cannot open "/usr/local/lib/php/20210902/libbe.so"), /usr/local/lib/php/20210902/libbe.so.so (Cannot open "/usr/local/lib/php/20210902/libbe.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20210902/mbstring.so (Cannot open "/usr/local/lib/php/20210902/mbstring.so"), /usr/local/lib/php/20210902/mbstring.so.so (Cannot open "/usr/local/lib/php/20210902/mbstring.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/20210902/mcrypt.so (Cannot open "/usr/local/lib/php/20210902/mcrypt.so"), /usr/local/lib/php/20210902/mcrypt.so.so (Cannot open "/usr/local/lib/php/20210902/mcrypt.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/lib/php/20210902/pcntl.so (Cannot open "/usr/local/lib/php/20210902/pcntl.so"), /usr/local/lib/php/20210902/pcntl.so.so (Cannot open "/usr/local/lib/php/20210902/pcntl.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20210902/pdo.so (Cannot open "/usr/local/lib/php/20210902/pdo.so"), /usr/local/lib/php/20210902/pdo.so.so (Cannot open "/usr/local/lib/php/20210902/pdo.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20210902/pfSense.so (Cannot open "/usr/local/lib/php/20210902/pfSense.so"), /usr/local/lib/php/20210902/pfSense.so.so (Cannot open "/usr/local/lib/php/20210902/pfSense.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'posix.so' (tried: /usr/local/lib/php/20210902/posix.so (Cannot open "/usr/local/lib/php/20210902/posix.so"), /usr/local/lib/php/20210902/posix.so.so (Cannot open "/usr/local/lib/php/20210902/posix.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20210902/radius.so (Cannot open "/usr/local/lib/php/20210902/radius.so"), /usr/local/lib/php/20210902/radius.so.so (Cannot open "/usr/local/lib/php/20210902/radius.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20210902/readline.so (Cannot open "/usr/local/lib/php/20210902/readline.so"), /usr/local/lib/php/20210902/readline.so.so (Cannot open "/usr/local/lib/php/20210902/readline.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20210902/rrd.so (Cannot open "/usr/local/lib/php/20210902/rrd.so"), /usr/local/lib/php/20210902/rrd.so.so (Cannot open "/usr/local/lib/php/20210902/rrd.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20210902/shmop.so (Cannot open "/usr/local/lib/php/20210902/shmop.so"), /usr/local/lib/php/20210902/shmop.so.so (Cannot open "/usr/local/lib/php/20210902/shmop.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20210902/simplexml.so (Cannot open "/usr/local/lib/php/20210902/simplexml.so"), /usr/local/lib/php/20210902/simplexml.so.so (Cannot open "/usr/local/lib/php/20210902/simplexml.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20210902/sockets.so (Cannot open "/usr/local/lib/php/20210902/sockets.so"), /usr/local/lib/php/20210902/sockets.so.so (Cannot open "/usr/local/lib/php/20210902/sockets.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/20210902/sqlite3.so (Cannot open "/usr/local/lib/php/20210902/sqlite3.so"), /usr/local/lib/php/20210902/sqlite3.so.so (Cannot open "/usr/local/lib/php/20210902/sqlite3.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20210902/sysvmsg.so (Cannot open "/usr/local/lib/php/20210902/sysvmsg.so"), /usr/local/lib/php/20210902/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20210902/sysvmsg.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20210902/sysvsem.so (Cannot open "/usr/local/lib/php/20210902/sysvsem.so"), /usr/local/lib/php/20210902/sysvsem.so.so (Cannot open "/usr/local/lib/php/20210902/sysvsem.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20210902/sysvshm.so (Cannot open "/usr/local/lib/php/20210902/sysvshm.so"), /usr/local/lib/php/20210902/sysvshm.so.so (Cannot open "/usr/local/lib/php/20210902/sysvshm.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20210902/tokenizer.so (Cannot open "/usr/local/lib/php/20210902/tokenizer.so"), /usr/local/lib/php/20210902/tokenizer.so.so (Cannot open "/usr/local/lib/php/20210902/tokenizer.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20210902/xml.so (Cannot open "/usr/local/lib/php/20210902/xml.so"), /usr/local/lib/php/20210902/xml.so.so (Cannot open "/usr/local/lib/php/20210902/xml.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlwriter.so' (tried: /usr/local/lib/php/20210902/xmlwriter.so (Cannot open "/usr/local/lib/php/20210902/xmlwriter.so"), /usr/local/lib/php/20210902/xmlwriter.so.so (Cannot open "/usr/local/lib/php/20210902/xmlwriter.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20210902/zlib.so (Cannot open "/usr/local/lib/php/20210902/zlib.so"), /usr/local/lib/php/20210902/zlib.so.so (Cannot open "/usr/local/lib/php/20210902/zlib.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/20210902/pdo_sqlite.so (Cannot open "/usr/local/lib/php/20210902/pdo_sqlite.so"), /usr/local/lib/php/20210902/pdo_sqlite.so.so (Cannot open "/usr/local/lib/php/20210902/pdo_sqlite.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20210902/xmlreader.so (Cannot open "/usr/local/lib/php/20210902/xmlreader.so"), /usr/local/lib/php/20210902/xmlreader.so.so (Cannot open "/usr/local/lib/php/20210902/xmlreader.so.so")) in Unknown on line 0
[25-May-2023 22:16:49 Etc/UTC] PHP Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48
Stack trace:
#0 /etc/inc/functions.inc(34): require_once()
#1 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(51): require_once('/etc/inc/notice...')
#3 /usr/local/pkg/wireguard/includes/wg_service.inc(24): require_once('/etc/inc/config...')
#4 {main}
thrown in /etc/inc/certs.inc on line 48No FreeBSD crash data found.
Hardware: Netgate 3100
-
As a fellow SG-3100 owner I'm convinced that the SG-3100 with ARM doesn't get the same love and attention as its x86 cousins. I always see something like this whenever I go to check the forums before upgrading.
-
@wavesound said in 23.01 -> 23.05 upgrade = bunch of PHP errors:
As a fellow SG-3100 owner I'm convinced that the SG-3100 with ARM doesn't get the same love and attention as its x86 cousins. I always see something like this whenever I go to check the forums before upgrading.
On the contrary, we test it quite extensively. Lots of us have them, they're one of the most popular models. I have two here and I had one tracking 23.05 snapshots and another back on 23.01 I used to test upgrading to 23.05. It all worked fine on ours or we wouldn't have put out the release. But despite all our testing, plans rarely survive contact with the Internet. There are just too many variations on configs, system states, etc, to test every possible scenario.
The errors above indicate something broke mid-upgrade. It's hard to speculate about what it might be.
Some amount of PHP errors are normal during an upgrade when PHP itself gets upgraded, we normally automatically flush the PHP error log when the upgrade finishes for that reason. Sometimes, especially on slower systems, users get the GUI login prompt before the upgrade completes and then they login and see the errors before they get cleared.
If the errors don't come back on the next boot, you're all good.
If they do, however, then you probably need to reinstall. Persistent errors of that nature are the kind of thing we see when the system reboots or gets powered off before it completely finishes the upgrade on its own.
-
@wavesound said in 23.01 -> 23.05 upgrade = bunch of PHP errors:
As a fellow SG-3100 owner I'm convinced that the SG-3100 with ARM doesn't get the same love and attention as its x86 cousins.
I am pretty sure that they will do all for their own
hardware because it is also their "figurehead".I always see something like this whenever I go to check the forums before upgrading.
Would be the best as I see it, I was installing
three (3x) times,
pfSense 2.6 > 23.01 > 23.05
pfSense 2.7 DevelBut now all is running fine and well for me.
And if I read (like you) the forum before upgrading I see even again and again that
many owners of the Netgate SG hardware
will be mostly installing, upgrading and be
happy by using a real 23.01 or 23.05 image!That is the other site of the medal, you see
only your case and not the other once!