After upgrade to framework 13.0.29 I had following error while running “Apply Config”:
exit: 1
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Exception: Unable to connect to Asterisk through the CLI in file /var/lib/asterisk/bin/retrieve_conf on line 24
Stack trace:
1. Exception->() /var/lib/asterisk/bin/retrieve_conf:24
Asterisk is running without problems, because of that I was searching for the reason.
When I perform fwconsole -vvv chown, an other error occurs. Here is the trace:
fwconsole runs as the logged in user (usually root) so for the chown operation it doesn’t matter what root is running as. I will take a look at the code and post a follow up. chown actually doesn’t need asterisk at all so it is weird that asterisk running or not running would be an issue