Lost credentials and workflows after stopping and starting n8n service

We were facing errors on n8n server hosted on AWS via rpm so we stopped and started the server but after successfully starting it just redirected us to signup page. Our applications that were using n8n workflows stopped working. How can we recover all users and workflows, there should be backup, can someone help us on how to restore it.

n8n version: 1.68.0
Database: SQLite
Operating system: Linux

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @jbhosale,

Welcome to the community :tada:

We don’t provide an RPM option for installing n8n, However I suspevct you could be using Docker or similar and by the sound of the error you have not correctly set up the persistent storage that we require. If this is the case if you have not manually taken any backups there is no way to recover that data.

It would be worth making sure that /home/node/.n8n is on a storage volume that is not deleted.

We installed n8n on AWS EC2 instance using rpm. We were getting n8n.service not found so we stopped the service and started it back again. It took us directly to sign up/setup page after the restart instead of login. If /home/node/.n8n is on storage volume, can we recover credentials, and workflows

Do you see a /home/node/.n8n/database.sqlite and a /home/node/.n8n/config file?

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