[Solved] How to update to 2.0 (self hosted)

How to update your n8n to Version 2.0 (self hosted)

For me it was a bit tricky to find out how to update my self hosted n8n to the new Version 2.0

Therefore I want to share my experience here:

What to do?

Open your docker-compose.yml

Change only this line:

image: n8nio/n8n

to:

image: n8nio/n8n:2.0.0

And then run

docker compose pull
docker compose down
docker compose up -d

For the next update, e.g. to Version 2.0.1 you must change the line above again.
You can also change it to

image: n8nio/n8n:2.0

Then you will receive Bug Fixes, because it will update automatically to 2.0.1, 2.0.2 and so on when you run

docker compose pull
2 Likes