Traefik container fails with "client version 1.24 is too old" on a fresh installation
To Reproduce
Hello Dokploy Team,
I have a new Dokploy installation on a Hetzner VM running Ubuntu 24.04. The Traefik container is continuously failing to connect to the Docker provider, making all my applications inaccessible. The Traefik logs repeatedly show the error: Provider error: "Error response from daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"
This is happening despite the fact that the system is using a very modern version of Traefik.
Current vs. Expected behavior
Troubleshooting steps (all have failed):
-
Confirmed traefik:v3.5.0 is running, which should be compatible with modern Docker APIs.
-
The main config file at /etc/dokploy/traefik/traefik.yml does not contain any clientVersion directive. Its contents are:
global: sendAnonymousUsage: false providers: swarm: exposedByDefault: false watch: true docker: exposedByDefault: false watch: true network: dokploy-network file: directory: /etc/dokploy/traefik/dynamic watch: true entryPoints: web: address: :80 websecure: address: :443 http3: advertisedPort: 443
-
A recursive search for clientVersion in the /etc/dokploy/traefik/dynamic directory returned no results. The directive is not present there.
-
docker inspect revealed that the container was not started by Docker Compose (the com.docker.compose.project.config_files label is empty).
-
Stopped and removed the original dokploy-traefik container and manually launched a new one with a clean docker run command, explicitly omitting any version flags.
sudo docker run -d
--name dokploy-traefik
--restart unless-stopped
-p 80:80 -p 443:443 -p 8080:8080 -p 443:443/udp
-v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml
-v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic
-v /var/run/docker.sock:/var/run/docker.sock
--network dokploy-network
traefik:v3.5.0
Provide environment information
Server: Hetzner Cloud VP
OS: Ubuntu 24.04.3 LTS
Dokploy version: dokploy/dokploy:latest
Traefik image: traefik:v3.5.0
Which area(s) are affected? (Select all that apply)
Traefik
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No
You're right @n-gon, a few minutes ago I also started getting this error on the new machine.
The error occurred with both docker and swarm providers, causing continuous retry attempts.
Upgrading to the latest Traefik image resolved the issue:
Stop and remove the existing container
docker stop dokploy-traefik && docker rm dokploy-traefik
Pull the latest Traefik image
docker pull traefik:latest
Recreate the container with the latest image
docker run -d \
--name dokploy-traefik \
--restart always \
-v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml \
-p 80:80 \
-p 443:443 \
-p 8080:8080 \
--network dokploy-network \
traefik:latest
Hope this gets fixed ASAP.
I also tried to locate the install.sh source in this GitHub repo, but couldn’t find it, so I wasn’t able to open a PR for it.
However, updating the Traefik image from v3.5.0 to v3.6.1 on the server side fixes the issue for me.
docker run -d \
--name dokploy-traefik \
--restart always \
-v /etc/dokploy/traefik/traefik.yml:/etc/traefik/traefik.yml \
-v /etc/dokploy/traefik/dynamic:/etc/dokploy/traefik/dynamic \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 80:80/tcp \
-p 443:443/tcp \
-p 443:443/udp \
traefik:v3.6.1
@MasterLambaster thanks!
docker network connect dokploy-network dokploy-traefik
@cagdaskarademir you have network bit missing see https://github.com/Dokploy/dokploy/pull/3000#issuecomment-3533091931
Ran into the same issue here installing latest dokploy yesterday.
Also discussed here: https://community.traefik.io/t/traefik-stops-working-it-uses-old-api-version-1-24/29019/13
Hope this gets fixed asap.
duplicate