I have been getting this error repeatedly on starting the amportal. It even looks like some script is deleting the /var/run/asterisk directory because it disappeared after I created it a few times.
I thought it was a permissions error but it looks like it got deleted every time I recreated.
What are the owner and group of /var/run/asterisk?
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to /var/run/asterisk but the directory
does not exists. Attempting to create it with: ‘mkdir -p /var/run/asterisk’