We use the docker to work with N8N and are currently unable to update our 0.74.0 version to the latest using the old manuals,
Pull down the latest version from dockerhub
docker pull n8nio/n8n
Stop current setup
sudo docker-compose stop
Delete it (will only delete the docker-containers, data is stored separately)
sudo docker-compose rm
Then start it again
sudo docker-compose up -d
to be more precise, the update cannot be downloaded. access denied.
Can you please tell us what the problem is and how to solve it?
Sorry sadly not. Sounds more like dockerhub has some problems right now. The version got uploaded and is available and we could also download it fine.
So just to be sure. his command does not work for you?
docker pull n8nio/n8n:0.79.0
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=n8nio%2Fn8n&tag=0.79.0: dial unix /var/run/docker.sock: connect: permission denied
I see this error
when we was do last update everything was fine
Sorry to bother you, we have a strange problem with permission
sudo docker pull n8nio/n8n:0.79.0 – works
Thanks
hm, very strange. Can not think of any change we could have done that could cause a problem like this. Looks honestly more like something totally n8n unrelated issue. As stupid as it sounds but did you try to restart the server?
Restarting the server was exactly what helped solve the problem. Thank you.
But now I have another problem . the command line I see Status: Image is up to date for n8nio/n8n:0.79.0 but update will not apply,
on the server page about the server I see an old version of 0.74.0
Is there a problem displaying the version or some other problem? how do i check the version that is running in the docker container?
Did you reload the website after the update? If you check Docker what image is running is it really 0.79.0?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
756f39872c71 n8nio/n8n “tini – /docker-ent…” 2 hours ago Up 2 hours 127.0.0.1:5678->5678/tcp var_n8n_1
167a85f1f2e6 traefik “/entrypoint.sh --ap…” 2 hours ago Up 2 hours 80/tcp, 0.0.0.0:443->443/tcp var_traefik_1
this is what is running in the docker container.
of course, the server was restarted after an update, as in the first message of this topic
That does sadly not give any information about what version there is running right now. It more or less only says that it was the “latest” one at some point, meaning it could literally be any.
So for me, it looks like you did pull a specific version of the n8n container but you are then running “latest”. Meaning you should probably execute: docker pull n8nio/n8n
and then restart again. It should then work fine.