Took the dive and tried to upgrade from a clean running V13 to V14 using the upgrade script. The “pre-upgrade” went fine, then it rebooted. From there the upgrade did not occur and PBX was left in a non-running form (thankful for image based backups!!). I believe the error starts from the log file shown about half way down and says:
“Module compiled with module API=20090626
PHP compiled with module API=20131226
These options need to match”
Thoughts and direction is appreciated
The entire log error log displayed upon reboot is as follows:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ Sangoma 6 to 7 Upgrade Tool ┃
┃ ┃
┃ Distro Upgrade - Version 1707-12.sng7 ┃
┃ Build Date: 2017-08-11 ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Checking prerequsites…
Checking bitsize of machine [ ] - x86_64
Checking available disk space [ ] - 7G Available
Checking for outdated system [ ] - No pending updates.
Checking for HA Setup [ ] - Not a HA system
All prerequsites passed!
Are you ready to upgrade your machine to SNG7? This process requires
two reboots, and will download approximately 200mb of files before
starting. There will be no interruption to service until this machine
is rebooted.
Download files required for upgrade [Yn]? y
######### Starting setup upgrade on Sat Aug 12 08:26:03 EDT 2017 #########
######### Creating upgrade repofile #########
######### Installing needed packages #########
######### Running preupgrade #########
######### Running upgrade-tool #########
######### Downloading sangoma-release rpm #########
######### Updating packages.list #########
######### Verified sangoma-release in package.list #########
######### Reboot to finish this stage of the upgrade #########
######### Finished setup upgrade on Sat Aug 12 08:32:59 EDT 2017 #########
Preparations complete!
Please reboot your machine when convenient. This machine will install all the new
and upgraded packages, and then reboot for a second time automatically. After the
second reboot, it will then continue the upgrade process automatically. When the
upgrade is complete, you will be presented with a standard login prompt.
You have new mail in /var/spool/mail/root
[[email protected] ~]# reboot
Broadcast message from [email protected]
(/dev/pts/1) at 8:36 …
The system is going down for reboot NOW!
[[email protected] ~]#
login as: root
[email protected]’s password:
Last login: Sat Aug 12 08:25:05 2017 from xxx.xxx.xxx.xxx
PHP Warning: PHP Startup: digium_register: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysql.so’ - libmysqlclien t.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysqli.so’ - libmysqlclie nt.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ - libmysqlc lient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ - /usr/lib64/php /modules/wddx.so: undefined symbol: php_XML_SetUserData in Unknown on line 0
PHP Fatal error: Incompatible file format: The encoded file has format major ID 4, whereas the Loader exp ects 7 in /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Whoops\Exception\ErrorException: Incompatible file format: The encoded file has format major ID 4, whereas the Loader expects 7 in file /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Stack trace:
- () /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php:0
PHP Warning: PHP Startup: digium_register: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysql.so’ - libmysqlclien t.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysqli.so’ - libmysqlclie nt.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ - libmysqlc lient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ - /usr/lib64/php /modules/wddx.so: undefined symbol: php_XML_SetUserData in Unknown on line 0
PHP Fatal error: Incompatible file format: The encoded file has format major ID 4, whereas the Loader exp ects 7 in /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Whoops\Exception\ErrorException: Incompatible file format: The encoded file has format major ID 4, whereas the Loader expects 7 in file /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php on line 0
Stack trace: - () /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php:0