Laravel + SQLite = SQLSTATE[HY000]General Error: 8 attempt to write a readonly database
You need to run two commands
First, change ownership of the Laravel directory to web group:
sudo chown -R :www-data /var/www/yourLarvelFolder
Second, give privileges over storage directory so it can be writable:
sudo chmod -R 775 /var/www/yourLarvelFolder/storage