You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This is a separate issue from #4567 where the deploy fails earlier, because a .tool-versions file is present and nixpacks outputs an invalid toml file.
When trying to deploy a project using Poetry, Coolify tries to execute pip install poetry==$NIXPACKS_POETRY_VERSION, but $NIXPACKS_POETRY_VERSION has no value at that point leading to the invalid command pip install poetry==.
The text was updated successfully, but these errors were encountered:
Nevsor
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
Dec 15, 2024
Error Message and Logs
Note: This is a separate issue from #4567 where the deploy fails earlier, because a
.tool-versions
file is present and nixpacks outputs an invalid toml file.When trying to deploy a project using Poetry, Coolify tries to execute
pip install poetry==$NIXPACKS_POETRY_VERSION
, but$NIXPACKS_POETRY_VERSION
has no value at that point leading to the invalid commandpip install poetry==
.Other used env vars also not set:
Steps to Reproduce
Example Repository URL
https://github.com/Nevsor/poetry_bug
Coolify Version
v4.0.0-beta.379
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
Investigation:
coolify/app/Jobs/ApplicationDeploymentJob.php
Line 2025 in aae54e8
will generate the files
/artifacts/k04g0gc88c8cokwwck0ko0g4/.nixpacks/Dockerfile
with contentand
/artifacts/k04g0gc88c8cokwwck0ko0g4/.nixpacks/build.sh
with contentCoolify will then use the generated Dockerfile, but ignore the build.sh that passes the
--build-arg
s and instead generates its own build.sh:coolify/app/Jobs/ApplicationDeploymentJob.php
Lines 2028 to 2045 in aae54e8
Content of Coolify's build.sh:
The text was updated successfully, but these errors were encountered: