2 months ago
My N8N instance hosted in railway was deleted completely. I couldn't log in into my n8n/railway for couple of days for some reason.
I logged back in and shocked to see that in railway, all the four services were deleted via docker 4-5 days ago.
Again, I didn't do it myself for sure as I didn't even logged in. Railway might have messed up while moving to metal.
I have already read the docs and my limits have not been exceeded
https://docs.railway.com/reference/pricing/faqs#my-services-were-stopped-what-do-i-do
I'm on the Hobby plan and I need access to n8n to download my workflows
8 Replies
2 months ago
Heya Lucas, When you say deleted, do you mean that the Deployment was stopped? It looks like you redeployed the Service and everything is running fine now.
As you suspect this is indeed because we are migrating workflows to Metal. Usually we try to automatically restart your workloads but for some reason it wasn't done in this case.
Status changed to Awaiting User Response railway[bot] • about 2 months ago
echohack
Heya Lucas, When you say deleted, do you mean that the Deployment was stopped? It looks like you redeployed the Service and everything is running fine now.As you suspect this is indeed because we are migrating workflows to Metal. Usually we try to automatically restart your workloads but for some reason it wasn't done in this case.
2 months ago
when I click on Primary, it opens n8n "empty". All my workflows and credentials are gone.
I tried to perform a Rollback (history), but it still didn't work.
Status changed to Awaiting Railway Response railway[bot] • about 2 months ago
lucasmgimenes
when I click on Primary, it opens n8n "empty". All my workflows and credentials are gone.I tried to perform a Rollback (history), but it still didn't work.
2 months ago
I did this, but it didn't work.
2 months ago
Oh hey Lucas, we noticed that your postgres is missing a volume. You need to have a volume attached (and postgres configured to use the volume) so that your data is persistent. Containers don't persist data between re-deploys. So all your data will be lost everytime unless you use a volume.
Status changed to Awaiting User Response railway[bot] • about 2 months ago
echohack
Oh hey Lucas, we noticed that your postgres is missing a volume. You need to have a volume attached (and postgres configured to use the volume) so that your data is persistent. Containers don't persist data between re-deploys. So all your data will be lost everytime unless you use a volume.
2 months ago
How do I put this volume in Postgres? And I lost everything or if I put this volume, I can get my stuff back?
Status changed to Awaiting Railway Response railway[bot] • about 2 months ago
lucasmgimenes
How do I put this volume in Postgres? And I lost everything or if I put this volume, I can get my stuff back?
2 months ago
and how to configure this?
2 months ago
Hey Lucas,
Containers are stateless and will lose their data when they are rebooted unless you have a stateful volume or some kind of object storage where you're pushing your data.
We have Postgres Templates with volumes pre-attached if you want to use one of those to learn how to attach a volume. https://railway.com/template/postgres
Status changed to Awaiting User Response railway[bot] • about 2 months ago
2 months ago
I have staged a change to attach a volume for you, please feel free to click Deploy at your earliest convenience.
Status changed to Awaiting User Response railway[bot] • about 2 months ago