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:
SSH into your Droplet
bash CopyEdit
ssh root@YOUR_DROPLET_IP
Pull the latest n8n image
bash CopyEdit
docker pull n8nio/n8n:latest
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>
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
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!
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.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.