Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Deploying a APP from docker-compose trough API from a Public github repo #5301

Open
mrtornado opened this issue Mar 7, 2025 · 0 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@mrtornado
Copy link

Error Message and Logs

2025-Mar-07 18:20:54.535578
Starting deployment of wordpress-redis-git to localhost.
2025-Mar-07 18:20:54.661077
Preparing container with helper image: ghcr.io/coollabsio/coolify-helper:1.0.7.
2025-Mar-07 18:20:54.736492
[CMD]: docker rm -f ygs844oo04gk480skwgkgok8
2025-Mar-07 18:20:54.736492
Error response from daemon: No such container: ygs844oo04gk480skwgkgok8
2025-Mar-07 18:20:54.934218
[CMD]: docker run -d --network coolify --name ygs844oo04gk480skwgkgok8 --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper:1.0.7
2025-Mar-07 18:20:54.934218
aec115ba227f84549086b9f824d74c5d2e63f07f51befee4c8fe5072b7e4ed58
2025-Mar-07 18:20:55.761589
[CMD]: docker exec ygs844oo04gk480skwgkgok8 bash -c 'GIT_SSH_COMMAND="ssh -o ConnectTimeout=30 -p 22 -o Port=22 -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" git ls-remote https://github.com/mrtornado/coolify-wordpress-maria main'
2025-Mar-07 18:20:55.761589
4028e7d0a0120d11303ec149e6e201db5324662c refs/heads/main
2025-Mar-07 18:20:55.791443

2025-Mar-07 18:20:55.794797
Importing https://github.com/mrtornado/coolify-wordpress-maria:main (commit sha HEAD) to /artifacts/ygs844oo04gk480skwgkgok8.
2025-Mar-07 18:20:55.926790
[CMD]: docker exec ygs844oo04gk480skwgkgok8 bash -c 'git clone -b "main" https://github.com/mrtornado/coolify-wordpress-maria /artifacts/ygs844oo04gk480skwgkgok8 && cd /artifacts/ygs844oo04gk480skwgkgok8 && sed -i "s#git@(.*):#https://\1/#g" /artifacts/ygs844oo04gk480skwgkgok8/.gitmodules || true && cd /artifacts/ygs844oo04gk480skwgkgok8 && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" git submodule update --init --recursive && cd /artifacts/ygs844oo04gk480skwgkgok8 && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" git lfs pull'
2025-Mar-07 18:20:55.926790
Cloning into '/artifacts/ygs844oo04gk480skwgkgok8'...
2025-Mar-07 18:20:56.385413
sed: /artifacts/ygs844oo04gk480skwgkgok8/.gitmodules: No such file or directory
2025-Mar-07 18:20:56.847021
[CMD]: docker exec ygs844oo04gk480skwgkgok8 bash -c 'cd /artifacts/ygs844oo04gk480skwgkgok8 && git log -1 4028e7d0a0120d11303ec149e6e201db5324662c --pretty=%B'
2025-Mar-07 18:20:56.847021
dasdas
2025-Mar-07 18:20:57.335147
Oops something is not okay, are you okay? 😢
2025-Mar-07 18:20:57.337342
Failed to read Git source:
2025-Mar-07 18:20:57.337342
2025-Mar-07 18:20:57.337342
bash: line 1: cd: /artifacts/kowwog0ggso4c8wcw40s8csk: No such file or directory
2025-Mar-07 18:20:57.337342
bash: line 1: cd: /artifacts/kowwog0ggso4c8wcw40s8csk: No such file or directory

Steps to Reproduce

  1. Create a public repo with a docker-compose file.
  2. Use the /applications/public endpoint to create an app from a docker-compose file.
    use "build_pack": "dockercompose" and "docker_compose_location": "string",
  3. The app is created in coolify but it can never read the docker-compose file

Example Repository URL

No response

Coolify Version

v4.0.0-beta.397

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

So basically when I try to deploy the app from the public github from the API it doesn't find the docker-compose file no matter what I do.

If I deploy the same app from the admin interface, it has no problem, the app is deployed and everything works again with no problems.

@mrtornado mrtornado added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

1 participant