hi
I have a problem, my workflow loss after I upgeading my n8n version.
I’m self-hosting n8n using Docker Compose with SQLite (persisted in a Docker volume). After upgrading the n8n image from 1.106 → 1.120.1 and restarting the container, many workflows reverted to older versions, and some newer workflows disappeared entirely. This looks like a data rollback / “jump back in time” issue.
I’d really appreciate any guidance on possible root causes and recommended troubleshooting steps.
1) Environment / Setup
-
Deployment: Docker Compose, single n8n container
-
n8n version: 1.106 → 1.120.1
-
Image:
n8nio/n8n:1.120.1 -
Database: SQLite (
database.sqlite) -
Persistent storage: Docker volume mounted to
/home/node/.n8n-
Volume:
n8n_n8n_storage_test -
DB path:
/home/node/.n8n/database.sqlite -
DB size: ~7.3GB
-
-
Verified mount:
n8n_n8n_storage_test -> /home/node/.n8n (RW=true)
So this does not look like a missing/wrong volume mount.
2) Symptoms
After upgrade + restart:
-
Many workflows reverted to older versions
-
Some newer workflows are missing
-
The instance appears to have returned to an earlier state
3) Findings
I queried the persisted SQLite DB (workflow_entity) and found a missing time range in workflow updates.
updatedAt distribution:
-
2025-12-31: 7 workflows -
2025-12-16: 52 workflows -
No entries for
2025-12-17 ~ 2025-12-30 -
Earlier dates look normal
4) Questions
-
Has anyone seen SQLite workflows/executions “jump back in time” after a n8n Docker image upgrade/restart?
-
Given DB integrity is OK, what could cause a missing time range like this?
-
What troubleshooting steps would you recommend to confirm the root cause?
Any insights would be greatly appreciated ![]()
(Unfortunately, I don’t have backups for the missing workflows, so I’m focusing on understanding the cause and preventing it from happening again.)