Error in loading FreePBX dashboard

Hi all,
I have a fresh Asterisk 16 + FreePBX 15 install on a CentOS 8.1 (not a distro).
The issue is that dashboard is loading too long, getting stuck at 75%:

When timeout expires (50 s), it finally loads, but with empty section “System overview”:

Apache logs contains the following lines:

[Thu May 14 16:41:52.110192 2020] [proxy_fcgi:error] [pid 8643:tid 140221907703552] (70007)The timeout specified has expired: [client 10.33.3.248:54675] AH01075: Error dispatching request to : (polling), referer: http://10.10.1.149/admin/config.php
[Thu May 14 17:04:12.601101 2020] [proxy_fcgi:error] [pid 8643:tid 140222033770240] (70007)The timeout specified has expired: [client 10.33.3.248:56184] AH01075: Error dispatching request to : (polling), referer: http://10.10.1.149/admin/config.php?display=index

PHP version:

[root@hostname ~]# php -v
PHP 7.2.11 (cli) (built: Oct  9 2018 15:09:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Based on similar topics and my observations, I tried the following actions, but none of them helped:

  • Disable RSS feeds
  • Upgrade dashboard module (its current version is 15.0.5)
  • Provide correct hostname in /etc/hosts

Apart from this issue, the system seem to be operating properly; provisioning to Asterisk also works.
Could you please guide me what else should I check / correct?

Thanks.

/var/log/asterisk/freepbx.log may have some guidance.

The overview panel checks various subsystems and perhaps one of the tests is blocking. You can look through /var/www/html/admin/modules/dashboard/sections/Overview.class.php to see whether anything catches your attention. Do you have the mailq program installed? That’s the only direct system call in the script, and might be the offender.

@billsimon Thank you for the hint!
/var/log/asterisk/freepbx.log did not show any errors.
However, as a workaround, I have temporarily commented out all mailq calls in /var/www/html/admin/modules/dashboard/sections/Overview.class.php, and the issue was gone.

So, the root cause is in my mail subsystem rather than FreePBX.

Update:
yum -y install mailx postfix
has finally resolved the issue.
The dashboard is loading fine with all the sections in place.

1 Like

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