FreePBX Upgrade From 11 To 12 Php-Xml Install

I upgraded from FreePBX 11 to 12, followed the install instructions and now I’m getting this message on the system status page.

PHP-XML isn’t installed.

PHP-XML is a requirement of PHP SysInfo. System Statistics are disabled until that package is installed.
This can be resolved by installing the ‘php-xml’ package on most distributions, and then restarting Apache.

Does this mean I have to install another module within FreePBX, or does it mean install php-xml from the CentOS command line? I’m guessing the command would be “sudo yum install php-xml”. Just wanted to double check before doing something stupid!

1 Like

So I went ahead and installed php-xml with the command listed above. I restarted Apache with “sudo service httpd restart”. After this when I log in the FreePBX administration web portal I get directed to the status page like always. However the status pages shows Welcome to FreePBX and under that it says Frobulating. That is all I get, and if I click to browse to any other page while logged in it sends me back to the log in page. The phone system still works as expected, but this isn’t good!

1 Like

Anyone have this issue or any advice to how to fix it?

Saw this in a similar post to debug run the command “amportal a dbug” then login to the FreePBX admin interface. Here is the output, looks like a permission issue?

[root@localhost ~]# amportal a dbug

Please wait…

trying to run as user asterisk:

[FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]

==> /var/log/asterisk/freepbx_dbug <==

2014-Oct-21 13:36:44 Unknown:0
[WARNING]: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

2014-Oct-21 13:39:27 Unknown:0
[WARNING]: Unknown: open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O _RDWR) failed: Permission denied (13)

2014-Oct-21 13:39:27 Unknown:0
[WARNING]: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

==> /var/log/httpd/error_log <==
[Tue Oct 21 13:36:17 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_1dqcrac76fcnd44op8su2p2mj6, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/libraries/BMO/Ajax.class.php o n line 95, referer: http://192.168.255.1/admin/config.php
[Tue Oct 21 13:36:17 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: open(/var/lib/php/session/sess_1dqcrac76fcnd44op8su2p2mj6, O_RDWR) failed: Perm ission denied (13) in Unknown on line 0, referer: http://192.168.255.1/admin/con fig.php
[Tue Oct 21 13:36:17 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, refer er: http://192.168.255.1/admin/config.php
[Tue Oct 21 13:36:32 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_rbrolnckle45cabga0fj42ruf2, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/config.php on line 68
[Tue Oct 21 13:36:38 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_rbrolnckle45cabga0fj42ruf2, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/config.php on line 68, referer : http://192.168.255.1/admin/config.php
[Tue Oct 21 13:36:39 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_rbrolnckle45cabga0fj42ruf2, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/libraries/BMO/Ajax.class.php o n line 95, referer: http://192.168.255.1/admin/config.php
[Tue Oct 21 13:36:39 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: open(/var/lib/php/session/sess_rbrolnckle45cabga0fj42ruf2, O_RDWR) failed: Perm ission denied (13) in Unknown on line 0, referer: http://192.168.255.1/admin/con fig.php
[Tue Oct 21 13:36:39 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, refer er: http://192.168.255.1/admin/config.php
[Tue Oct 21 13:36:44 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_rbrolnckle45cabga0fj42ruf2, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/config.php on line 68, referer : http://192.168.255.1/admin/config.php
[Tue Oct 21 13:39:27 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/config.php on line 68

==> /var/log/asterisk/freepbx.log <==
[2014-Oct-21 10:55:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 11:26:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 11:55:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 12:26:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 12:55:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 13:26:02] [NOTICE] (BMO/Notifications.class.php:461) - [NOTIFICATIO N]-[freepbx]-[NOEMAIL] - No email address for online update checks (You are auto matically checking for online updates nightly but you have no email address setu p to send the results. This can be set in Module Admin. They will continue to sh ow up here.)
[2014-Oct-21 13:39:32] [INFO] (bin/freepbx_setting:39) - trying to run as user a sterisk:
[2014-Oct-21 13:39:32] [INFO] (bin/freepbx_setting:40) -
[2014-Oct-21 13:39:33] [INFO] (bin/freepbx_setting:76) - [FPBXDBUGDISABLE] chang ed from previous value: [1] to new value: [0]
[2014-Oct-21 13:39:33] [INFO] (bin/freepbx_setting:77) -

==> /var/log/httpd/error_log <==
[Tue Oct 21 13:39:38 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/config.php on line 68, referer : http://192.168.255.1/admin/config.php

==> /var/log/asterisk/freepbx_dbug <==
2014-Oct-21 13:39:38 Unknown:0
[WARNING]: Unknown: open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O _RDWR) failed: Permission denied (13)

2014-Oct-21 13:39:38 Unknown:0
[WARNING]: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

==> /var/log/httpd/error_log <==
[Tue Oct 21 13:39:39 2014] [error] [client 192.168.1.175] PHP Warning: session_ start(): open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O_RDWR) fail ed: Permission denied (13) in /var/www/html/admin/libraries/BMO/Ajax.class.php o n line 95, referer: http://192.168.255.1/admin/config.php
[Tue Oct 21 13:39:39 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: open(/var/lib/php/session/sess_dgq34u8d78ji9jft86qvgbak71, O_RDWR) failed: Perm ission denied (13) in Unknown on line 0, referer: http://192.168.255.1/admin/con fig.php
[Tue Oct 21 13:39:39 2014] [error] [client 192.168.1.175] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, refer er: http://192.168.255.1/admin/config.php
^C
[root@localhost ~]#

After diving a little deeper I found the command “amportal chown” which will set the appropriate file permissions on the needed files. After running this command all was working, hope this helps someone else with this issue in the future!

2 Likes

Works for me perfect thanks allot