FreePBX Error /var/spool/asterisk/cache is not writeable

FreePBX users might run into a new error this past week. We've seen it suddenly on multiple machines. While using the web interface, we get the error screen stating that /var/spool/asterisk/cache is not writeable. We expect that a bad module update has caused this, but we have not identified which one, yet. But the fix is easy.

What has happened (in the cases that we have seen), is simply that the directory in question has become owned by root instead of asterisk. We can change this easily enough.

chown asterisk:asterisk -R /var/spool/asterisk/cache

You might want to restart the FreePBX processes...

fwconsole restart

These commands assume that you are logged in as root. If you are not, be sure to prepend with sudo.

FreePBX users might run into a new error this past week. We've seen it suddenly on multiple machines. While using the web interface, we get the error screen stating that /var/spool/asterisk/cache is not writeable. We expect that a bad module update has caused this, but we have not identified which one, yet. But the fix is easy.

What has happened (in the cases that we have seen), is simply that the directory in question has become owned by root instead of asterisk. We can change this easily enough.

chown asterisk:asterisk -R /var/spool/asterisk/cache

You might want to restart the FreePBX processes...

fwconsole restart

These commands assume that you are logged in as root. If you are not, be sure to prepend with sudo.