n8n 2.x to 3.0 upgrade

A planned n8n 2.x to 3.0 upgrade starts with the Migration Report, a full database backup and a staging test of every workflow that uses a removed node. This page covers what changes, the sequence and how rollback works.

On this page

Why a 2.x to 3.0 upgrade needs a plan before the cutover

A self-hosted n8n 2.x instance cannot simply be pointed at 3.0 on a Friday afternoon. Plan the 3.0 move as a major release with breaking changes, and confirm the supported path from your current 2.x minor in the release notes before any work is scheduled. The two risks that matter most are workflows that fail after the move and encryption data that older versions can no longer read. Some workflows fail only when they next run, so a clean startup does not prove the instance is healthy. n8n also ships minor releases roughly weekly, so an instance that is kept reasonably current on 2.x has a smaller and better understood gap to close. Staying current is context for planning, not a substitute for it.

The 3.0 changes that touch existing workflows are removed legacy nodes, including Function, Item Lists and the legacy OpenAI node, and new defaults for community packages and the task runner timeout. Each removed node is a workflow that will fail, so the inventory of affected workflows has to come before the upgrade rather than after it. The reader should also confirm how their instance stores binary data, since the storage directory is renamed on first start and the in-memory binary data mode is removed. Read the n8n v3.0 breaking changes page against the actual inventory, not from memory.

The most serious change is the one that cannot be reversed. Encryption key rotation is on by default from 3.0, and once a newer version writes data under a new data encryption key, older versions cannot read it. Treat a full database backup taken before the upgrade as a precondition, and confirm how the rotation setting will behave on your instance before the first start. Because rollback past this point depends on that backup, the decision on backups, the cutover window and the test workflows should be signed off together. The encryption key rotation documentation sets out what changes and what older versions lose.

What changes in n8n 3.0 and what each change breaks

This table lists each n8n 3.0 breaking change, what it does to a running instance and the action to take before cutover. Read it as a pre-upgrade checklist: any row marked as affecting your workflows or data needs a test in staging before you move production. The main takeaway is that node removals and key rotation can fail silently or lock out older versions, so they need the most planning.

ChangeImpactAction needed
Legacy nodes removed (Function, Function Item, Item Lists, Cron, Interval, HTML Extract, Read PDF, legacy OpenAI)Workflows that use any removed node fail when they run after the upgradeSearch workflows for these nodes, replace each with its current equivalent and test every affected workflow in staging
Binary data directory renamed from ~/.n8n/binaryData to ~/.n8n/storageThe rename happens on first start, so stored binary data can appear missing if paths or backups point to the old folderBack up the .n8n folder first, confirm the new storage path after the first start and update any scripts or mounts that reference the old name
In-memory binary data mode removedInstances or workflows that relied on keeping binary data in memory no longer have that optionCheck your binary data settings and move any workflows that depend on in-memory handling to filesystem or the supported storage mode
Unverified community packages off by defaultCommunity nodes installed from npm without verification stop loading unless you turn the setting back onDecide which community packages you need, review their code and confirm the setting before cutover, since it is a policy decision
Task runner timeout default lowered from 300 to 60 secondsLong-running Code node or task runner jobs may now time out where they previously completedIdentify long-running executions and set the timeout explicitly if your workloads need more time
Encryption key rotation on by defaultOnce n8n writes data with a new key, older n8n versions cannot read it, which complicates rollbackTake a full database backup before the first start on 3.0 and confirm your rollback plan covers this
Distribution change (confirm with the 3.0 release notes)The distribution model for 3.0 may differ from earlier releases, so your deployment method could be affectedConfirm the supported distribution against the 3.0 release notes rather than assuming, and update your image or install process to match

The pre-upgrade checks decide whether cutover can happen

The path starts in Settings, where the Migration Report lists workflows and instance settings that need attention. Next, the checks cover workflows that call removed legacy nodes, the ~/.n8n/binaryData to ~/.n8n/storage rename, community packages that are now off by default, and the lower task runner timeout. Any finding goes back to fixes and a rerun of the report. When the list is clear, take a full database backup before the staging cutover, because encryption key rotation writes data that older versions cannot read.

Decision path from the Migration Report to a staging cutover.

Preparing the 2.x instance before you touch 3.0

Four preparation items can run in parallel once the team agrees on the target version. Together they give you a restorable copy of the current instance, a clear list of what n8n 3.0 will affect, and a place to test the upgrade before production.

Full database backup before any step

