WebGUI blank after upgrade to 23.01
-
Hmm, odd. I have no particular insight into that, I've never seen it reported before.
-
@macdefender A blank page is typical if PHP encounters a compilation error.
You could try to insert the following code into the top of your page for debugging purposes:
<?
ini_set('display_errors','on');// rest of php script here....
?>...but overall I agree it sounds like something is incomplete with the upgrade and a reinstall is probably best going forward.
-
@steveits I don't understand this either. I added this to the index.php in the /usr/local/www folder but nothing got displayed. Still just a blank page.
I created a test.html file there and it got displayed just fine. So nginx is working fine I guess. Created a test.php file with just this display_errors and a simple echo but again a blank page.
If I do a 'php test.php' in the shell it just displays the echo output. So php itself is also working just fine.
I haven't worked with nginx in the past but as it serves all other files just I guess that it also routes the .php file to php as it would otherwise just offer the plain script text or a download of that file?
-
@macdefender
I don't know if related or unrelated but I saw myself some bizarre behavior of nginx on the new freebsd kernel 14. For me in one of my firewall but not the other nginx would crash the entire kernel when accessed through a ipsec tunnel but would work fine if accessed locally. I narrowed it down to the nginx config option/optimization of using sendfile. When I turned sendfile off it would not crash and work as expected. This is my post about the issue if you are interested. Stephenw10 and gimp were very kind to look into it, but could not reproduce the crash. I believe the nginx/sendfile issue is going to be difficult to reproduce as there are many moving parts related to it as I understand it. The issue may pop up with specific configurations of cpu/ram/nic drivers.
Again I do not know if it is your issue but just for giggles, try to disable sendfile on nginx configuration (read the post I linked on how to do it) and see what happens. -
This post is deleted! -
This post is deleted! -
Same problem here, Somethink looks very broken on my php:
[03-Feb-2023 17:06:25 UTC] PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20210902/opcache.so (/usr/local/lib/php/20210902/opcache.so: Undefined symbol "zend_inheritance_cache_get"), /usr/local/lib/php/20210902/opcache.so.so (Cannot open "/usr/local/lib/php/20210902/opcache.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: session: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: ctype: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20210902/curl.so (/usr/local/lib/php/20210902/curl.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/curl.so.so (Cannot open "/usr/local/lib/php/20210902/curl.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: filter: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: gettext: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: intl: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20210902/ldap.so (/usr/local/lib/php/20210902/ldap.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/ldap.so.so (Cannot open "/usr/local/lib/php/20210902/ldap.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: libbe: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: pcntl: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20210902/pdo.so (/usr/local/lib/php/20210902/pdo.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/pdo.so.so (Cannot open "/usr/local/lib/php/20210902/pdo.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: pfSense: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: posix: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20210902/radius.so (/usr/local/lib/php/20210902/radius.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/radius.so.so (Cannot open "/usr/local/lib/php/20210902/radius.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: readline: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: rrd: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20210902/shmop.so (/usr/local/lib/php/20210902/shmop.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/shmop.so.so (Cannot open "/usr/local/lib/php/20210902/shmop.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20210902/simplexml.so (/usr/local/lib/php/20210902/simplexml.so: Undefined symbol "zend_ce_stringable"), /usr/local/lib/php/20210902/simplexml.so.so (Cannot open "/usr/local/lib/php/20210902/simplexml.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20210902/sockets.so (/usr/local/lib/php/20210902/sockets.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sockets.so.so (Cannot open "/usr/local/lib/php/20210902/sockets.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20210902/sysvmsg.so (/usr/local/lib/php/20210902/sysvmsg.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20210902/sysvmsg.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20210902/sysvsem.so (/usr/local/lib/php/20210902/sysvsem.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvsem.so.so (Cannot open "/usr/local/lib/php/20210902/sysvsem.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20210902/sysvshm.so (/usr/local/lib/php/20210902/sysvshm.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvshm.so.so (Cannot open "/usr/local/lib/php/20210902/sysvshm.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20210902/tokenizer.so (/usr/local/lib/php/20210902/tokenizer.so: Undefined symbol "zend_ce_stringable"), /usr/local/lib/php/20210902/tokenizer.so.so (Cannot open "/usr/local/lib/php/20210902/tokenizer.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20210902/xml.so (/usr/local/lib/php/20210902/xml.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/xml.so.so (Cannot open "/usr/local/lib/php/20210902/xml.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20210902/zlib.so (/usr/local/lib/php/20210902/zlib.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/zlib.so.so (Cannot open "/usr/local/lib/php/20210902/zlib.so.so")) in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:06:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20210902/xmlreader.so (/usr/local/lib/php/20210902/xmlreader.so: Undefined symbol "dom_node_class_entry"), /usr/local/lib/php/20210902/xmlreader.so.so (Cannot open "/usr/local/lib/php/20210902/xmlreader.so.so")) in Unknown on line 0
[03-Feb-2023 18:06:25 Europe/Madrid] PHP Fatal error: Uncaught TypeError: Return value of g_get() must be an instance of mixed, string returned in /etc/inc/globals.inc:411
Stack trace:
#0 /etc/inc/globals.inc(129): g_get('product_version')
#1 /etc/inc/config.inc(29): require_once('/etc/inc/global...')
#2 /usr/local/pkg/wireguard/includes/wg_service.inc(24): require_once('/etc/inc/config...')
#3 {main}
thrown in /etc/inc/globals.inc on line 411
[03-Feb-2023 17:07:32 UTC] PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20210902/opcache.so (/usr/local/lib/php/20210902/opcache.so: Undefined symbol "zend_inheritance_cache_get"), /usr/local/lib/php/20210902/opcache.so.so (Cannot open "/usr/local/lib/php/20210902/opcache.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: session: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: ctype: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20210902/curl.so (/usr/local/lib/php/20210902/curl.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/curl.so.so (Cannot open "/usr/local/lib/php/20210902/curl.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: filter: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: gettext: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: intl: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20210902/ldap.so (/usr/local/lib/php/20210902/ldap.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/ldap.so.so (Cannot open "/usr/local/lib/php/20210902/ldap.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: libbe: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: pcntl: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20210902/pdo.so (/usr/local/lib/php/20210902/pdo.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/pdo.so.so (Cannot open "/usr/local/lib/php/20210902/pdo.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: pfSense: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: posix: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20210902/radius.so (/usr/local/lib/php/20210902/radius.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/radius.so.so (Cannot open "/usr/local/lib/php/20210902/radius.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: readline: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: rrd: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20210902/shmop.so (/usr/local/lib/php/20210902/shmop.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/shmop.so.so (Cannot open "/usr/local/lib/php/20210902/shmop.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20210902/simplexml.so (/usr/local/lib/php/20210902/simplexml.so: Undefined symbol "zend_ce_stringable"), /usr/local/lib/php/20210902/simplexml.so.so (Cannot open "/usr/local/lib/php/20210902/simplexml.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20210902/sockets.so (/usr/local/lib/php/20210902/sockets.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sockets.so.so (Cannot open "/usr/local/lib/php/20210902/sockets.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20210902/sysvmsg.so (/usr/local/lib/php/20210902/sysvmsg.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20210902/sysvmsg.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20210902/sysvsem.so (/usr/local/lib/php/20210902/sysvsem.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvsem.so.so (Cannot open "/usr/local/lib/php/20210902/sysvsem.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20210902/sysvshm.so (/usr/local/lib/php/20210902/sysvshm.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/sysvshm.so.so (Cannot open "/usr/local/lib/php/20210902/sysvshm.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20210902/tokenizer.so (/usr/local/lib/php/20210902/tokenizer.so: Undefined symbol "zend_ce_stringable"), /usr/local/lib/php/20210902/tokenizer.so.so (Cannot open "/usr/local/lib/php/20210902/tokenizer.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20210902/xml.so (/usr/local/lib/php/20210902/xml.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/xml.so.so (Cannot open "/usr/local/lib/php/20210902/xml.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20210902/zlib.so (/usr/local/lib/php/20210902/zlib.so: Undefined symbol "zend_objects_not_comparable"), /usr/local/lib/php/20210902/zlib.so.so (Cannot open "/usr/local/lib/php/20210902/zlib.so.so")) in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
[03-Feb-2023 17:07:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20210902/xmlreader.so (/usr/local/lib/php/20210902/xmlreader.so: Undefined symbol "dom_node_class_entry"), /usr/local/lib/php/20210902/xmlreader.so.so (Cannot open "/usr/local/lib/php/20210902/xmlreader.so.so")) in Unknown on line 0
[03-Feb-2023 18:07:32 Europe/Madrid] PHP Fatal error: Uncaught TypeError: Return value of g_get() must be an instance of mixed, string returned in /etc/inc/globals.inc:411
Stack trace:
#0 /etc/inc/globals.inc(129): g_get('product_version')
#1 /etc/inc/config.inc(29): require_once('/etc/inc/global...')
#2 /usr/local/pkg/wireguard/includes/wg_service.inc(24): require_once('/etc/inc/config...')
#3 {main}
thrown in /etc/inc/globals.inc on line 411 -
Those all look like errors generated during the upgrade. That's expected since the PHP version changes.
If you clear it and reboot do you see new errors? -
@stephenw10 those are after a second reboot.
-
@stephenw10 Rebooted multiple times including removing power for a minute. Also already pfSense-upgrade(d) twice (yesterday and today) to the latest dev versions with reboots afterwards. PHP files are just served as blank pages.
-
Ah, OK. Then the upgrade didn't complete for some reason. It's trying to use modules that are mismatched.
Check:
[23.01-RC][root@4100-2.stevew.lan]/root: pkg info -x php aws-sdk-php81-3.232.3 php81-8.1.11 php81-bcmath-8.1.11 php81-bz2-8.1.11 php81-ctype-8.1.11 php81-curl-8.1.11 php81-dom-8.1.11 php81-filter-8.1.11 php81-ftp-8.1.11 php81-gettext-8.1.11 php81-intl-8.1.11_1 php81-ldap-8.1.11 php81-libbe-0.1.4.1 php81-mbstring-8.1.11 php81-opcache-8.1.11 php81-openssl_x509_crl-1.3_1 php81-pcntl-8.1.11 php81-pdo-8.1.11 php81-pdo_sqlite-8.1.11 php81-pear-1.10.13 php81-pear-Auth_RADIUS-1.1.0_4 php81-pear-Cache_Lite-1.8.3,1 php81-pear-Crypt_CHAP-1.5.0_2 php81-pear-HTTP_Request2-2.5.1,1 php81-pear-Mail-1.4.1,1 php81-pear-Net_IPv6-1.3.0.b4_2 php81-pear-Net_SMTP-1.10.1 php81-pear-Net_Socket-1.2.2 php81-pear-Net_URL2-2.2.1 php81-pear-XML_RPC2-1.1.5 php81-pecl-mcrypt-1.0.5 php81-pecl-radius-1.4.0b1_2 php81-pecl-rrd-2.0.3 php81-pecl-ssh2-1.3.1 php81-pfSense-module-0.90 php81-phpseclib-2.0.17 php81-posix-8.1.11 php81-readline-8.1.11 php81-session-8.1.11 php81-shmop-8.1.11 php81-simplexml-8.1.11 php81-sockets-8.1.11 php81-sqlite3-8.1.11 php81-sysvmsg-8.1.11 php81-sysvsem-8.1.11 php81-sysvshm-8.1.11 php81-tokenizer-8.1.11 php81-xml-8.1.11 php81-xmlreader-8.1.11 php81-xmlwriter-8.1.11 php81-zlib-8.1.11
-
@stephenw10 said in WebGUI blank after upgrade to 23.01:
aws-sdk-php81-3.232.3
php81-8.1.11
php81-bcmath-8.1.11
php81-bz2-8.1.11
php81-ctype-8.1.11
php81-curl-8.1.11
php81-dom-8.1.11
php81-filter-8.1.11
php81-ftp-8.1.11
php81-gettext-8.1.11
php81-intl-8.1.11_1
php81-ldap-8.1.11
php81-libbe-0.1.4.1
php81-mbstring-8.1.11
php81-opcache-8.1.11
php81-openssl_x509_crl-1.3_1
php81-pcntl-8.1.11
php81-pdo-8.1.11
php81-pdo_sqlite-8.1.11
php81-pear-1.10.13
php81-pear-Auth_RADIUS-1.1.0_4
php81-pear-Cache_Lite-1.8.3,1
php81-pear-Crypt_CHAP-1.5.0_2
php81-pear-HTTP_Request2-2.5.1,1
php81-pear-Mail-1.4.1,1
php81-pear-Net_IPv6-1.3.0.b4_2
php81-pear-Net_SMTP-1.10.1
php81-pear-Net_Socket-1.2.2
php81-pear-Net_URL2-2.2.1
php81-pear-XML_RPC2-1.1.5
php81-pecl-mcrypt-1.0.5
php81-pecl-radius-1.4.0b1_2
php81-pecl-rrd-2.0.3
php81-pecl-ssh2-1.3.1
php81-pfSense-module-0.90
php81-phpseclib-2.0.17
php81-posix-8.1.11
php81-readline-8.1.11
php81-session-8.1.11
php81-shmop-8.1.11
php81-simplexml-8.1.11
php81-sockets-8.1.11
php81-sqlite3-8.1.11
php81-sysvmsg-8.1.11
php81-sysvsem-8.1.11
php81-sysvshm-8.1.11
php81-tokenizer-8.1.11
php81-xml-8.1.11
php81-xmlreader-8.1.11
php81-xmlwriter-8.1.11
php81-zlib-8.1.11I had them all, reinstalled with pkg install -f , I noticed when reintalling the phppear packages I got this
ERROR: The default config file is not a valid config file or is corrupted.
I saw that pear.conf was empty, reinstalled php81-pear* packages, I did not get the error but the gui is still not working. -
Are you still seeing those errors generated at boot?
-
@stephenw10 No, looks like now the errors in /tmp/PHP_errors.log are gone, but the GUI is still not working, just a blank page.
-
Hmm, well it looks like something else didn't get installed when the upgrade glitched.
If you have a ZFS install I would roll back the snapshot and run the upgrade again.
If you see the failure again check the full log of the upgrade, preferably from the console, to see where it's failing.
But here's what I have after upgrading:
[23.01-RC][root@4100-2.stevew.lan]/root: pkg info 7-zip-21.07_2 Console version of the 7-Zip file archiver arc-5.21p Create & extract files from DOS .ARC files arj-3.10.22_9 Open source implementation of the ARJ archiver aws-sdk-php81-3.232.3 PHP interface for Amazon Web Services (AWS) beep-1.0_1 Beeps a certain duration and pitch out of the PC Speaker bind-tools-9.18.8 Command line tools from BIND: delv, dig, host, nslookup... brotli-1.0.9,1 Generic-purpose lossless compression algorithm bsnmp-regex-0.6_2 bsnmpd module allowing creation of counters from log files bsnmp-ucd-0.4.5 bsnmpd module that implements parts of UCD-SNMP-MIB bwi-firmware-kmod-3.130.20 Broadcom AirForce IEEE 802.11 Firmware Kernel Module c-icap-0.5.10,2 ICAP server implementation c-icap-modules-0.5.5 Modules for c-icap: virus_scan and srv_url_check ca_root_nss-3.83 Root certificate bundle from the Mozilla Project ccid-1.5.0 Generic driver for USB CCID and ICCD check_reload_status-0.0.14 run various pfSense scripts on event. choparp-20150613 Simple proxy arp daemon clamav-0.105.1_1,1 Open-source (GPL) anti-virus engine (Regular Feature Release) cpdup-1.22 Comprehensive filesystem mirroring and backup program cpustats-0.1_1 cpustats curl-7.85.0 Command line tool and library for transferring data with URLs cyrus-sasl-2.1.28 RFC 2222 SASL (Simple Authentication and Security Layer) db5-5.3.28_8 Oracle Berkeley DB, revision 5.3 dbus-1.14.4,1 Message bus system for inter-application communication devcpu-data-20221002 AMD and Intel CPUs microcode updates devcpu-data-amd-20221002 AMD CPUs microcode updates devcpu-data-intel-20220809 Intel CPU microcode updates dhcp6-20080615.2_4 KAME DHCP6 client, server, and relay dhcpleases-0.5_1 read dhpcd.lease file and add it to hosts file dhcpleases6-0.1_3 read dhpcd6.leases file and trigger command on modification dmidecode-3.4_2 Tool for dumping DMI (SMBIOS) contents in human-readable format dnsmasq-2.87,1 Lightweight DNS forwarder, DHCP, and TFTP server dpinger-3.2 IP device monitoring tool e2fsprogs-libuuid-1.46.5_1 UUID library from e2fsprogs package expat-2.4.9 XML 1.0 parser written in C expiretable-0.6_2 Utility to remove entries from the pf(4) table based on their age filterdns-2.2 filterdns filterlog-0.1_9 filterlog flashrom-1.2 Utility for reading, writing, verifying, and erasing flash ROM chips freetype2-2.12.1_2 Free and portable TrueType font rendering engine gettext-runtime-0.21 GNU gettext runtime libraries and programs giflib-5.2.1 Tools and library routines for working with GIF images glib-2.74.0,2 Some useful routines of C programming (current stable version) gmp-6.2.1 Free library for arbitrary precision arithmetic hostapd-2.10_5 IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator icu-72.1,1 International Components for Unicode (from IBM) iftop-1.0.p4 Display bandwidth usage on an interface by host igmpproxy-0.3,1 Multicast forwarding IGMP proxy indexinfo-0.3.1 Utility to regenerate the GNU info page index ipmitool-1.8.18_3 CLI to manage IPMI systems isc-dhcp44-client-4.4.3P1 The ISC Dynamic Host Configuration Protocol client isc-dhcp44-relay-4.4.3P1 The ISC Dynamic Host Configuration Protocol relay isc-dhcp44-server-4.4.3P1 ISC Dynamic Host Configuration Protocol server jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes jpeg-turbo-2.1.4 SIMD-accelerated JPEG codec which replaces libjpeg json-c-0.16 JSON (JavaScript Object Notation) implementation in C krb5-1.20 MIT implementation of RFC 4120 network authentication service ldns-1.8.3 Library for programs conforming to DNS RFCs and drafts libargon2-20190702 Memory hard password hashing program and library libdeflate-1.14 Fast, whole-buffer DEFLATE-based compression library libedit-3.1.20210910,1 Command line editor library libevent-2.1.12 API for executing callback functions on events or timeouts libffi-3.4.3 Foreign Function Interface libgcrypt-1.9.4_1 General purpose cryptographic library based on the code from GnuPG libgd-2.3.3_2,1 Graphics library for fast creation of images libgpg-error-1.45 Common error values for all GnuPG components libiconv-1.17 Character set conversion library libidn2-2.3.3_1 Implementation of IDNA2008 internationalized domain names libimagequant-2.17.0 Image Quantization Library libinotify-20211018 Kevent based inotify compatible library libltdl-2.4.7 System independent dlopen wrapper liblz4-1.9.4,1 LZ4 compression library, lossless and very fast libmcrypt-2.5.8_3 Multi-cipher cryptographic library (used in PHP) libmspack-0.10.1 Library for Microsoft compression formats libnghttp2-1.48.0 HTTP/2.0 C Library libpci-3.8.0 PCI configuration space I/O made easy libpsl-0.21.1_6 C library to handle the Public Suffix List libsodium-1.0.18 Library to build higher-level cryptographic tools libssh2-1.10.0,3 Library implementing the SSH2 protocol libsysinfo-0.0.3_2 GNU libc's sysinfo port for FreeBSD libucl-0.8.1 Universal configuration library parser libunistring-1.1 Unicode string library libuv-1.44.2 Multi-platform support library with a focus on asynchronous I/O libxml2-2.10.3_1 XML parser library for GNOME libxslt-1.1.37 XML stylesheet transformation library lightsquid-1.8_5 Light and fast web based squid proxy traffic analyser lighttpd-1.4.67 Secure, fast, compliant, and flexible Web Server links-2.28,1 Lynx-like text WWW browser lua-resty-core-0.1.23 New FFI-based Lua API for OpenResty NGINX Lua modules lua-resty-lrucache-0.13 Lua-land LRU cache based on the LuaJIT FFI lua52-5.2.4 Small, compilable scripting language providing easy access to C code luajit-openresty-2.1.20220915 Just-In-Time Compiler for Lua (OpenResty branch) lzo2-2.10_1 Portable speedy, lossless data compression library minicron-0.0.2 very small cron miniupnpd-2.2.1_1,1 UPnP IGD implementation which uses pf/ipf mobile-broadband-provider-info-20220725 Service mobile broadband provider database mpd5-5.9_12 Multi-link PPP daemon based on netgraph(4) mpdecimal-2.5.1 C/C++ arbitrary precision decimal floating point libraries nettle-3.8.1 Low-level cryptographic library nginx-1.22.0_9,3 Robust and small WWW server node_exporter-1.3.1_6 Prometheus exporter for machine metrics nss_ldap-1.265_14 RFC 2307 NSS module ntp-4.2.8p15_5 The Network Time Protocol Distribution oniguruma-6.9.8_1 Regular expressions library compatible with POSIX/GNU/Perl openldap26-client-2.6.3 Open source LDAP client implementation opensc-0.22.0 Libraries and utilities to access smart cards openvpn-2.6.0_13 Secure IP/Ethernet tunnel daemon openvpn-auth-script-1.0.0.3 Generic script-based deferred auth plugin for OpenVPN openvpn-client-export-2.5.8 OpenVPN Client Export p5-CGI-4.54 Handle Common Gateway Interface requests and responses p5-Clone-0.45 Recursively copy Perl datatypes p5-Encode-Locale-1.05 Determine the locale encoding p5-GD-2.76 Perl5 interface to Gd Graphics Library version2 p5-HTML-Parser-3.78 Perl5 module for parsing HTML documents p5-HTML-Tagset-3.20_1 Some useful data table in parsing HTML p5-HTTP-Date-6.05 Conversion routines for the HTTP protocol date formats p5-HTTP-Message-6.38 Representation of HTTP style messages p5-IO-HTML-1.004 Open an HTML file with automatic charset detection p5-LWP-MediaTypes-6.04 Guess media type for a file or a URL p5-TimeDate-2.33,1 Perl5 module containing a better/faster date parser for absolute dates p5-URI-5.13 Perl5 interface to Uniform Resource Identifier (URI) references pam_ldap-186_1 PAM module for authenticating with LDAP pam_mkhomedir-0.2 Create HOME with a PAM module on demand pciids-20220909 Database of all known IDs used in PCI devices pcre-8.45_2 Perl Compatible Regular Expressions library pcre2-10.40 Perl Compatible Regular Expressions library, version 2 pcsc-lite-1.9.5,2 Middleware library to access a smart card using SCard API (PC/SC) perl5-5.32.1_3 Practical Extraction and Report Language pfSense-23.01.r.20230202.1645 Meta package to install pfSense required ports pfSense-Status_Monitoring-1.8 pfSense Status Monitoring pfSense-base-23.01.r.20230202.1645 pfSense core files pfSense-boot-23.01.r.20230202.1645 pfSense boot files pfSense-default-config-serial-23.01.r.20230202.1645 pfSense default serial config pfSense-kernel-pfSense-23.01.r.20230202.1645 pfSense kernel (pfSense) pfSense-pkg-Lightsquid-3.0.6_9 pfSense package Lightsquid pfSense-pkg-Netgate_Firmware_Upgrade-0.54 pfSense package Netgate Firmware Upgrade pfSense-pkg-System_Patches-2.0_7 pfSense package System_Patches pfSense-pkg-Tailscale-0.1.1_1 pfSense package Tailscale pfSense-pkg-WireGuard-0.1.6_5 pfSense package WireGuard pfSense-pkg-acme-0.7.3_1 ACME package for pfSense pfSense-pkg-aws-wizard-0.10 PfSense package AWS VPC VPN Connection Wizard pfSense-pkg-ipsec-profile-wizard-1.1_1 PfSense package IPsec Export for Apple and Windows devices pfSense-pkg-node_exporter-0.18.1_3 pfSense package node_exporter pfSense-pkg-openvpn-client-export-1.8 pfSense package openvpn-client-export pfSense-pkg-openvpn-client-import-1.2_1 pfSense package openvpn-client-import pfSense-pkg-squid-0.4.45_10 pfSense package squid pfSense-pkg-squidGuard-1.16.18_20 pfSense package squidGuard pfSense-rc-23.01.r.20230202.1645 pfSense rc script and rc.initial shell pfSense-repo-23.01.r.20230202.1645 Setup pfSense pkg(8) repositories pfSense-upgrade-1.0_53 pfSense upgrade script pftop-0.8 Utility for real-time display of statistics for pf php81-8.1.11 PHP Scripting Language (8.1.X branch) php81-bcmath-8.1.11 The bcmath shared extension for php php81-bz2-8.1.11 The bz2 shared extension for php php81-ctype-8.1.11 The ctype shared extension for php php81-curl-8.1.11 The curl shared extension for php php81-dom-8.1.11 The dom shared extension for php php81-filter-8.1.11 The filter shared extension for php php81-ftp-8.1.11 The ftp shared extension for php php81-gettext-8.1.11 The gettext shared extension for php php81-intl-8.1.11_1 The intl shared extension for php php81-ldap-8.1.11 The ldap shared extension for php php81-libbe-0.1.4.1 FreeBSD libbe(3) library glue extension for PHP php81-mbstring-8.1.11 The mbstring shared extension for php php81-opcache-8.1.11 The opcache shared extension for php php81-openssl_x509_crl-1.3_1 PHP Class to create openssl Certificate Revocation List (CRL) php81-pcntl-8.1.11 The pcntl shared extension for php php81-pdo-8.1.11 The pdo shared extension for php php81-pdo_sqlite-8.1.11 The pdo_sqlite shared extension for php php81-pear-1.10.13 PEAR framework for PHP php81-pear-Auth_RADIUS-1.1.0_4 PEAR wrapper classes for the RADIUS PECL php81-pear-Cache_Lite-1.8.3,1 Fast and Safe little cache system php81-pear-Crypt_CHAP-1.5.0_2 PEAR class for generating CHAP packets php81-pear-HTTP_Request2-2.5.1,1 PEAR classes providing an easy way to perform HTTP requests php81-pear-Mail-1.4.1,1 PEAR class that provides multiple interfaces for sending emails php81-pear-Net_IPv6-1.3.0.b4_2 Check and validate IPv6 addresses php81-pear-Net_SMTP-1.10.1 PEAR class that provides an implementation of the SMTP protocol php81-pear-Net_Socket-1.2.2 PEAR Network Socket Interface php81-pear-Net_URL2-2.2.1 PEAR Class for parsing and handling URL php81-pear-XML_RPC2-1.1.5 XML-RPC client/server library php81-pecl-mcrypt-1.0.5 PHP extension for mcrypt, removed in PHP 7.2 php81-pecl-radius-1.4.0b1_2 Radius client library for PHP php81-pecl-rrd-2.0.3 PHP bindings to rrd tool system php81-pecl-ssh2-1.3.1 PECL extension to the libssh2 library php81-pfSense-module-0.90 Library for getting useful info php81-phpseclib-2.0.17 PHP arbitrary-precision integer arithmetic library php81-posix-8.1.11 The posix shared extension for php php81-readline-8.1.11 The readline shared extension for php php81-session-8.1.11 The session shared extension for php php81-shmop-8.1.11 The shmop shared extension for php php81-simplexml-8.1.11 The simplexml shared extension for php php81-sockets-8.1.11 The sockets shared extension for php php81-sqlite3-8.1.11 The sqlite3 shared extension for php php81-sysvmsg-8.1.11 The sysvmsg shared extension for php php81-sysvsem-8.1.11 The sysvsem shared extension for php php81-sysvshm-8.1.11 The sysvshm shared extension for php php81-tokenizer-8.1.11 The tokenizer shared extension for php php81-xml-8.1.11 The xml shared extension for php php81-xmlreader-8.1.11 The xmlreader shared extension for php php81-xmlwriter-8.1.11 The xmlwriter shared extension for php php81-zlib-8.1.11 The zlib shared extension for php pkg-1.18.4_4 Package manager png-1.6.38 Library for manipulating PNG images py39-libzfs-1.1.2022081600 Python libzfs bindings py39-setuptools-63.1.0 Python packages installer python311-3.11.1_1 Interpreted object-oriented programming language python39-3.9.16 Interpreted object-oriented programming language qstats-0.2 read dhpcd.lease file and add it to hosts file radvd-2.19_2 Linux/BSD IPv6 router advertisement daemon rate-0.9_2 Traffic analysis command-line utility readline-8.1.2 Library for editing command lines as they are typed rrdtool-1.8.0_1 Round Robin Database Tools scponly-4.8.20110526_5 Tiny shell that only permits scp and sftp smartmontools-7.3 S.M.A.R.T. disk monitoring tools socat-1.7.4.3 Multipurpose relay and more sqlite3-3.39.3_1,1 SQL database engine in a C library squid-5.7 HTTP Caching Proxy squidGuard-1.4_15 Fast redirector for squid squid_radius_auth-1.10 RADIUS authenticator for squid proxy 2.5 and later squidclamav-7.2 Clamav c-icap service and redirector for Squid ssh_tunnel_shell-0.2_1 SSH tunnel shell sshguard-2.4.2_2,1 Protect hosts from brute-force attacks against SSH and other services strongswan-5.9.8 Open Source IKEv2 IPsec-based VPN solution tailscale-1.36.0 Mesh VPN that makes it easy to connect your devices tiff-4.4.0 Tools and library routines for working with TIFF images uclcmd-0.1_3 Command line tool for working with UCL config files unbound-1.17.1_2 Validating, recursive, and caching DNS resolver unzoo-4.4_2 ZOO archive extractor voucher-0.1_2 Voucher support vstr-1.0.15_1 General purpose string library for C webp-1.2.4 Google WebP image format conversion tool whois-5.5.7 Marco d'Itri whois client wireguard-kmod-0.0.20220615_1 WireGuard implementation for the FreeBSD kernel wireguard-tools-lite-1.0.20210914_1 Fast, modern and secure VPN Tunnel (lite flavor) wol-0.7.1_4 Tool to wake up Wake-On-LAN compliant computers wpa_supplicant-2.10_6 Supplicant (client) for WPA/802.1x protocols wrapalixresetbutton-0.0.13 Utility to detect platform reset button state for use in scripting xinetd-2.3.15_2 Replacement for inetd with better control and logging zip-3.0_1 Create/update ZIP files compatible with PKZIP zstd-1.5.2_1 Fast real-time compression algorithm
-
@stephenw10 ok, rolled back to an older boot environment, ran upgrade again on console.
pkg upgrade fails here:
[11/309] Extracting libgcrypt-1.9.4_1: 100%
pkg: Cannot delete vital package: php74!
pkg: If you are sure you want to remove php74,
pkg: unset the 'vital' flag with: pkg set -v 0 php74Running pkg upgrade again ends the upgrade but it still get no gui.
Rollback again ,executing pkg set -v 0 php74 before upgrade, see attched logupgradelog.txt with tons of errors during the upgrade
-
There are always a very large number of errors at the console because of the php version change.
I assume it then completes the upgrade successfully?
The odd thing there is that setting php74 as non-vital is normally close top the first thing the upgrade process does:
Proceed with upgrade? (y/N) y >>> Removing vital flag from php74... done. >>> Unlocking package pkg... done. >>> Downloading upgrade packages...
In the attached log though it looks like you just ran pkg upgrade which only pulls in the new packages and doesn't run any of the pfSense upgrade scripts. That would certainly result in a broken install. In fact normally I wouldn't expect that to do anything because the ABI is different and it would just refuse to pull in any pkgs. So I'm not sure what the state was you ran that from but it wasn't the normal 22.05 running condition.
Did you initially try this upgrade from the GUI? Or from the console menu option 13? Something else?
If you do need to upgrade the command line without the menu for some reason you should use
pfSense-upgrade
.Steve
-
@stephenw10 Oh my bad... The original upgrade with was using GUI, but on this second upgrade I wanted to upgrade by console to better get the logs and (on my defense it was very late on a friday :)) I did pkg upgrade instead of pfSense-upgrade. Looking back I found strange I had to reboot manually...
The good news is I rolled back, tried again using pfSense-upgrade from console and this time everything went smooth, so from my side problem closed.
@MacDefender this is probably not your problem, but check that you didn't do a pkg upgrade instead of a pfSense-upgrade -
Nice. Yeah pfSense-upgrade does a bunch of things that need to happen.
The fact you both ended up with similar symptoms suggests to me something similar happened. The cause for the upgrade failing may have been different though I agree.