This may be a permission problem. the database file must be writable to the user you need to grant permission to db.sqlite3 here, myproject is the folder which contains db.sqlite3 file chmod 664 /path/to/myproject/db.sqlite3sudo chown :www-data /path/to/myproject/db.sqlite3 sudo chown :www-data…