coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Traefik not restarting when using the "Restart Proxy" button (remote server)

Open nuxwin opened this issue 1 year ago • 4 comments

Description

When adding a remote server, restarting of the proxy doesn't seem to work when using the "restart" button. We need to stop the proxy, then start it again as workaround.

Minimal Reproduction (if possible, example repository)

Setup a remote server via the Coolify UI. Once done, try to restart the proxy using the provided "restart" button.

Exception or Error

Docker container is stopped but is never coming up back

Version

4.0.0-beta.302 (next image)

Cloud?

  • [ ] Yes
  • [X] No

nuxwin avatar Aug 07 '24 13:08 nuxwin

Please do not use the next image if you are not jut playing around, I change it very often - every day (like I changed a migration today, so you could end up using a wrong database layout).

I cannot reproduce the issue. Do you have any error shown?

andrasbacsai avatar Aug 07 '24 14:08 andrasbacsai

@andrasbacsai I use it as playground, don't worry. The bug is still relevant on the last released version ;) Want just help you a bit.

Edit: I'll try to provide you with more information.

nuxwin avatar Aug 07 '24 14:08 nuxwin

@andrasbacsai I can still reproduce the problem with latest released version. There is no logs available.

Context : Secondary server (remote), not the one which host Coolify.

Steps:

  1. Through the Coolify UI, for the secondary server, trigger a restart of the proxy by clicking on the provided "Restart Proxy" "button, in the proxy tab. The server won't restart and you'll end with a 504 Gateway Time-out error (see the first screen below).

Capture d’écran 2024-08-07 à 16 41 26 Capture d’écran 2024-08-07 à 16 52 21

nuxwin avatar Aug 07 '24 15:08 nuxwin

When using restart, it does stop correctly coolify-proxy so port 80, 443, 8080 are kept opened by docker-proxy and you can't start it anymore I stop and rm coolify-proxy then I killed manually docker-proxy processus listenning to previous mentionned ports then restart docker to make it work again

biboc avatar Aug 23 '24 11:08 biboc

This issue should be resolved in the latest version. If you're still experiencing this issue, please reopen or create a new issue with updated details.

peaklabs-dev avatar Nov 27 '24 15:11 peaklabs-dev