//do the follow chown www-data /myproject chown www-data /myproject/db.sqlite3 chmod 777 /myproject/db.sqlite3