coolify
coolify copied to clipboard
[Bug]: Heroku buildpack not working
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
Fail after 2s.
[03:38:30.421] GitHub importer started.
[03:38:30.424] Cloning heroku/python-getting-started:main branch.
[03:38:30.723] Configuration changed.
[03:38:30.750] Building image started.
Steps To Reproduce
- create new app
- add any heroku example in the git (https://github.com/heroku/python-getting-started)
- enable debug log
- deploy
Version
3.10.16
To deploy the container I had to force coolify to v3.10.1, I didn't test the exact version it stopped working
I can reproduce it and will fix it in the next version.
@andrasbacsai still not working
I tested it out, and it works for me, or at least the build & deployment are working. But the application states an error, but that is just a python env configuration:
Tested in a new vm in DigitalOcean.
In my server one of the attempts of running show this log
[14:04:49.044] /usr/local/bin/pack: 1: Syntax error: redirection unexpected
[14:04:50.064] 2
Strange, I cannot reproduce it. Can you show me a screenshot of the configuration for this application?
@andrasbacsai after some digging in the source code i discover the pack script is not present in the image and the url to download the pack return a 404
RUN curl -SL https://cdn.coollabs.io/bin/linux/amd64/pack-v0.27.0 -o /usr/local/bin/pack https://github.com/coollabsio/coolify/actions/runs/3479738443/jobs/5818653611#step:8:869
Work around
ssh in the vm
to get the container id use
sudo docker ps | grep coollabsio/coolify:
ssh in the coolify container with
sudo docker exec -it {container_id} bash
run
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.27.0/pack-v0.27.0-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack)
Yea clean your docker cache, and you would be able to recreate the problem.
(not sure you should be doing cached runs on release tests)
@wallaceosmar Thanks! It worked.
@andrasbacsai
install
wget -q https://get.coollabs.io/coolify/install.sh
-O install.sh; sudo bash ./install.sh -f
3.12.4
https://github.com/wanglong167/7777
I have the same issue on 3.12.11
I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.
Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.
Thanks for your understanding.