Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing data is lost each time I deploy manifest. #252

Open
SebConejo opened this issue Dec 17, 2024 · 7 comments
Open

Existing data is lost each time I deploy manifest. #252

SebConejo opened this issue Dec 17, 2024 · 7 comments
Assignees
Labels
bug Something isn't working severity: critical The issue breaks usage of the product

Comments

@SebConejo
Copy link
Contributor

SebConejo commented Dec 17, 2024

Describe the bug
When I redeploy Manifest, I lose all the existing data. This is normal for a local environment, but annoying in production.

To Reproduce

  1. Deploy manifest on any app platform (I chose Render when I discovered this issue)
  2. Add content to your app
  3. Relaunch a Deploy from render.io.
  4. You will notice that you lost everything, even your admin account.

Expected behavior
I like this behavior in local environment. But it's dangerous for production. For preproduction it depends. Maybe the good DX would be to set an environment variable for local and preprod envs. This varialbe allows you to choose whether you want to expose the data, or leave the existing one.

@SebConejo SebConejo added bug Something isn't working severity: critical The issue breaks usage of the product labels Dec 17, 2024
@Shub3am
Copy link

Shub3am commented Dec 20, 2024

Proposing a Solution to use Environment Variables to avoid this issue

@brunobuddy
Copy link
Contributor

@Shub3am can you give more infromation ?

@brunobuddy
Copy link
Contributor

@SebConejo Render.com web services do not offer data persistence. They seem to use some AWS stateless service to run the apps. They also offer storage and managed db but we have to configure it manually: https://render.com/docs/disks

@SebConejo
Copy link
Contributor Author

@brunobuddy Okay so what are the technical solutions? Should we remove it from the doc, leave it as is? Add a warning message ? Other Solutions ?

@anurag
Copy link

anurag commented Jan 13, 2025

@brunobuddy You can attach a disk to your Render web service and it will persist data across deploys. We don't use AWS stateless services; we've built our own.

@brunobuddy
Copy link
Contributor

@anurag thanks for your message, it seams that ChatGPT still believes that render.com is a layer over AWS

@SebConejo I guess we should put a warning message for now and accelerate the statelessness of Manifest to be able to extract the storage from the service

@grinnellsec
Copy link

I believe the same occurs for DigitalOcean as well, if anyone could confirm. Does anyone know of services which have persistence?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity: critical The issue breaks usage of the product
Projects
Status: To triage
Development

No branches or pull requests

5 participants