Now I can’t access freepbx GUI or even restart it.
I get:
[root@localhost ~]# [root@localhost ~]# [root@localhost ~]# amportal restart
Please wait…
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p ’
mkdir: missing operand
Try `mkdir --help’ for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ’ failed with an exit code of 1
You must create this directory and the try again.
[root@localhost ~]#
OK I got to admit, I screwed up. I copied the subject line (rm -rf /var/www/html/admin) instead of what was written on the body of the message (rm -rf /var/www/html/admin/modules/logfiles).
Fortunately I had a backup, so I just quickly rebuild the server. I’ll see if the symlink message comes back.
After rebuilding, restored backup, ran the correct rm now… and now I have the following error:
You have a broken module
Ignore this
The following modules are disabled because they are broken:
logfiles
You should go to the module admin page to fix these.
Added 0 minutes ago
(freepbx.modules_broken)
I disabled the module “Asterisk Logfiles” under the “Module Admin”. I’m assuming there is a bug on that module (2.11.0.8) and hopefully this will be corrected in the next release.