coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Unable to update git repo docker compose / using cache

Open Zyles opened this issue 6 months ago • 2 comments

Error Message and Logs

I am unable to deploy an app using private gitlab repo.

It keeps referencing an old env variable that no longer exists. Even tho the docker-compose.yml file in the repo has been updated.

I even tried force deploy but it still, from somewhere is trying to use this variable and the build fails with:

failed to read /artifacts/wwkgsgw0ow4..../.env: Invalid template: "${GCP_SECRET_NAME"
exit status 1

I tried reloading the docker compose file, used advanced -> force deployment, but nothing works.

How do I empty this artifact cache?

Steps to Reproduce

  1. Hook up private gitlab repo
  2. Deploy once
  3. Update docker-compose.yml by changing env variable names in repo
  4. Try and deploy again

Example Repository URL

No response

Coolify Version

v4.0.0-beta.418

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

No response

Zyles avatar Jun 09 '25 08:06 Zyles

Is your domain on Cloudflare? There is some caching on Cloudflare you need to disable.

Cinzya avatar Jun 09 '25 09:06 Cinzya

@Zyles what is in the env tab for the project?

djsisson avatar Jun 09 '25 11:06 djsisson

We are closing this issue for now, as it has become stale and OP hasn't responded after a significant amount of time. We can re-open this issue again if anyone else is facing the same issue as well.

Cinzya avatar Oct 03 '25 20:10 Cinzya