Credentials keep resetting

Information on your n8n setup

  • n8n version: 1.79.3
  • Database (default: SQLite): Railway POSTGRES
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 20.04

Not sure why the information I put in the markdown won’t show:

It appears possibly when I redeploy on Railway it’s wiping out all my saved credentials, even though they’re still in the vault all of the API keys are erased, killing all workflows that require connect.

I don’t get any error messages though.

hello @JaySmith502

Seems you didn’t set the persistent storage for the docker container. By default, the data will be deleted once the container is dead.

Thanks I’ll give it a shot!

Can you show the whole terminal command? I’m missing some info on line 1

Thanks!

Hey @JaySmith502 Here is the link to it n8n Docs

Hey @JaySmith502, were you able to fix this? I have the same issue.

Unfortunately not, I think it must’ve been the way the n8n template in Railway was configured. I switched to another template and tested several times and haven’t had an issue with credentials maintaining during redeploys.

1 Like

Ya same. I ended up just grabbing a different template and now it’s fine. Love Railway but they need a better way to bubble up community feedback on templates.

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