Take a full database backup of the 2.x instance before you run any upgrade step, and confirm you can restore it. This is the one step that protects you if the upgrade or a later encryption key rotation leaves data that older versions cannot read. Store the backup outside the instance's own host and record the n8n version it came from. Restore a test copy before relying on it.

Rotation on by default
3.0
Key rotation docs

Inventory workflows and Migration Report findings

Open Settings > Migration Report on the 2.x instance and export the list of workflows and instance settings that need attention. Cross-check it against your own inventory of nodes in each workflow. Pay particular attention to Function, Function Item, Item Lists, Cron, Interval, HTML Extract, Read PDF and the legacy OpenAI node, because workflows that use a removed node fail after the upgrade.

New task runner timeout
60 seconds
v3.0 breaking changes

Copy the .n8n folder and encryption key

Copy the entire ~/.n8n folder and record the encryption key that protects stored credentials. Without the key, credentials in the database cannot be decrypted after a restore, and in queue mode every worker and webhook processor needs the same key. Plan for the directory rename: n8n 3.0 moves ~/.n8n/binaryData to ~/.n8n/storage on first start, so check that any scripts or mounts that reference the old path are updated.

Build a staging instance on 2.x

Stand up a staging instance on the same 2.x version as production, restored from a recent production backup with realistic data volumes and the same credentials. Run the upgrade there first and then exercise the workflows that matter most, including webhooks and scheduled runs. Staging only tells you something useful when it mirrors production, so note any differences in configuration or external connections.

n8n release notes

Verify community packages and custom nodes

List every community package and custom node installed on the instance, along with its source and owner. From 3.0, unverified community packages are off by default, so any package that is not verified will stop loading until someone re-enables it deliberately. Decide which packages you need, confirm each one works on the target version, and document who approved it.

Why encryption key rotation is the change to treat with the most care

From n8n 3.0, encryption key rotation is on by default, and this is the change in the upgrade most able to block a rollback. Once n8n writes data under a new data encryption key, older versions cannot read that data. A rollback to 2.x is therefore not a simple binary swap: restoring the old image without restoring the database taken before the upgrade leaves you with credentials that the older version cannot decrypt. Plan the rollback path before the first 3.0 start, not after the first failure.

The key also has to be managed across every process that touches the database. Any other n8n instance, test copy or worker that shares the same database and encryption key will be affected by data written under the new key, so check where else your instance's database is read. In queue mode, the main instance's encryption key must be shared with all worker and webhook processor nodes so they can read stored credentials, which means the key configuration on those nodes must move in step with the main instance. Confirm the exact rotation behavior and the setting that controls it in the n8n encryption key rotation documentation before you change any configuration.

n8n instructs you to take a full database backup before the upgrade, and that backup is the only reliable way back if rotation has already run. Store it somewhere the upgrade process cannot overwrite, record the n8n version and encryption key reference that match it, and test that you can restore it on a separate host. Decide in advance whether you will keep rotation on by default or disable it for the first 3.0 start, and document who approves that choice. The safest sequence is to rehearse the upgrade on a staging copy with a restored database and the same key, confirm workflows and credentials decrypt, and only then schedule production.

How to sequence the n8n 2.x to 3.0 upgrade

