n8n Server Crashed? 3-Line Fix That Saved Me $200/Month [Copy Paste] 2026 Meta Description: n8n crashed after 1.85.0 update? Fix the "SQLITE_BUSY: database is locked" error in 2 minutes with this 3-line code. Save $200/month in failed automations.
My n8n server crashed 3 times this week after updating to v1.85.0. Every crash killed my automations and I was losing ~$200/month in failed leads and emails.
If you're seeing this error, here's the 2-minute fix.
The Error: "SQLITE_BUSY: database is locked"
After the 1.85.0 update, n8n locks the database if the server crashes or shuts down wrong. The workflow won't run and the editor freezes.
The 3-Line Fix [Copy Paste This]
Run these 3 commands on your server:
cd ~/.n8n
n8n stop
n8n start --tunnel
What it does:
n8n stop = kills the locked process
n8n start --tunnel = restarts n8n and clears the database lock
It worked for me instantly. No data lost.
How to Prevent It Next Time
- Update to 1.85.1 when it's released. They fixed the lock bug.
- Add this to your .env file:
EXECUTIONS_DATA_PRUNE=trueThis stops the database from getting too big and crashing.
Bookmark this page. n8n always has 1 bug after every major update 😅
Still Not Working?
Check the full troubleshooting guide with screenshots here: n8n Complete Troubleshooting Guide
