Error when running the docker-compose up -d command to update N8N via Docker

Hi @Jon , my N8N is on version 1.1.1, and I need to update to the latest version.

I executed the commands:
apt-get update
apt-get upgrade
docker-compose pull
docker-compose down
docker-compose up -d

Immediately after executing the last command “docker-compose up -d,” it gave the following error:

root@vultr:~# docker-compose up -d

Starting root_traefik_1 …
Starting root_traefik_1 … error
WARNING: Host is already in use by another container

ERROR: for root_traefik_1 Cannot start service traefik: driver failed programming external connectivity on endpoint root_traefik_1 (bf5fef1a54362ecc5969c65993df179b7ea16b46a40f4a1b449bb76f82ab6144): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
Starting root_n8n_1 … error

ERROR: for root_n8n_1 Cannot start service n8n: driver failed programming external connectivity on endpoint root_n8n_1 (7ee0e2c2d714998cb6f6d752bf764fcd5dd2123c249c4d1ecbb285758f58bbd8): Error starting userland proxy: listen tcp4 127.0.0.1:5678: bind: address already in use

ERROR: for traefik Cannot start service traefik: driver failed programming external connectivity on endpoint root_traefik_1 (bf5fef1a54362ecc5969c65993df179b7ea16b46a40f4a1b449bb76f82ab6144): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use

ERROR: for n8n Cannot start service n8n: driver failed programming external connectivity on endpoint root_n8n_1 (7ee0e2c2d714998cb6f6d752bf764fcd5dd2123c249c4d1ecbb285758f58bbd8): Error starting userland proxy: listen tcp4 127.0.0.1:5678: bind: address already in use
ERROR: Encountered errors while bringing up the project.

What could have happened? And what’s the solution?

Thank you in advance.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

n8n version: 1.1.1
Database (default: SQLite): VULTR
n8n EXECUTIONS_PROCESS setting (default: own, main): OWN
Running n8n via (Docker, npm, n8n cloud, desktop app): DOCKER
Operating system: UBUNTU

Hey @paulinho4am,

Welcome to the community :tada:

Looking at that docker is saying it can’t bind on port 443 or 5678 because something else is using it, Can you make sure the containers are stopped you can do this by running docker ps if you see anything in the list it is running and would need to be stopped if the port is 443 or 5678.

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