n8n 3.0: migrating from npm to Docker without losing workflows
Self-hosted n8n 3.0 now requires Docker. Those who run n8n with npm or npx n8n need to migrate n8n from npm to Docker before updating: the same version, the ~/.n8n folder mounted at /home/node/.n8n, and the same encryption key. This guide performs this switch, checks workflows, credentials, and executions, and only then points the tag to a 3.x version. What changes in n8n 3.0 The v3.0 Breaking… page
The self-hosted version of n8n 3.0 now requires a Docker-based deployment, as installations using npm or npx are no longer supported. Users currently running n8n via npm must migrate to Docker before updating to version 3.x to ensure workflows and credentials are preserved. While Kubernetes and Helm deployments are unaffected, those using SQLite must carefully back up their configuration and encryption keys to avoid losing access to encrypted credentials.
Support for n8n 1.x is scheduled to end on 31/12/2026, and users on that version must first upgrade to 2.x before moving to 3.x.
Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.
Source: dev.to