N8n update via docker compose

Hi All,

I have n8n self-hosted via Docker Compose, I have previously just used the following when updating and not had any issues, til 0.222.4 was released:

# Pull latest version
docker compose pull

# Stop and remove older version
docker compose down

# Start the container (The -d means detached mode)
docker compose up -d

My instance restarts but it stays on 0.222.3

image

Hey @Bailly_1,

In your compose file what version of n8n is set? If you are using latest I would expect this to be the case. The current versions are below, this is likely to be updated today with 0.224.4 becoming latest.

Current latest: 0.222.3
Current next: 0.225.1

You can find the version information in our docs here: Release notes - n8n Documentation

1 Like

Thanks for your reply Jon,

I don’t seem to have a version mentioned in the compose file, I am assuming I can just put this at the end of the image line?

image

Hey @Bailly_1,

So that would automatically use the latest tag which is what we consider to be stable, You could add :next at the end if you want a newer version.

1 Like

Thanks,

I still seem to be stuck on 0.222.3. It all looks fine in terminal, n8n restarts but I still have the update notification in the bottom left.

Maybe I’ll just try agian when the new version is out.

Its odd as everything seems okay when updating in terminal.

image

Hey @Bailly_1,

That looks to be correct to me, The latest release is 0.222.3. The latest tag is not latest as in newest version latest is what is considered stable.

2 Likes

Thanks Ben,

Okay, I think I understand what you mean now :slight_smile: so the notification shows there is a new version but its not updating as its not “stable”?

image

Hey @Bailly_1,

You got it :slight_smile: I will be making a new post about the version stuff soon.

1 Like

Thank you very much for your help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.