Last session crashed after update to 1.123.21 or higher

Describe the problem/error/question

I had very old version 1.x of n8n on my server. I decide to update it to last. And I get error after docker-compose up -d
”Last session crashed”

Then I update step by step no newer version. And found, that 1.123.20 starts good, without error, but 1.123.21 get error “Last session crashed”. Version 1.123.22 also get this error.

What is the error message (if any)? Last session crashed

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Console output (the last few lines)
node_version_str0.5.2
addon_version_str7.4.1
binary_version_str1.8.14
Checking Telemetry.
2026-03-26T21:57:50.727Z | debug | User settings loaded from: /home/node/.n8n/config {“file”:“instance-settings.js”,“functi
on”:“loadOrCreate”}
2026-03-26T21:57:51.098Z | debug | Received CLI command {“execPath”:“/opt/nodejs/node-v24.13.1/bin/node”,“scriptPath”:“/usr
/local/bin/n8n”,“args”:,“flags”:{},“file”:“cli-parser.js”,“function”:“parse”}
2026-03-26T21:57:51.104Z | error | Last session crashed {“file”:“crash-journal.js”,“function”:“init”}

I do not know, what I need to see more.

@pamir75

I ran into this too, 1.123.21 broke crash recovery from old SQLite schema changes. Quick fix that worked for me: rm /home/node/.n8n/database.sqlite + restart (make sure to backup first!). I’m staying on 1.123.20 until a patch drops. Had the same issue jumping versions

Thank you! I’m thinking about switching to postgress. Maybe it’s time.

1 Like