Strapi Data Disappearing

I’ve successfully deployed Strapi a couple of times, but I’m facing a frustrating problem – after a short while, all my data seems to disappear, and the admin page continuously prompts me to register again. I’ve double-checked configurations, databases, and logs, but I’m still unable to pinpoint the root cause of this problem.

If anyone in the community has experienced a similar situation or has insights into potential solutions, I would greatly appreciate your input.

Render instances have an ephemeral filesystem, meaning any file written to the instance after it has booted will be lost when it next restarts (e.g. spun down if on free instance type, next deploy, manual restart, etc.).

If you want to use file uploads on your service, you’ll need to have a persistent store, e.g. a Render Disk (which is chargeable and also require a paid instance type) or an external service like AWS S3.

It sounds like you’re using a SQLite database which would only work with an attached disk, if you choose not to use a disk you should switch to Postgres instead.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.