Traefik Error: Unable to Start When Enabling the Dashboard

Hi everyone, I’m currently using Dokploy with the latest version. I can’t get the Traefik dashboard to start since version v0.7.3. After enabling the dashboard, Traefik fails to create a new volume, so I’m not sure what’s going on. I’ve completely reinstalled the Ubuntu 22.04 server, opened up the entire firewall, and set up Dokploy, but the issue with starting the Traefik dashboard persists... Does anyone have experience that can help? Thanks a lot!
No description
24 Replies
Siumauricio
Siumauricio8mo ago
what are you trying to achieve?
VNSkeleton
VNSkeletonOP8mo ago
I want to access the Traefik Dashboard via port http://<Traefik IP>:8080 However when I enable this function in Dokploy. Treafik doesn't work anymore...
Siumauricio
Siumauricio8mo ago
have you tried to access to the url?
VNSkeleton
VNSkeletonOP8mo ago
I tried, after checking Docker, Traefik could not start anymore. Only when I shut down the Traefik Dashboard, the functions worked normally.
No description
Siumauricio
Siumauricio8mo ago
run docker service logs dokploy-traefik
VNSkeleton
VNSkeletonOP8mo ago
Traefik can't start, so there is no Log to investigate the cause 😦
No description
Siumauricio
Siumauricio8mo ago
can you access to the dokploy ui?
VNSkeleton
VNSkeletonOP8mo ago
yes, i can access with Address http://IP:3000 Access Dokploy with domain disabled by Traefik turned off
Siumauricio
Siumauricio8mo ago
ok, go to the UI -> traefik file system and select traefik.yml then paste this in the providers section
providers:
swarm:
exposedByDefault: false
watch: false
docker:
exposedByDefault: false
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
providers:
swarm:
exposedByDefault: false
watch: false
docker:
exposedByDefault: false
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
Then save and try to restart traefik
VNSkeleton
VNSkeletonOP8mo ago
Added configuration and restarted server. However traefik still can't start 😭
No description
No description
Siumauricio
Siumauricio8mo ago
Do docker service logs dokploy-traefik
VNSkeleton
VNSkeletonOP8mo ago
Docker Traefik cannot create volume and start, so cannot see Log 😦
Siumauricio
Siumauricio8mo ago
Did you delete something? Do this docker service rm dokploy-traefik Then run docker service scale dokploy=0 And then docker service scale=1
VNSkeleton
VNSkeletonOP8mo ago
No, I have tried this function since Dokploy v0.73. I have just installed a new server, and installed Dokploy 0.81 The server is completely clean, Traefik configuration for Docker Stack works fine. ONLY the Traefik Dashboard function does not work.
Siumauricio
Siumauricio8mo ago
Weird, I have 3 servers and have no issues
VNSkeleton
VNSkeletonOP8mo ago
I can't run the 3rd command, dokploy server doesn't work. I'm restarting the server...
No description
VNSkeleton
VNSkeletonOP8mo ago
I didn't find any discussion about this issue. I thought the problem was in the personal server, then I completely reinstalled Ubuntu 22.04 and installed the latest version. But haven't found a way to fix the error I don't see dokploy anymore Is there a way to reinstall dokploy while keeping the old data... 😭
Siumauricio
Siumauricio8mo ago
Check the command I shared You are entering a wrong command
VNSkeleton
VNSkeletonOP8mo ago
I ran "docker service scale dokploy=1" to restore Dokploy, everything is fine. Haven't found the cause with traefik Dashboard, this is weird 😦
Siumauricio
Siumauricio8mo ago
Try to check the logs of traefik
VNSkeleton
VNSkeletonOP8mo ago
I found out that port 8080 is being used by crowdsec. This might be the cause, I added port configuration for dashboard 8080>8888 but it doesn't work. Do you know how to do this...
No description
Siumauricio
Siumauricio8mo ago
Internally we expose the 8080 So There’s no way to change trough UI
VNSkeleton
VNSkeletonOP8mo ago
Hi @Siumauricio, Just to confirm, Traefik was conflicting with CrowdSec over port 8080, which was why the dashboard wasn’t working. After changing the port for Traefik, everything is working normally now. Thanks for your help, and sorry for wasting your time.
Siumauricio
Siumauricio8mo ago
😅 no worries

Did you find this page helpful?