Freepbx web not working after recent module upgrade

Two days ago there were some module updates, which involved an Apache reset, after clicking on the restart Button, the web interface stopped working & despite restarts & resets. The web interface is not working.

Does anyone have any idea’s ? It really annoying that an module update can cause the management interface to stop working :frowning:

systemctl status httpd

If your daemon is called apache2, them

systemctl status apache2

(my guess is your certs are bungled)

[root@s119 ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-08-03 21:04:51 BST; 1 weeks 2 days ago
Docs: man:httpd(8)
man:apachectl(8)
Main PID: 13761 (httpd)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”
CGroup: /system.slice/httpd.service
├─13761 /usr/sbin/httpd -DFOREGROUND
├─25383 /usr/sbin/httpd -DFOREGROUND
├─25384 /usr/sbin/httpd -DFOREGROUND
├─25385 /usr/sbin/httpd -DFOREGROUND
├─25386 /usr/sbin/httpd -DFOREGROUND
└─25387 /usr/sbin/httpd -DFOREGROUND

Aug 03 21:04:51 s119.rossanouk.net httpd[13761]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Aug 03 21:04:51 s119.rossanouk.net systemd[1]: Started The Apache HTTP Server.
Aug 07 03:27:01 s119.rossanouk.net systemd[1]: Reloading The Apache HTTP Server.
Aug 07 03:27:02 s119.rossanouk.net httpd[27901]: [Sun Aug 07 03:27:02.078216 2022] [so:warn] [pid 27901] AH01574: module ssl_module is alre…kipping
Aug 07 03:27:02 s119.rossanouk.net httpd[27901]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Aug 07 03:27:02 s119.rossanouk.net systemd[1]: Reloaded The Apache HTTP Server.
Below is the response

Aug 13 16:16:18 s119.rossanouk.net systemd[1]: Reloading The Apache HTTP Server.
Aug 13 16:16:18 s119.rossanouk.net httpd[25381]: [Sat Aug 13 16:16:18.260724 2022] [so:warn] [pid 25381] AH01574: module ssl_module is alre…kipping
Aug 13 16:16:18 s119.rossanouk.net httpd[25381]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Aug 13 16:16:18 s119.rossanouk.net systemd[1]: Reloaded The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.

Likely you will need to fix

Aug 07 03:27:02 s119.rossanouk.net httpd[27901]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist

if you want to see anything :wink:

I would, but after an upgrade via the web management console, Freepbx asked to restart Apache, then this is happened I have no idea why its happened and how to fix it.

So I’m wondering how to reset or restore the conf file & reset the ssl certs

where should the default file & directory be

everything is ‘rooted’ in /var/www/html with admin being where FreePBX is

grep DocumentRoot -r /etc/httpd/

The fault was in in the SSL cert files, deleted all the certificates, installed a new one & working fine

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