Skip to content
Thu 26 Nov 2026 · 00:23 UTC
XT.PT
SoftwareAutomation
News

n8n 3.0 drops npm installs: self-hosted n8n now has to run in Docker

n8n's 3.0 breaking-changes page requires Docker for self-hosting, removes legacy nodes that stop workflows from activating, and changes defaults that a 2.x environment file may depend on.

01 Nov 2026, 06:00 UTC 4 min · 667 words Prelo · Verified by Roger Morais
Docker

n8n, the workflow automation tool, released version 3.0 on October 27. The release notes call it "a major release with breaking changes," and the first item on the breaking-changes page is the one most self-hosters will notice: "n8n 3.0 no longer supports installations run using npm or npx n8n, and n8n 3.0 doesn't publish a runnable n8n package to npm."

The same page also says "n8n 3.0.0 is currently available as an early access release," so nobody is forced onto it yet. The list is long, and it is worth reading before the stable tag lands.

Docker or nothing

"Self-hosted n8n requires a Docker-based deployment," the page says. n8n's suggested path for npm users is its one-line installer script, which checks for Docker, writes the configuration files and starts a new instance. Existing Docker Compose setups do not need to change.

The npm change reaches node developers too. n8n-node dev used to start n8n with npx n8n@latest and now runs the official image, so it needs Docker or Podman. Its test data moves to a per-image container volume, and "Test data from earlier versions doesn't carry over."

Workflows that stop running

Dozens of legacy nodes are gone, including Function, Function Item, Item Lists, Cron, Interval, Read Binary File and the legacy OpenAI node. The consequence is spelled out: "Workflows that use a removed node fail when they run. If such a workflow is published, it doesn't activate when n8n 3.0 starts, so its triggers stop firing."

Some changes break nothing visibly and still change results:

  • With Always Output Data on, If and Switch nodes now add an empty item "only when every output is empty." Before, each empty output got one, "so branches ran when they shouldn't have."
  • Gmail Trigger versions 1 to 1.3 now run with version 1.4 behavior. The node "skips drafts unless you turn on the Include Drafts filter," and "Sent emails that aren't in the inbox, and scheduled emails, no longer trigger the workflow."
  • The Slack API credential now requires a signing secret. Without it, published workflows with a Slack Trigger node "don't activate after the upgrade and stop receiving events."

Tighter defaults

The security and configuration changes are the part a sysadmin should diff against their environment file:

  • With SSRF protection on and default in the block list, four ranges join it: ::/128, 100.64.0.0/10 (carrier-grade NAT), 2002::/16 (6to4) and 64:ff9b::/96 (NAT64). "Requests to hosts in these ranges fail" until they are allow-listed.
  • The Compression node's decompressed-size limit "drops from 2 GiB to 256 MiB," and the zip entry limit from 5,000 to 1,000.
  • N8N_RUNNERS_TASK_TIMEOUT drops "from 300 (5 minutes) to 60 (1 minute)," so long Code node tasks fail.
  • N8N_UNVERIFIED_PACKAGES_ENABLED defaults to false; installed unverified community nodes "stop loading."
  • On first start, ~/.n8n/binaryData is renamed to ~/.n8n/storage. If both directories already exist, "n8n 3.0 stops with an error instead of guessing which one to use." A volume mounted at the old path needs remounting, or N8N_STORAGE_PATH pointed at it.
  • Encryption key rotation is now on by default. n8n says existing data stays readable and is re-encrypted on its next update, and its advice is the usual one: back up the database first.

A report before the upgrade

The useful part of this release is that n8n built tooling for it. The breaking-changes page tells admins to open Settings > Migration Report first, which "lists the workflows and instance settings on your own instance that need attention." The 2.x point releases in the weeks before 3.0 kept adding to that report: impact labels such as "Upgrade blocked" and "Executions fail," a per-project filter, and bulk email to workflow owners. Run it on the current 2.x instance, fix what it flags, and let 3.0 leave early access before moving.

Primary sources: n8n, v3.0 Breaking changes, n8n, Release notes, read 2026-10-30.

Read next · Software / Linux Ubuntu 26.10 and the config you didn't change →