D
Dokployโ€ข5mo ago
Chezzer

404 page not found

Whenever I deploy my compose, all my domains suddenly fail and return "404 page not found". I am doing this with vaultwarden recently, but it has happened on every single compose where I am now scared to re-deploy my compose. I am using the server feature. I can play with the deploy button and the reload traefik button but it always returns to 404 page not found after deploying
39 Replies
DJKnaeckebrot
DJKnaeckebrotโ€ข5mo ago
Some logs would be good and also some details on what youโ€™re deploying and how you assigned the domain ๐Ÿ™‚
Chezzer
ChezzerOPโ€ข5mo ago
Which logs? Nothing in traefik, the app says its running on the same port. I assigned the domain, pressed the deploy button and it started returning 404s
DJKnaeckebrot
DJKnaeckebrotโ€ข5mo ago
the logs from the container itself. what compose/software did you try to deploy? I might can take a look
No description
Chezzer
ChezzerOPโ€ข5mo ago
https://getoutline.com This is it working, but I looked earlier to see that theres no errors and I can access it fine inside the container by using wget when it 404s
No description
Chezzer
ChezzerOPโ€ข5mo ago
Chezzer
ChezzerOPโ€ข5mo ago
im running dokploy v0.15.1 I also recently updated from v0.9 if that has anything to do with it the only breaking change I saw was the ssh key one, which I remade
DJKnaeckebrot
DJKnaeckebrotโ€ข5mo ago
lemme redo some of the compose
MrSnoozles
MrSnoozlesโ€ข5mo ago
Getting the same issue on 0.15.1. 404 page not found on docker-compose deployments. Static projects and templates do work. What's strange is that there's no Traefik rule being created for the configured domain.
MrSnoozles
MrSnoozlesโ€ข5mo ago
GitHub
Traefik: subdomain rule not created, unable to reload ยท Issue #978 ...
To Reproduce I created a deployment using docker compose The application is reachable by port 4200 I change docker-compose: ports: - 4200:4200 to ports: - 4200 as per https://docs.dokploy.com/docs/...
Siumauricio
Siumauricioโ€ข5mo ago
I left you a message, but in short it would be better if you ask the novu people, apparently there are some issues in how to configure a load balancer vs. their service I honestly don't think it's a problem of dokploy itself, there are many templates added and that only the novu container fails leads me to think that it's something from novu itself. I see you did not add the dokploy-network which we mentioned in the documentation
MrSnoozles
MrSnoozlesโ€ข5mo ago
thanks for looking into it. Helps a lot to know that it's not necessarily something I am doing wrong. Will dig a bit deeper into Novu and try to update the issue if i find anything.
Siumauricio
Siumauricioโ€ข5mo ago
You also forgot to add the dokploy-network to the services But other than that, I see everything fine
MrSnoozles
MrSnoozlesโ€ข5mo ago
Ah, I thought that gets added when configuring the domain
Siumauricio
Siumauricioโ€ข5mo ago
yes it only adds to the service you added the domain
Chezzer
ChezzerOPโ€ข5mo ago
Are you able to explain why it works sometimes though?
Siumauricio
Siumauricioโ€ข5mo ago
what do you mean by it works sometimes?
Chezzer
ChezzerOPโ€ข5mo ago
when I reload traefik, it starts working then when I press the deploy button, it returns to 404 page not found
Chezzer
ChezzerOPโ€ข5mo ago
so something like this?
No description
Chezzer
ChezzerOPโ€ข5mo ago
now I am just flicking back between it working and a gateway timeout, WTF is going on?!?!! Hi, shouldn't this be added automatically in the compose conversion?
Chezzer
ChezzerOPโ€ข5mo ago
Now I am randomly getting this...
No description
Chezzer
ChezzerOPโ€ข5mo ago
@MrSnoozles @DJKnaeckebrot @Siumauricio @๐— ๐—ฟ๐Ÿญ๐—•๐—น๐—ฎ๐˜‡๐—ฒ http://bundle-group-outline-mak78d-59c83f-5-78-128-253.traefik.me/ try that out
Chezzer
ChezzerOPโ€ข5mo ago
logs, nothing wrong
No description
Chezzer
ChezzerOPโ€ข5mo ago
nothing in traefik log so why is it 504ing Also happening with a pterodactyl panel deployment on the actual dokploy server. Surprise surprise, a gateway timeout no healthchecks any ideas orrr?
๐— ๐—ฟ๐Ÿญ๐—•๐—น๐—ฎ๐˜‡๐—ฒ
Try to run docker services ps And give logs at traefik
Chezzer
ChezzerOPโ€ข5mo ago
On the remote server:
No description
Chezzer
ChezzerOPโ€ข5mo ago
On dokploy
No description
Chezzer
ChezzerOPโ€ข5mo ago
Traefik on remote server
Chezzer
ChezzerOPโ€ข5mo ago
Traefik on dokploy
Chezzer
ChezzerOPโ€ข5mo ago
(the errors about coastersandcrafters.com are unrelated)
Chezzer
ChezzerOPโ€ข5mo ago
Thankyou
๐— ๐—ฟ๐Ÿญ๐—•๐—น๐—ฎ๐˜‡๐—ฒ
your domain name is like domain.net ? I see troubles with certificates
Chezzer
ChezzerOPโ€ข5mo ago
docs.bundlegroup.gg
Chezzer
ChezzerOPโ€ข5mo ago
This logs every time I get a timeout
No description
Chezzer
ChezzerOPโ€ข5mo ago
why do I have to reload traefik to stop the 404ing from happening is my server bugged? can anyone help?
gold
goldโ€ข4mo ago
I've been chasing this same issue. Did you make any progress with it?
Siumauricio
Siumauricioโ€ข4mo ago
Can you try to add this to your existing traefik.yml ?
providers:
swarm:
exposedByDefault: false
watch: true
docker:
exposedByDefault: false
watch: true
network: dokploy-network
providers:
swarm:
exposedByDefault: false
watch: true
docker:
exposedByDefault: false
watch: true
network: dokploy-network
In both sides? remote and dokploy server?
Chezzer
ChezzerOPโ€ข4mo ago
no it was a mistake trusting dokploy in production traefik cant make a cert and literally all servers and dokploy server have crashed............................ last straw, goodbye

Did you find this page helpful?