The sequence turns the 3.0 breaking changes into a tested cutover, with each step producing a check and a rollback point so production changes only after staging has passed.

  1. Open the Migration Report and record findings

    In the current 2.x instance, open Settings > Migration Report, which n8n recommends before upgrading to 3.0. It lists the workflows and instance settings that need attention. The owner of the n8n instance exports or copies the list into a change record, grouped by workflow owner and by issue type such as removed nodes, binary data settings and community packages. Done means every flagged item has a named owner and a status. No production change happens in this step, so the rollback point is simply the untouched instance.

  2. Fix or replace workflows that use removed nodes

    Workflows that use the Function, Function Item, Item Lists, Cron, Interval, HTML Extract, Read PDF or legacy OpenAI node fail after the upgrade. Workflow owners rebuild each affected flow with a supported replacement, such as the Code node or the current node for the service, and test it against sample data in the 2.x instance. Done means each flagged workflow runs successfully in 2.x with the replacement. Keep the original workflow version in the change record so it can be restored if the replacement behaves differently.

  3. Rehearse the upgrade on a restored staging copy

    Restore a recent production database backup into a staging environment that matches production's image, configuration and encryption key. Upgrade that copy to 3.0 and confirm it starts and migrates cleanly. The platform team records the migration output, any errors and the elapsed steps so the production window can be planned from observed behavior. Done means the staging upgrade completes with no unresolved errors. Rollback point: staging is disposable, so it can be restored from the same backup and run again.

  4. Confirm the storage directory rename on staging

    On first start, n8n 3.0 renames ~/.n8n/binaryData to ~/.n8n/storage and removes the in-memory binary data mode. On staging, confirm the directory is renamed, that binary files from existing executions remain readable, and that any mount points, backup jobs or scripts that reference the old path are updated. Done means a workflow that reads a stored file returns it correctly after the rename. Note that instances still in in-memory binary mode need a decision before production, since that mode is no longer available.

  5. Set community package and task runner decisions explicitly

    In 3.0, unverified community packages are off by default and the task runner timeout default drops from 300 to 60 seconds. Decide for each setting whether production needs it, record the decision and set the value in configuration rather than relying on defaults. Test one long-running Code node execution on staging against the 60 second limit, and confirm any community node used in production is verified or deliberately re-enabled. Done means the staging configuration file or environment reflects every decision, with reviewer sign-off.

  6. Take a full database backup of production

    Before the production upgrade, take a full database backup and store it outside the n8n host. n8n's encryption key rotation is on by default from 3.0, and once n8n writes data with a new data encryption key, older versions cannot read it. Also copy the .n8n folder and the current encryption key. Done means a restore of the backup has been verified on a separate database, and the backup location, timestamp and checksum are in the change record. This backup is the rollback point for the production cutover.

  7. Upgrade production and verify workflows, credentials and webhooks

    During the agreed change window, stop the instance, upgrade to the 3.0 image using the same steps rehearsed on staging, and start it. Then verify that the instance is healthy, that credentials open and test successfully, that active workflows load, and that production webhooks respond on their URLs. If queue mode is in use, main, worker and webhook processes must be upgraded together. Follow the queue upgrade topic for that sequence. Done means the verification checklist is signed off by the workflow owners.

  8. Keep the backup and old image until acceptance

    Keep the pre-upgrade database backup, the copied .n8n folder and the 2.x image tag available until the business owners accept the 3.0 instance. Do not delete or overwrite them during the first days of normal operation. Acceptance is recorded in the change log. Because database migrations only run forward, reverting after the new version has written data requires restoring the backup, so the restore procedure should be documented and rehearsed before the window closes. See the rollback topic for that procedure.

Testing workflows and rolling back if 3.0 breaks them

Test the 3.0 upgrade on a staging copy built from a recent production backup, and run a representative set of workflows before any production cutover. Choose workflows that cover each risk on the Migration Report: credential-using workflows that depend on decryption, webhook workflows whose responses callers rely on, scheduled workflows that must still fire on time, and any workflow that calls a community package, since unverified community packages are now off by default. Include at least one workflow that uses a legacy node you are replacing, so you can confirm that the failure and its replacement behave as expected. Check that stored credentials decrypt and authenticate against their target systems, that webhook test and production URLs return the same status codes and payloads as on 2.x, and that scheduled runs execute with the expected output. Confirm the **task runner timeout** change from 300 to 60 seconds against your longest-running workflows, because a job that finished under the old limit may now fail.

Rollback is the harder part. Once 3.0 writes data encrypted with a new data encryption key, a 2.x instance cannot read that data, so reverting the binary alone is not enough. Your rollback depends on two things kept together: a full database backup taken before the first 3.0 start, and the encryption key that matches that backup. Store the key separately from the backup and confirm you can restore both to a clean host. Also confirm how the ~/.n8n/binaryData directory was renamed to ~/.n8n/storage, and keep a copy of the original .n8n folder so the 2.x files are available if you revert. Read n8n's encryption key rotation guidance before deciding whether to disable rotation during the first cutover, and confirm that choice with your own change owner.

Rehearse the full rollback on staging before the production window: upgrade, let the instance write executions and credentials, then restore the database, key and folder to a 2.x image and confirm workflows run. Record the results as evidence for the go or no-go decision. Capture the Migration Report output, the list of workflows changed or replaced, the credential test results, webhook and schedule comparisons, the time each step took on your hardware, the backup checksum and the rollback rehearsal outcome. Set the decision criteria before testing begins, so the cutover team applies the same standard the test results were measured against.

What makes a 3.0 upgrade take longer

This table lists the factors that expand or shrink an n8n 2.x to 3.0 upgrade, why each one matters, and how to reduce its effect before work starts. Read each row against your own instance inventory, and use the last column to decide what belongs in a written quote. The main takeaway is that most of the extra time comes from finding and fixing workflows and settings before cutover, not from the upgrade command itself.

