Checking write permission for gui folder

I installed asterisk gui, but if i login, ill get an endless loop of “Checking write permission for gui folder”

What to do??
Wortel538

Delete the well past end of life AsteriskGUI, and install FreePBX, or not use a GUI at all.

I assigned the permissions to the below list of folders as shows, it fixed my issue.

sudo chown -R asterisk:asterisk /var/lib/asterisk/
sudo chmod -R 777 /var/lib/asterisk/
sudo chown -R asterisk:asterisk /etc/asterisk/
sudo chmod -R 777 /etc/asterisk/

Note: Just make a note of previous folders’ permissions before applying these all changes.

AsteriskGUI is obsolete and unsupported.

Setting configuration directory permission to world write is extremely unsafe.