Lost workflows after updating N8N

Hi there,

I lost my workflows when updating to a new version of N8N. I’m self hosting on a Digital Ocean droplet and unfortunately I didn’t back up. Previous upgrades were always without issue.

I updated using the following commands

  1. ssh [email protected]
  2. cd n8n-docker-caddy
  3. docker compose pull
  4. docker compose down
  5. docker compose up -d

Are my workflows lost forever, or can I retrieve them in some way? I’m not very good with using the terminal (as you can see). Would appreciate your help!

Information on your n8n setup

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

This is my Docker Compose file

Actually that’s strange. As I see, you have configured volumes so the n8n and DB’s data should be there

Yea :frowning: would there be anything I can do get my workflows back?

I didn’t lose all workflow but only my most recent ones that I worked on about a month ago.

Looking at my execution history of the workflows still in my instance, it seems I also lost the execution history.

Does anyone know if it would be possible to restore my missing workflows?

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