Django Lightsail - attempt to write a readonly database

Hi everyone…

For 5 days I have been trying to deploy my first larger django project on production server and I’m losing my hope…

I am deploying to AWS Lightsail, finally got to point where app is actually live (although the server just keeps randomly crashing…), but the main problem I get now is upon logging/registering I get this error:

Attempt to write a readonly database

I have tried changing permissions, but nothing…

Can someone help me, please

We’re flying a bit blind without the database configuration, but I’ll take a shot. :smile:

If I had to guess, you’ve got a SQLite db that is committed to a Docker container that Lightsail is using and the files are mounted as read only. I don’t know Lightsail so I could be completely off on that assessment.