mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
[Bug]: Segmentation fault - in DEV Setup #824
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @knom on GitHub (Sep 26, 2025).
Where is the problem occurring?
I'm not sure
What browsers are you seeing the problem on?
Other
Current behavior
I'm running the docker setup of the DEV environment, according to:
https://docs.planka.cloud/docs/development/set-up-environment/
Desired behavior
No response
Steps to reproduce
Upon running
docker-compose -f docker-compose-dev.yml upI get the following error:
planka-server_1 | bash: line 1: 47 Segmentation fault (core dumped) npm run db:initI'm using the default user settings in the .env file:
DEFAULT_ADMIN_EMAIL=demo@demo.demo DEFAULT_ADMIN_PASSWORD=demo DEFAULT_ADMIN_NAME=Demo Demo DEFAULT_ADMIN_USERNAME=demoI have identified, issue is related to
create-admin-user.jsOther information
No response
@StevenJCorreia commented on GitHub (Sep 27, 2025):
I'm having the same issue.
Update:
I have a quick fix for now if anyone needs. This simply swaps the image for
22.20.0-slim.segfault-fix.patch
@meltyshev commented on GitHub (Sep 28, 2025):
Hey! Thanks for reporting this.
I just tested the dev compose environment on Mac, and everything works fine for me (in the end). The only issue I ran into the first time was errors caused by existing
node_modulesandserver/.venvfrom my local Node.js and Python installs - the binaries there didn't match the versions installed in the image.My guess is you might be running into the same issue if you've already run
npm ilocally. You can try removing the conflicting folders by:Then try running the dev compose again. If that doesn't solve the issue, it'll definitely be interesting to investigate further...
Thanks for the update! Could you please confirm whether the previous version with
node:22-alpinestill fails even after removing all thenode_modulesandserver/.venvfolders?@StevenJCorreia commented on GitHub (Sep 28, 2025):
No problem!
After doing the following:
node_modulesand.venvdirectories as listed aboveI spun up the dev compose file and followed the logs to see that the segfault is no longer an issue!
Sorry for the confusion, looks like I tried dev locally and switched to docker half-way through. Thanks for your help!
Also, should this information go in a disclaimer somewhere in the contributing documentation?
@meltyshev commented on GitHub (Sep 30, 2025):
Thanks for testing! Yep, definitely need to add this disclaimer to the docs, will do it right away.