DriverWhy it mattersHow to reduce it
Workflows that use removed legacy nodesn8n 3.0 removes Function, Function Item, Item Lists, Cron, Interval, HTML Extract, Read PDF and the legacy OpenAI node, and workflows that use them fail. Each affected workflow needs rebuilding and retesting, so the count sets much of the effort.Open Settings > Migration Report before upgrading and list every affected workflow. Ask the quote to price rebuild and test time per workflow, not a flat fee.
Custom nodes and community packagesUnverified community packages are off by default in 3.0, so packages your workflows depend on may stop loading. Each package needs a compatibility check, a decision to re-enable or replace it, and a test of the workflows that call it.Export the package list from each instance and classify each one as verified, unverified, or private. Ask the quote to state how many packages are in scope and whether private nodes are included.
Database and binary data sizeThe storage directory moves from ~/.n8n/binaryData to ~/.n8n/storage on first start, and the in-memory binary data mode is removed. Large binary data and a large database lengthen the full backup that n8n recommends before the encryption key change, and the copy and restore steps.Measure database size and the binaryData folder before the change window. Confirm where backups are stored and how long a full restore takes in your environment, and ask the quote to include a restore test.
Queue mode with workers and task runnersIn queue mode, main, worker and webhook processes must run on the same version and share the encryption key. The task runner timeout default falls from 300 to 60 seconds, so long-running tasks may fail. Each process type adds a step to the sequence and a test.Map every main, worker and webhook process and its version before starting. Confirm whether long tasks need a timeout override. Ask the quote to list each process type as a separate upgrade and test step.
SSO, Git environments and log streamingSSO and LDAP, environments with Git, and log streaming are included only in the Business and Enterprise plans according to n8n's pricing page. If your instance depends on these features, the upgrade must also confirm that licensing, configuration and integrations still work afterward.Check which features are active and under which plan before the upgrade. Confirm current plan terms with n8n. Ask the quote to include verification of SSO login, Git sync and log delivery after cutover.
Number of environments kept in stepDevelopment, staging and production each need the same n8n version, node set and credential handling. Moving production first without the others leaves workflows that were tested against a different version, and it multiplies the number of retests.Upgrade a staging copy first, using a recent database backup, and carry the verified workflow fixes forward. Ask the quote to state how many environments are upgraded and whether each one is tested separately.
Encryption key rotation and rollback pathRotation is on by default from 3.0, and once n8n writes data with a new data encryption key, older versions cannot read it. A rollback therefore depends on a verified full database backup taken before the first 3.0 start.Confirm the backup and restore procedure on a copy before the change window. Ask the quote to include the backup, a documented rollback plan and a test restore.

Questions buyers ask before paying for n8n 3.0 upgrade help

What drives the cost of an n8n 3.0 upgrade and who pays for which part?

The main cost driver is how much of your workflow estate is affected by the 3.0 changes, not the version number itself. Cost splits into four parts: an inventory of workflows and settings (usually from the Migration Report), repair of workflows that use removed nodes, environment work (backup, staging, cutover and deployment changes), and testing with the people who own each workflow. A partner bills for the work in its written scope, while your team pays internally for workflow owners' time and any downtime windows. Ask any quote to itemize these four parts, to state which items are one-time and which are recurring, and to say who signs off on test results. DeployOpen does not publish prices, so a quote follows from the written scope.

How long does an n8n 3.0 upgrade take?

Duration depends mainly on how many workflows you run, how many environments must move together, and how many of those workflows use nodes that 3.0 removes. The removed legacy nodes include Function, Function Item, Item Lists, Cron, Interval, HTML Extract, Read PDF and the legacy OpenAI node, and any workflow that uses them fails until it is rewritten or replaced. A small instance with one environment and few affected workflows moves far faster than a multi-environment estate where each business owner must sign off. Ask the vendor for a timeline that counts the inventory, repair, staging test and cutover phases separately, and for the assumptions behind each one. The count of affected workflows from your own Migration Report is the most useful input for that estimate.

What must we provide before an n8n 3.0 upgrade starts?

You need to provide administrative access, a verified full database backup, a staging copy of the instance, and named owners for each workflow. Administrative access covers the n8n host or container platform, the database, and the identity provider if single sign-on is in use. Before any upgrade, n8n recommends a full database backup because encryption key rotation is on by default from 3.0 and newer data cannot be read by older versions, so the backup must be restorable and tested. A staging copy lets you run the Migration Report, repair workflows and test credentials without touching production. Workflow owners confirm expected behavior, since only they know what a repaired workflow must output. Ask your team to confirm the list against your own environment before scheduling work.

Can our internal team upgrade n8n to 3.0 without a partner?

