-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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]: Unable to deploy with NIXPACKS_NODE_VERSION = "22" #4890
Comments
after further investigation, this seems to be a problem with nixpacks. I had the following node version configured in nixpacks.toml for my app.
This worked fine until upgrading to Coolify Beta 384. Downgrading my Node Version here to "20" will make the build process succeed again. Can you let me know if something has changed regarding nixpacks integration between Beta 380 and Beta 384? Greets |
What are you deploying? |
I deployed a nodejs app. nixpacks should build and spin up using node v22 to run the app. This worked before but now i must specify "Node 20" in the nixpacks.toml file for the build to succeed. Any Idea why is Node 22 not working anymore since Beta 384? -act |
Maybe this is Nixpacks related. I will update Nixpacks to the latest version in the next update and then we can investigate further. |
The new version has just been released, could you please re-test and let me know if this is fixed? |
Unfortunately using v4.0.0-beta.386 did not fix the problem for me. The deployment does still not proceed from this point when using Node 22 in nixpacks.toml (defined as NIXPACKS_NODE_VERSION = "22" )
Reverting to NIXPACKS_NODE_VERSION = "20" lets the build pass again. Is there any log I should inspect to get more information what happens at this point during the build process? -act |
Can you please copy and paste the debug log of the deployment. Also, can you maybe give me a sample repo so I can better reproduce the problem. Because I tested it with our sample repo and I cannot reproduce the issue, so this issue is probably related to what you are deploying because for my deplyments node 22 works just fine. |
I will create a basic repo over the weekend that mimics the application and deployment and let you know. Thank you for your work! -act |
Error Message and Logs
First of all, after upgrading, in all projects i get the "The latest configuration has not been applied" popup. When i try to Redeploy or push a new release for my app, the installation will stall (these are the final lines). My App is deployed from Github.
before the upgrade, the app deployment would instead continue like this:
I have no idea what to check. I tried downgrading to Beta 380 but since database schema changed, i can not access my projects then anymore. So I had to revert back to the latest 384...,
Greets
-act
Coolify Version
v4.0.0-beta.384
The text was updated successfully, but these errors were encountered: