Symlink error after module updates

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.

I’ve installed 2.11.0.9, but symlink error persists. Back to disabling module.

You need to fix your own symlink issues by deleting the erroring file.

Thanks! It now works. Here is what I done:
first deleted the file, not /etc/asterisk/logger/conf, but:
rm -rf /var/www/html/admin/modules/logfiles

Then I had to uninstall the module (Asterisk Logfiles) and then download and install version 2.11.0.9. It is now working fine.

At first I had deleted /etc/asterisk/logger, which is what the message said, but again, that doesn’t solve the problem.

Now I’m good. Thanks for all the help!