Report this

What is the reason for this report?

How do I update n8n?

Posted on May 13, 2025

Surely there is a one button click to update to the latest version of n8n?

I can’t see it and the instructions look pretty complicated:

1. Manual update via SSH (most common)

  1. SSH into your Droplet

    bash CopyEdit

    ssh root@YOUR_DROPLET_IP

  2. Pull the latest n8n image

    bash CopyEdit

    docker pull n8nio/n8n:latest

  3. Stop & remove your existing n8n container First, find its name or ID:

    bash CopyEdit

    docker ps

    Then stop and remove it (replace <CONTAINER>):

    bash CopyEdit

    docker stop <CONTAINER> docker rm <CONTAINER>

  4. Recreate the container Re-run the same docker run (or docker-compose up -d) command you originally used, but pointing at n8nio/n8n:latest. Example:

    bash CopyEdit

    docker run -d \ --name n8n \ -p 5678:5678 \ -v ~/.n8n:/home/node/.n8n \ n8nio/n8n:latest

  5. Verify Browse to your n8n URL and check the “n8n version” in the footer. It should now match the latest release on GitHub.

    Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey!

Yep, pulling the latest image and recreating the container is the correct way to update n8n when self-hosting.

If you’re using Docker Compose, the official guide makes updates and maintenance easier: https://docs.n8n.io/hosting/installation/server-setups/digital-ocean/#the-docker-compose-file

Definitely worth setting up if you haven’t already.

- Bobby

Heya,

Yep, if you are using Docker you just need to pull the latest image and recreate the container. Here is this straight from the n8n docs: https://docs.n8n.io/hosting/installation/server-setups/digital-ocean/#the-docker-compose-file

Heya, @a8f6770e0ea041dd9979ab89cbe7c8

You can use Watchtower to automatically update Docker container images. Watchtower, a lightweight container that automatically checks for updates and restarts your n8n container when a new version is available.

Once set up, you won’t need to manually run any commands — updates happen automatically.

https://www.digitalocean.com/community/tutorials/how-to-automatically-update-docker-container-images-with-watchtower-on-ubuntu-22-04

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.