Issues After Upgrade

Sangoma Linux 7 (Core) (x86_64)
Kernel Version: 3.10.0-514.110.2.el7.x86_64

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’ - libmysqlclient.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’ - libmysqlclient.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’ - libmysqlclient.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 expects 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:

  1. () /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’ - libmysqlclient.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’ - libmysqlclient.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’ - libmysqlclient.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 expects 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:
  2. () /var/www/html/admin/modules/sysadmin/agi-bin/LoadLicenseIfExists.php:0

Anyone know how to resolve this and how to restore the web GUI, I am fairly new to using FreePBX and not too great with coding just yet. Any help is appreciated.

1 Like

Hi!

You seem to have at least 3 problems in there, some missing 64-bit MySQL/MariaDB libraries and something went wrong with the update of your commercial modules…

You also have a problem with the digium register module like @tm1000 had noticed in another thread about a failed upgrade.

re:

You essentially have the same problem this person had. Unfortunately it looks like that person stopped posting and did not create a ticket.

Can you please follow the steps described here

https://wiki.freepbx.org/display/PPS/Upgrading+from+Distro+6#UpgradingfromDistro6-Troubleshooting

(ie create a ticket on https://issues.freepbx.org/ and upload the two files it asks for…)

I would also suggest you do this

and post the results in your ticket…

Good luck and have a nice day!

Nick

distro-upgrade 1707-15.sng7

Hi!

This means that you used the currently latest upgrade package.

Please don’t forget to create a ticket on https://issues.freepbx.org/ and attach to it the /var/log/sngupdate and /var/log/post_sngupdate files…

The devs will need this in order to debug your problem…

Good luck, thank you and have a nice day!

Nick

were you able to solve this? I have the exact same problem

1 Like