Asterisk error Couldn’t create astdb table: disk I/O error


Asterisk couldn’t start with error:

Couldn’t create astdb table: disk I/O error

Solution:

Move astdb.sqlite3 & astdb.sqlite-journal into a backup location. FreePBX regenerated databases

cd /var/lib/asterisk/
mv astdb.* /home

And restart asterisk