Yes, an internal team can perform the upgrade if it has the skills and time, and many small instances are handled this way. The work requires container or server administration, database backup and restore practice, the ability to read workflow JSON and node behavior, and a clear test plan for each business process. Skill gaps usually appear in encryption key handling, queue mode with workers, and credential rebuilding after a restore. Start by reading the Migration Report on a staging copy and counting affected workflows. If that count is small and your team has done a restore test, an internal upgrade is realistic. If it is large or spans several environments, a partner can take the inventory and repair work under a written scope while your staff keep ownership of decisions.

Can an n8n 3.0 upgrade be undone after key rotation writes data?

Not by simply running an older version again. Once n8n 3.0 writes data under a new data encryption key, older versions cannot read it, so going back requires restoring the full database backup taken before the upgrade. That restore also brings back the workflows and credentials as they were at backup time, so any changes made after the backup are lost unless you replay them. This is why the backup must be taken and verified before the first 3.0 start, and why the restore procedure should be rehearsed on staging. Ask any partner for its written rollback plan, including who decides to roll back, how long the restore takes in your environment, and how post-backup changes are recovered. Confirm the rotation behavior against the encryption key rotation documentation before you schedule the cutover.

What is one-time work and what recurs after the n8n 3.0 upgrade?

The upgrade itself is one-time work: inventory, repair, environment changes, testing and cutover. Recurring work comes from n8n's release pattern, since n8n uses semantic versioning and ships minor releases roughly weekly, so the instance needs a regular update routine after 3.0 is live. Recurring costs include reviewing release notes, testing updates on staging, applying patches, keeping backups verified and maintaining credentials and node changes. Some of this can stay in-house, while ongoing support, upgrades and testing can also be bought as a retainer from DeployOpen on a written scope. Ask any quote to separate the one-time project fee from any recurring support, and to state what triggers additional work, such as new major versions or added instances.

How should we compare quotes for n8n 3.0 upgrade help?

Compare quotes by scope, not by headline number, because two quotes can cover very different work. Check whether each one starts with a Migration Report review, how many workflows and environments it includes, whether removed nodes are rebuilt or only flagged, and whether backup, restore testing and rollback planning are part of the price. Confirm the named responsibilities on both sides, the acceptance tests, and what happens if the inventory finds more affected workflows than expected. Ask for the assumptions in writing and for a list of items excluded from the fee. Fixed-scope agreements with deliverables and timelines set in writing before work starts make these comparisons easier. DeployOpen will provide a written quote from a defined scope, so you can compare it line by line with other offers.

Does n8n 3.0 change which edition or license we need?

The supplied facts do not say that 3.0 changes licensing or edition requirements, so confirm this with n8n before you plan. n8n is licensed under the Sustainable Use License, which allows use only for your own internal business purposes or for non-commercial or personal use. Files with .ee in their name or directory need a valid n8n Enterprise License. Single sign-on and LDAP, environments with Git, and log streaming are listed as included only in the Business and Enterprise plans, and multi-main high availability is restricted to Enterprise self-hosted deployments. Before budgeting, check your current plan against the features your workflows and identity setup depend on, and ask n8n whether any of these terms change in 3.0.

How DeployOpen scopes and delivers an n8n 3.0 upgrade

DeployOpen plans, implements, tests, documents and supports self-hosted open-source platforms inside your own infrastructure, and an n8n 3.0 upgrade follows the same method. We start from the Migration Report on your instance, then build and test the move in a staging copy before any production cutover.

How we scope

  • Inventory every workflow flagged in the Migration Report and classify it by removed node, storage path or community package use.
  • Confirm whether encryption key rotation, which is on by default from 3.0, has a documented key and a verified full database backup.
  • Agree in writing which workflows, instances and queue mode components are covered, since engagements are fixed-scope.

How we build

  • Rebuild affected workflows on supported nodes and test each replacement against sample inputs and expected outputs.
  • Rehearse the upgrade on a staging copy, including the one-time rename of the binary data directory to the storage directory on first start.
  • Review the community package setting and the lower task runner timeout default, then set explicit values for your workloads.

How we hand over

  • Deliver a written record of changed workflows, removed node replacements, configuration values and the tested cutover sequence.
  • Document the backup and restore steps for the database and the data directory, so your team can reverse a failed cutover.
  • Walk your operators through the rotated key handling and confirm which team holds the key material and where it is stored.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the 3.0 cutover.
  • Ask for a quote that lists the scope, deliverables and the retest of any workflow changed during the upgrade.
  • Confirm with your team how future minor releases will be tested in staging before they reach production.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.