Freepbx 13 to 14 Errors no gui only ssh access

followed the rpm upgrade distro upgrade. All went smooth with no errors until the box came up. error

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 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:

How do we recover from this?

Hello,

You can try to upgrade all modules.
fwconsole ma showupgrades
fwconsole ma upgradeall
fwconsole chown
fwconsole r --verbose

Pls give me feed back. Thanks.

fwconsole ma showupgrades
fwconsole ma upgradeall

Upgradable:
±-----------±--------------±---------------+
| Module | Local Version | Online Version |
±-----------±--------------±---------------+
| sangomacrm | 14.0.1.2 | 14.0.1.2 |
±-----------±--------------±---------------+
[[email protected]_PBX ~]# fwconsole ma upgradeall
No repos specified, using: [standard] from last GUI settings

Module(s) requiring upgrades: sangomacrm
Upgrading module ‘sangomacrm’ from 14.0.1.2 to 14.0.1.2
Downloading module ‘sangomacrm’
Processing sangomacrm
Verifying local module download…Verified
Extracting…Done
Download completed in 1 seconds
Detected Missing Dependency of: zulu 14.0.3.31.6
Downloading Missing Dependency of: zulu 14.0.3.31.6
Processing zulu
Verifying local module download…Verified
Extracting…Done
Module zulu successfully downloaded
Installing Missing Dependency of: zulu 14.0.3.31.6
Updating tables zulu_interactions_interaction_states, zulu_softphones, zulu_tokens, zulu_interactions_contacts, zulu_interactions_interactions, zulu_interactions_members, zulu_interactions_streams, zulu_interactions_stream_bodies, zulu_interactions_stream_links, zulu_login_tokens…Done
Installing/Updating Required Libraries. This may take a while…The following messages are ONLY FOR DEBUGGING. Ignore anything that says ‘WARN’ or is just a warning
Installed npm-cache v0.7.0
Running installation…
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/zulu/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/zulu/node/package.json: 1ac581f2678dd334e0fdfbe156a25e01
[npm-cache] [INFO] [npm] cache exists
[npm-cache] [INFO] [npm] clearing installed dependencies at /var/www/html/admin/modules/zulu/node/node_modules
[npm-cache] [INFO] [npm] …cleared
[npm-cache] [INFO] [npm] retrieving dependencies from /home/asterisk/.package_cache/npm/5.6.0/1ac581f2678dd334e0fdfbe156a25e01.tar.gz
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/zulu/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] done extracting
[npm-cache] [INFO] successfully installed all dependencies

Finished updating libraries!
Stopping old running processes…Zulu Server is not running
Done
Generating CSS…Done
Installed Missing Dependency of: zulu 14.0.3.31.6
Unable to install module sangomacrm:

  • Zulu module version 14.0.3.31.6 or higher is required, you have 14.0.3.31.3
    Updating Hooks…Done
    All upgrades completed successfully!

fwconsole r --verbose

Reloading FreePBX
exit: 0
Unknown Error. Please Run /var/lib/asterisk/bin/retrieve_conf
Successfully reloaded

You can check your PBX services. following commands will be give some idea about PBX GUI.

service httpd status
netstat -ntlp | grep httpd
systemctl | grep httpd

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.