coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Force Deploy without Cache only works when the project is stopped!

Open OSZII opened this issue 1 year ago • 8 comments

Description

I had an issue today where my sveltekit app was not deployed correctly and some files where missing with a 404 error which resultet in a 500 Server error. I made sure to test my code by cloning it into another directory and installing it and running it there locally, it worked. I redeployed development and production environment, didn't work. I force deployed without cache for both development and production environment, didn't work. I created a new project called test and replicated the test environment and i WORKED.

Then I tried to stop my production deployment and then I did Force Deploy without cache and it did work same with development

Minimal Reproduction (if possible, example repository)

Unfortunatly I don't know how to reproduce and I don't know from which commit of my repo it crashed I didn't check it

Exception or Error

No response

Version

v4.0.0-beta.323

Cloud?

  • [ ] Yes
  • [X] No

OSZII avatar Aug 22 '24 17:08 OSZII

was this issue fixed?

lacksonmunthali avatar Feb 03 '25 15:02 lacksonmunthali

was this issue fixed?

i dont think so

yan-pi avatar Aug 11 '25 02:08 yan-pi

Noticed the same behavior when trying to redeploy on v4.0.0-beta.434. When the app was running, the force redeploy did not pull and build the new code. But stopping the app and force deploying worked.

pthorsson avatar Oct 05 '25 13:10 pthorsson

I'm facing the same issue, but even stopping the app and forcing a deploy without cache doesn't work.

Goldinnovation avatar Oct 13 '25 21:10 Goldinnovation

any updates on this?

MarcosGaius avatar Dec 06 '25 18:12 MarcosGaius

are you using any bind mounts?

djsisson avatar Dec 06 '25 18:12 djsisson

are you using any bind mounts?

yes, I have one here for certificates

MarcosGaius avatar Dec 06 '25 18:12 MarcosGaius

can you list the path, and the path of your deployment in its container

typically i see users add ./app:/app so it just overwrites whatever is in the container

djsisson avatar Dec 06 '25 18:12 djsisson