Cloud instance fully write-locked 8h — SqliteWriteConnectionMutex, dashboard restart stalled

Describe the problem/error/question

Note: I’m aware the template directs Cloud instance issues to help@n8n.io — a ticket is already filed and was auto-acknowledged with a 3-day expected response. Posting here because the instance has been fully write-locked for 8+ hours, the admin dashboard restart has itself stalled, and there is no remaining customer-side action available.

Our production Cloud instance has been unable to perform any database write since 2026-08-18 ~22:52 UTC. 83 active workflows are down. Pro plan.

Reads are served normally, but every write times out. Webhooks return an error because no execution row can be inserted. Workflows can be viewed but not edited, executed, or deactivated.

Restart attempted: I requested a version bump from the admin dashboard to force a restart. Workspace status has read “In progress” on n8n@1.123.69 without cycling, while the instance continues serving requests on the old version — the process does not appear to be terminating.

History on this instance: Crash sweeps in the execution table on 2026-07-20, 07-30, 08-02 and 08-13 show the worker has died roughly weekly. Those recovered automatically. This one has not.

Related: Timeout waiting for lock SqliteWriteConnectionMutex — Cloud Pro user reporting this many times per day across many workflows (Oct 2025, v1.112.6), including the same folder-click symptom. They reported that neither restart nor upgrade resolved it, a second user confirmed the same error, and the thread was closed without a staff resolution. Ten months later I’m hitting the same failure on 1.123.69.

So I’m asking for two things: (1) a forced restart of this instance, and (2) the actual cause and fix path. Is this a known limitation of SQLite write contention on Cloud at this workload — 83 active workflows, ~8,000 executions/month — and if so, is a Postgres-backed or dedicated deployment the answer? A restart that leaves the instance failing again next week isn’t a resolution.

Instance: htzone.app.n8n.cloud

What is the error message (if any)?

Timeout waiting for lock SqliteWriteConnectionMutex to become available

Measured from the browser console:

  • GET /rest/workflows?limit=1 → 200 in 274ms (reads healthy)
  • POST /rest/tags → no response, aborted at 35,005ms
  • GET /rest/projects/…/folders/…/tree → 500 after 60,084ms (two stacked 30s lock timeouts)
  • GET /rest/workflows?includeFolders=true → 500 with the mutex error above
  • GET /rest/insights/summary and /rest/data-tables-global/limits → same mutex error
  • Zero executions in new or running state — nothing is executing, so this appears to be a stuck connection rather than a live transaction

Webhook responses: {"code":0,"message":"There was a problem executing the workflow"}

Please share your workflow

Not applicable — this is instance-wide, not workflow-specific. No workflow can execute.

Share the output returned by the last node

Not applicable — no execution can start.

Information on your n8n setup

  • n8n version: 1.123.69
  • Database (default: SQLite): SQLite (Cloud-managed)
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default (Cloud-managed, not configurable)
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n Cloud
  • Operating system: N/A (managed) — client: Chrome

Hey @Uri_Ironi_HitechZone, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Igor_Ziemczyk, @ihortom - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Hi @Uri_Ironi_HitechZone Welcome!
Every write on Cloud goes through one SQLite write connection behind a 30 second mutex, shared by every concurrent execution and every editor and REST write, which is why reads stay healthy while anything touching the write path stacks 30s timeouts. A process that dies mid-transaction leaves that connection held, and the version change then sits at “In progress” because the old process won’t terminate while it is. A version change is a 1 to 2 minute restart normally, so at 8 hours there’s nothing customer-side left, only n8n can clear that connection.
On the recurrence: Pro-1 is 640MiB RAM and 20 millicore burstable CPU, with n8n itself using around 180MiB, and Pro prunes at 25000 executions or 30 days. 83 active workflows at ~8k executions/month leaves almost no headroom on that write path, which fits the weekly crash sweeps you’re seeing. The lever you have is writing less: Admin Panel > Manage > Executions to Save, deselect successful production executions. Pro-2 is the step up at 1280MiB and 80 millicore.
Postgres isn’t selectable on Cloud, DB_TYPE is a self-hosted variable, so Postgres-backed means self-hosting.

If you end up weighing that move, this covers the tradeoffs:

Thanks for letting us know about this, We have created CAT-4137 as the internal dev ticket to look into it.

Hi @Uri_Ironi_HitechZone, sorry for the long wait, and thanks for the detailed report.

We found one cause of this. When a database write failed, n8n reopened its write connection. If that reopen also failed, for example because of a short disk error, n8n kept the write lock. Every write after that timed out until a restart. Reads kept working, which matches what you saw.

This is now fixed, and the fix ships in the next 1.x and 2.x releases:

Your logs don’t show which fault started the lock in your case. If you see the error again after the update, please post here with the time it started.

New version n8n@1.123.88 got released which includes the GitHub PR 41918.

New version n8n@2.46.0 got released which includes the GitHub PR 41843.