coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
34.87k stars 1.91k forks source link

[Bug]: Error building a Docker Compose of a git #4397

Open guillempuche opened 4 days ago

guillempuche commented 4 days ago

Error Message and Logs

I cannot build a Docker Compose.

Image

Steps to Reproduce

  1. Create a resource with this git public repo https://github.com/guillempuche/selfhost_fullstack_in_vps that has multiple Docker Compose services
  2. Select Docker compose
  3. Location services/powersync. The location already have a file docker-compose.yaml
  4. Click "Save" and get the error

Example Repository URL

https://github.com/guillempuche/selfhost_fullstack_in_vps/tree/main/services/powersync

Coolify Version

v4.0.0-beta.372

Are you using Coolify Cloud?

Yes (Coolify Cloud)

Operating System and Version (self-hosted)

Ubuntu 20.04.6 LTS

Additional Information

I tested the same with a private repo using GitHub Apps https://github.com/coollabsio/coolify/issues/4348. I had the same success.

peaklabs-dev commented 3 days ago

I am not able to reproduce this issue, not with your public repo, nor with a GitHub app and a private report with the exact same file structure. Are you sure you set the exact path and use a valid GitHub app?

guillempuche commented 3 days ago

I cannot deploy the public git to my Hetzner VPS.

Image

Image

It looks like Coolify is connected to VPS correctly: Image

guillempuche commented 3 days ago

What else can I check?

djsisson commented 3 days ago

@guillempuche what version are you on, i just tested this too, first selecting /services/powersync before continuing, and also changing after picking nixpacks, it works both times, not sure what else to say

guillempuche commented 3 days ago

I'm using Coolify Cloud v4.0.0-beta.373. I suppose it updates automatically, right?

Image

djsisson commented 3 days ago

@guillempuche you are adding a / to the end after powersync right ??

guillempuche commented 3 days ago

@djsisson, I don't.

This is the config: Image

djsisson commented 3 days ago

@guillempuche ok it doesn't work if you dont, so thats the bug, (add one to the end and press enter

guillempuche commented 3 days ago

I did this:

  1. Replace /services/powersync for /services/powersync/

  2. Press Enter

  3. Coolify complains with the same error message as I posted in the issue Image

  4. Coolify puts back /services/powersync

guillempuche commented 1 hour ago

@djsisson , do you need more testing from me?