Skip to content

[Docs]: NodeJS nixpacks build gets stuck, Coolify unresponsive - add hint for beginners? #2088

@mandrasch

Description

@mandrasch

Description

Hi, I'm experimenting with Coolify - awesome project!

I ran into the following problem multiple times - therefore I thought its best I report it.

My best educated guess is that the Coolify just runs out of memory because my VPS hasn't got enough. 🤷 So I guess it's not a Coolify bug per se and I should just upgrade my VPS?

But for beginners (like me) it would a cool addition to have some information about it in the docs - maybe in a section called "Troubleshooting"?

My setup:

  • VPS: Hetzner CPX11, vCPU: 2 (AMD), RAM: 2 GB
  • 2 PHP projects with 1 mysql db each
  • 1 SvelteKit (NodeJS) project

It seems that Coolify get's stuck on "npm ci" (via nixpacks), at least that's what I see last in the logs before Coolify becomes unresponsive. SSH connection to the server is still possible.

Bildschirmfoto 2024-04-27 um 18 46 52 Bildschirmfoto 2024-04-27 um 18 53 20

Restarting the server does not always help, in my latest tries the deployment gets stuck again.

Only if I stop one php project + one database, builds are possible again.

Minimal Reproduction (if possible, example repository)

VPS: Hetzner CPX11 vCPU 2 AMD RAM 2 GB

  1. Add 1 php project (laravel) + 2 mysql dbs, 1 sveltekit (nodejs) project
  2. Add new project with public GitHub repository https://github.com/mandrasch/ddev-craftcms-vite
  3. Switch port to 80
  4. Disable health checks
  5. Run Deploy --> nixpacks tries composer install (successful), but get's stuck at npm ci and Coolify will become unresponsive

(For SvelteKit I documented my steps here:
https://dev.to/mandrasch/deploy-sveltekit-with-ssr-on-coolify-hetzner-vps-24c5)

Exception or Error

Full deployment log: https://gist.github.com/mandrasch/4896095a5f9fc1f75bd575896926db1b

image Bildschirmfoto 2024-04-27 um 18 39 40 image

Version

v4.0.0-beta.269

Happy to provide more data. Thanks very much for providing Coolify as Open Source! 🙏

Please feel free to close this if irrelevant / not the right place for this. Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions