Project

General

Profile

Bug #9873

Switching the System Update to Development renders the system unbootable

Added by Steve Wheeler 4 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
High
Category:
Upgrade
Target version:
Start date:
11/01/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4-p3
Affected Architecture:

Description

If you select Development Snapshots branch in System > Update > Update Settings and then switch back to the Latest Stable branch the system will fail to reboot.

Enough things are pulled from the new branch when it is just selected to prevent it booting. Selecting the Stable branch does not recover them.

It's not possible to recover from the subsequent failed boot using the usual pkg-static commands as DNS is broken at that point:

Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20131226/opcache.so (Cannot open "/usr/local/lib/php/20131226/opcache.so"), /usr/local/lib/php/20131226/opcache.so.so (Cannot open "/usr/local/lib/php/20131226/opcache.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'session.so' (tried: /usr/local/lib/php/20131226/session.so (Cannot open "/usr/local/lib/php/20131226/session.so"), /usr/local/lib/php/20131226/session.so.so (Cannot open "/usr/local/lib/php/20131226/session.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/lib/php/20131226/bcmath.so (Cannot open "/usr/local/lib/php/20131226/bcmath.so"), /usr/local/lib/php/20131226/bcmath.so.so (Cannot open "/usr/local/lib/php/20131226/bcmath.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/local/lib/php/20131226/bz2.so (Cannot open "/usr/local/lib/php/20131226/bz2.so"), /usr/local/lib/php/20131226/bz2.so.so (Cannot open "/usr/local/lib/php/20131226/bz2.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'ctype.so' (tried: /usr/local/lib/php/20131226/ctype.so (Cannot open "/usr/local/lib/php/20131226/ctype.so"), /usr/local/lib/php/20131226/ctype.so.so (Cannot open "/usr/local/lib/php/20131226/ctype.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20131226/curl.so (Cannot open "/usr/local/lib/php/20131226/curl.so"), /usr/local/lib/php/20131226/curl.so.so (Cannot open "/usr/local/lib/php/20131226/curl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/local/lib/php/20131226/dom.so (Cannot open "/usr/local/lib/php/20131226/dom.so"), /usr/local/lib/php/20131226/dom.so.so (Cannot open "/usr/local/lib/php/20131226/dom.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'filter.so' (tried: /usr/local/lib/php/20131226/filter.so (Cannot open "/usr/local/lib/php/20131226/filter.so"), /usr/local/lib/php/20131226/filter.so.so (Cannot open "/usr/local/lib/php/20131226/filter.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'gettext.so' (tried: /usr/local/lib/php/20131226/gettext.so (Cannot open "/usr/local/lib/php/20131226/gettext.so"), /usr/local/lib/php/20131226/gettext.so.so (Cannot open "/usr/local/lib/php/20131226/gettext.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'hash.so' (tried: /usr/local/lib/php/20131226/hash.so (Cannot open "/usr/local/lib/php/20131226/hash.so"), /usr/local/lib/php/20131226/hash.so.so (Cannot open "/usr/local/lib/php/20131226/hash.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20131226/intl.so (Cannot open "/usr/local/lib/php/20131226/intl.so"), /usr/local/lib/php/20131226/intl.so.so (Cannot open "/usr/local/lib/php/20131226/intl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/lib/php/20131226/json.so (Cannot open "/usr/local/lib/php/20131226/json.so"), /usr/local/lib/php/20131226/json.so.so (Cannot open "/usr/local/lib/php/20131226/json.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20131226/ldap.so (Cannot open "/usr/local/lib/php/20131226/ldap.so"), /usr/local/lib/php/20131226/ldap.so.so (Cannot open "/usr/local/lib/php/20131226/ldap.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20131226/mbstring.so (Cannot open "/usr/local/lib/php/20131226/mbstring.so"), /usr/local/lib/php/20131226/mbstring.so.so (Cannot open "/usr/local/lib/php/20131226/mbstring.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/20131226/mcrypt.so (Cannot open "/usr/local/lib/php/20131226/mcrypt.so"), /usr/local/lib/php/20131226/mcrypt.so.so (Cannot open "/usr/local/lib/php/20131226/mcrypt.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/local/lib/php/20131226/openssl.so (Cannot open "/usr/local/lib/php/20131226/openssl.so"), /usr/local/lib/php/20131226/openssl.so.so (Cannot open "/usr/local/lib/php/20131226/openssl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/lib/php/20131226/pcntl.so (Cannot open "/usr/local/lib/php/20131226/pcntl.so"), /usr/local/lib/php/20131226/pcntl.so.so (Cannot open "/usr/local/lib/php/20131226/pcntl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20131226/pdo.so (Cannot open "/usr/local/lib/php/20131226/pdo.so"), /usr/local/lib/php/20131226/pdo.so.so (Cannot open "/usr/local/lib/php/20131226/pdo.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20131226/pfSense.so (Cannot open "/usr/local/lib/php/20131226/pfSense.so"), /usr/local/lib/php/20131226/pfSense.so.so (Cannot open "/usr/local/lib/php/20131226/pfSense.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'posix.so' (tried: /usr/local/lib/php/20131226/posix.so (Cannot open "/usr/local/lib/php/20131226/posix.so"), /usr/local/lib/php/20131226/posix.so.so (Cannot open "/usr/local/lib/php/20131226/posix.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20131226/radius.so (Cannot open "/usr/local/lib/php/20131226/radius.so"), /usr/local/lib/php/20131226/radius.so.so (Cannot open "/usr/local/lib/php/20131226/radius.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20131226/readline.so (Cannot open "/usr/local/lib/php/20131226/readline.so"), /usr/local/lib/php/20131226/readline.so.so (Cannot open "/usr/local/lib/php/20131226/readline.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20131226/rrd.so (Cannot open "/usr/local/lib/php/20131226/rrd.so"), /usr/local/lib/php/20131226/rrd.so.so (Cannot open "/usr/local/lib/php/20131226/rrd.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20131226/shmop.so (Cannot open "/usr/local/lib/php/20131226/shmop.so"), /usr/local/lib/php/20131226/shmop.so.so (Cannot open "/usr/local/lib/php/20131226/shmop.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20131226/simplexml.so (Cannot open "/usr/local/lib/php/20131226/simplexml.so"), /usr/local/lib/php/20131226/simplexml.so.so (Cannot open "/usr/local/lib/php/20131226/simplexml.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20131226/sockets.so (Cannot open "/usr/local/lib/php/20131226/sockets.so"), /usr/local/lib/php/20131226/sockets.so.so (Cannot open "/usr/local/lib/php/20131226/sockets.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/20131226/sqlite3.so (Cannot open "/usr/local/lib/php/20131226/sqlite3.so"), /usr/local/lib/php/20131226/sqlite3.so.so (Cannot open "/usr/local/lib/php/20131226/sqlite3.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20131226/sysvmsg.so (Cannot open "/usr/local/lib/php/20131226/sysvmsg.so"), /usr/local/lib/php/20131226/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20131226/sysvmsg.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20131226/sysvsem.so (Cannot open "/usr/local/lib/php/20131226/sysvsem.so"), /usr/local/lib/php/20131226/sysvsem.so.so (Cannot open "/usr/local/lib/php/20131226/sysvsem.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20131226/sysvshm.so (Cannot open "/usr/local/lib/php/20131226/sysvshm.so"), /usr/local/lib/php/20131226/sysvshm.so.so (Cannot open "/usr/local/lib/php/20131226/sysvshm.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20131226/tokenizer.so (Cannot open "/usr/local/lib/php/20131226/tokenizer.so"), /usr/local/lib/php/20131226/tokenizer.so.so (Cannot open "/usr/local/lib/php/20131226/tokenizer.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20131226/xml.so (Cannot open "/usr/local/lib/php/20131226/xml.so"), /usr/local/lib/php/20131226/xml.so.so (Cannot open "/usr/local/lib/php/20131226/xml.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xmlwriter.so' (tried: /usr/local/lib/php/20131226/xmlwriter.so (Cannot open "/usr/local/lib/php/20131226/xmlwriter.so"), /usr/local/lib/php/20131226/xmlwriter.so.so (Cannot open "/usr/local/lib/php/20131226/xmlwriter.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20131226/zlib.so (Cannot open "/usr/local/lib/php/20131226/zlib.so"), /usr/local/lib/php/20131226/zlib.so.so (Cannot open "/usr/local/lib/php/20131226/zlib.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20131226/zmq.so (Cannot open "/usr/local/lib/php/20131226/zmq.so"), /usr/local/lib/php/20131226/zmq.so.so (Cannot open "/usr/local/lib/php/20131226/zmq.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/20131226/pdo_sqlite.so (Cannot open "/usr/local/lib/php/20131226/pdo_sqlite.so"), /usr/local/lib/php/20131226/pdo_sqlite.so.so (Cannot open "/usr/local/lib/php/20131226/pdo_sqlite.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20131226/xmlreader.so (Cannot open "/usr/local/lib/php/20131226/xmlreader.so"), /usr/local/lib/php/20131226/xmlreader.so.so (Cannot open "/usr/local/lib/php/20131226/xmlreader.so.so")) in Unknown on line 0

Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.gui.inc(37): require_once('/etc/inc/notice...')
#3 /etc/inc/auth.inc(31): require_once('/etc/inc/config...')
#4 /etc/inc/captiveportal.inc(27): require_once('/etc/inc/auth.i...')
#5 /etc/inc/service-utils.inc(23): require_once('/etc/inc/captiv...')
#6 /etc/inc/pkg-utils.inc(24): require_once('/etc/inc/servic...')
#7 /etc/rc.bootup(24): require_once('/etc/inc/pkg-ut...')
#8 {main}
  thrown in /etc/inc/certs.inc on line 46
PHP ERROR: Type: 1, File: /etc/inc/certs.inc, Line: 46, Message: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.gui.inc(37): require_once('/etc/inc/notice...')
#3 /etc/inc/auth.inc(31): require_once('/etc/inc/config...')
#4 /etc/inc/captiveportal.inc(27): require_once('/etc/inc/auth.i...')
#5 /etc/inc/service-utils.inc(23): require_once('/etc/inc/captiv...')
#6 /etc/inc/pkg-utils.inc(24): require_once('/etc/inc/servic...')
#7 /etc/rc.bootup(24): require_once('/etc/inc/pkg-ut...')
#8 {main}
  thrown
Fatal error: Uncaught Error: Call to undefined function log_error() in /etc/inc/config.lib.inc:950
Stack trace:
#0 [internal function]: pfSense_clear_globals()
#1 {main}
  thrown in /etc/inc/config.lib.inc on line 950
Starting CRON... done.

Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
#3 /etc/rc.start_packages(22): require_once('/etc/inc/config...')
#4 {main}
  thrown in /etc/inc/certs.inc on line 46
pfSense 2.4.4-RELEASE (Patch 3) amd64 Thu May 16 06:01:19 EDT 2019
Bootup complete

FreeBSD/amd64 (Amnesiac) (ttyu0)

Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20131226/opcache.so (Cannot open "/usr/local/lib/php/20131226/opcache.so"), /usr/local/lib/php/20131226/opcache.so.so (Cannot open "/usr/local/lib/php/20131226/opcache.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'session.so' (tried: /usr/local/lib/php/20131226/session.so (Cannot open "/usr/local/lib/php/20131226/session.so"), /usr/local/lib/php/20131226/session.so.so (Cannot open "/usr/local/lib/php/20131226/session.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/lib/php/20131226/bcmath.so (Cannot open "/usr/local/lib/php/20131226/bcmath.so"), /usr/local/lib/php/20131226/bcmath.so.so (Cannot open "/usr/local/lib/php/20131226/bcmath.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/local/lib/php/20131226/bz2.so (Cannot open "/usr/local/lib/php/20131226/bz2.so"), /usr/local/lib/php/20131226/bz2.so.so (Cannot open "/usr/local/lib/php/20131226/bz2.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'ctype.so' (tried: /usr/local/lib/php/20131226/ctype.so (Cannot open "/usr/local/lib/php/20131226/ctype.so"), /usr/local/lib/php/20131226/ctype.so.so (Cannot open "/usr/local/lib/php/20131226/ctype.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20131226/curl.so (Cannot open "/usr/local/lib/php/20131226/curl.so"), /usr/local/lib/php/20131226/curl.so.so (Cannot open "/usr/local/lib/php/20131226/curl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/local/lib/php/20131226/dom.so (Cannot open "/usr/local/lib/php/20131226/dom.so"), /usr/local/lib/php/20131226/dom.so.so (Cannot open "/usr/local/lib/php/20131226/dom.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'filter.so' (tried: /usr/local/lib/php/20131226/filter.so (Cannot open "/usr/local/lib/php/20131226/filter.so"), /usr/local/lib/php/20131226/filter.so.so (Cannot open "/usr/local/lib/php/20131226/filter.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'gettext.so' (tried: /usr/local/lib/php/20131226/gettext.so (Cannot open "/usr/local/lib/php/20131226/gettext.so"), /usr/local/lib/php/20131226/gettext.so.so (Cannot open "/usr/local/lib/php/20131226/gettext.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'hash.so' (tried: /usr/local/lib/php/20131226/hash.so (Cannot open "/usr/local/lib/php/20131226/hash.so"), /usr/local/lib/php/20131226/hash.so.so (Cannot open "/usr/local/lib/php/20131226/hash.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20131226/intl.so (Cannot open "/usr/local/lib/php/20131226/intl.so"), /usr/local/lib/php/20131226/intl.so.so (Cannot open "/usr/local/lib/php/20131226/intl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/lib/php/20131226/json.so (Cannot open "/usr/local/lib/php/20131226/json.so"), /usr/local/lib/php/20131226/json.so.so (Cannot open "/usr/local/lib/php/20131226/json.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20131226/ldap.so (Cannot open "/usr/local/lib/php/20131226/ldap.so"), /usr/local/lib/php/20131226/ldap.so.so (Cannot open "/usr/local/lib/php/20131226/ldap.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20131226/mbstring.so (Cannot open "/usr/local/lib/php/20131226/mbstring.so"), /usr/local/lib/php/20131226/mbstring.so.so (Cannot open "/usr/local/lib/php/20131226/mbstring.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/20131226/mcrypt.so (Cannot open "/usr/local/lib/php/20131226/mcrypt.so"), /usr/local/lib/php/20131226/mcrypt.so.so (Cannot open "/usr/local/lib/php/20131226/mcrypt.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/local/lib/php/20131226/openssl.so (Cannot open "/usr/local/lib/php/20131226/openssl.so"), /usr/local/lib/php/20131226/openssl.so.so (Cannot open "/usr/local/lib/php/20131226/openssl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/lib/php/20131226/pcntl.so (Cannot open "/usr/local/lib/php/20131226/pcntl.so"), /usr/local/lib/php/20131226/pcntl.so.so (Cannot open "/usr/local/lib/php/20131226/pcntl.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20131226/pdo.so (Cannot open "/usr/local/lib/php/20131226/pdo.so"), /usr/local/lib/php/20131226/pdo.so.so (Cannot open "/usr/local/lib/php/20131226/pdo.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20131226/pfSense.so (Cannot open "/usr/local/lib/php/20131226/pfSense.so"), /usr/local/lib/php/20131226/pfSense.so.so (Cannot open "/usr/local/lib/php/20131226/pfSense.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'posix.so' (tried: /usr/local/lib/php/20131226/posix.so (Cannot open "/usr/local/lib/php/20131226/posix.so"), /usr/local/lib/php/20131226/posix.so.so (Cannot open "/usr/local/lib/php/20131226/posix.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20131226/radius.so (Cannot open "/usr/local/lib/php/20131226/radius.so"), /usr/local/lib/php/20131226/radius.so.so (Cannot open "/usr/local/lib/php/20131226/radius.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20131226/readline.so (Cannot open "/usr/local/lib/php/20131226/readline.so"), /usr/local/lib/php/20131226/readline.so.so (Cannot open "/usr/local/lib/php/20131226/readline.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20131226/rrd.so (Cannot open "/usr/local/lib/php/20131226/rrd.so"), /usr/local/lib/php/20131226/rrd.so.so (Cannot open "/usr/local/lib/php/20131226/rrd.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20131226/shmop.so (Cannot open "/usr/local/lib/php/20131226/shmop.so"), /usr/local/lib/php/20131226/shmop.so.so (Cannot open "/usr/local/lib/php/20131226/shmop.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20131226/simplexml.so (Cannot open "/usr/local/lib/php/20131226/simplexml.so"), /usr/local/lib/php/20131226/simplexml.so.so (Cannot open "/usr/local/lib/php/20131226/simplexml.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20131226/sockets.so (Cannot open "/usr/local/lib/php/20131226/sockets.so"), /usr/local/lib/php/20131226/sockets.so.so (Cannot open "/usr/local/lib/php/20131226/sockets.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/20131226/sqlite3.so (Cannot open "/usr/local/lib/php/20131226/sqlite3.so"), /usr/local/lib/php/20131226/sqlite3.so.so (Cannot open "/usr/local/lib/php/20131226/sqlite3.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20131226/sysvmsg.so (Cannot open "/usr/local/lib/php/20131226/sysvmsg.so"), /usr/local/lib/php/20131226/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20131226/sysvmsg.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20131226/sysvsem.so (Cannot open "/usr/local/lib/php/20131226/sysvsem.so"), /usr/local/lib/php/20131226/sysvsem.so.so (Cannot open "/usr/local/lib/php/20131226/sysvsem.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20131226/sysvshm.so (Cannot open "/usr/local/lib/php/20131226/sysvshm.so"), /usr/local/lib/php/20131226/sysvshm.so.so (Cannot open "/usr/local/lib/php/20131226/sysvshm.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20131226/tokenizer.so (Cannot open "/usr/local/lib/php/20131226/tokenizer.so"), /usr/local/lib/php/20131226/tokenizer.so.so (Cannot open "/usr/local/lib/php/20131226/tokenizer.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20131226/xml.so (Cannot open "/usr/local/lib/php/20131226/xml.so"), /usr/local/lib/php/20131226/xml.so.so (Cannot open "/usr/local/lib/php/20131226/xml.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xmlwriter.so' (tried: /usr/local/lib/php/20131226/xmlwriter.so (Cannot open "/usr/local/lib/php/20131226/xmlwriter.so"), /usr/local/lib/php/20131226/xmlwriter.so.so (Cannot open "/usr/local/lib/php/20131226/xmlwriter.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20131226/zlib.so (Cannot open "/usr/local/lib/php/20131226/zlib.so"), /usr/local/lib/php/20131226/zlib.so.so (Cannot open "/usr/local/lib/php/20131226/zlib.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20131226/zmq.so (Cannot open "/usr/local/lib/php/20131226/zmq.so"), /usr/local/lib/php/20131226/zmq.so.so (Cannot open "/usr/local/lib/php/20131226/zmq.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/20131226/pdo_sqlite.so (Cannot open "/usr/local/lib/php/20131226/pdo_sqlite.so"), /usr/local/lib/php/20131226/pdo_sqlite.so.so (Cannot open "/usr/local/lib/php/20131226/pdo_sqlite.so.so")) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20131226/xmlreader.so (Cannot open "/usr/local/lib/php/20131226/xmlreader.so"), /usr/local/lib/php/20131226/xmlreader.so.so (Cannot open "/usr/local/lib/php/20131226/xmlreader.so.so")) in Unknown on line 0

Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
#3 /etc/rc.banner(24): require_once('/etc/inc/config...')
#4 {main}
  thrown in /etc/inc/certs.inc on line 46

 0) Logout (SSH only)                  9) pfTop
 1) Assign Interfaces                 10) Filter Logs
 2) Set interface(s) IP address       11) Restart webConfigurator
 3) Reset webConfigurator password    12) PHP shell + pfSense tools
 4) Reset to factory defaults         13) Update from console
 5) Reboot system                     14) Enable Secure Shell (sshd)
 6) Halt system                       15) Restore recent configuration
 7) Ping host                         16) Restart PHP-FPM
 8) Shell

Enter an option:

Tested in 2.4.4p3 x86.

Associated revisions

Revision 6cadca6b (diff)
Added by Renato Botelho 2 months ago

Fix #9873: Use pkg-static

When pkg repo points to a new major version pkg is updated, use
pkg-static binary to check PHP version and make sure the command works

Revision b71df062 (diff)
Added by Renato Botelho 2 months ago

Fix #9873: Use pkg-static

When pkg repo points to a new major version pkg is updated, use
pkg-static binary to check PHP version and make sure the command works

Revision 58264457 (diff)
Added by Renato Botelho 2 months ago

Fix #9873: Use pkg-static

When pkg repo points to a new major version pkg is updated, use
pkg-static binary to check PHP version and make sure the command works

History

#1 Updated by Alex D 3 months ago

If it can help. I was able to correct the issue by running:

ssh to pfsense
cd /usr/local/lib/php/
ln -s 20170718/ 20131226

from: https://forum.netgate.com/topic/135868/php-errors-after-upgrade-to-2-4-4/11

#2 Updated by Renato Botelho 3 months ago

  • Status changed from New to In Progress
  • Assignee set to Renato Botelho
  • Priority changed from Normal to High
  • Target version set to 2.4.5

#3 Updated by Renato Botelho 2 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

#4 Updated by Renato Botelho 2 months ago

I've added a workaround on pfSense-repo post-install script to replace the call to `pkg info` by `pkg-static info` on /etc/rc.php_ini_setup. It's gonna help users to don't see this issue on outdated systems.

#5 Updated by Viktor Gurov 2 months ago

tested on pfSense 2.4.5.a.20191220.1407

Resolved

#6 Updated by Jim Pingle 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF