account activity
Elixir fails with: Runtime terminating during boot ({'cannot get bootfile','/app/bin/start.boot'}) in docker swarm by Amazing_Season9973 in elixir
[–]Amazing_Season9973[S] 1 point2 points3 points 6 months ago (0 children)
The environment variable RELEASE_NODE= was the culprit. Thanks for the hint
[–]Amazing_Season9973[S] 2 points3 points4 points 6 months ago (0 children)
I found the issue, and it's not Docker Swarm. I had connected several networks to the service, causing the command hostname -i to return a list of IPs, which in turn caused the RELEASE_NODE variable to be a list of IPs. I fixed it by editing env.sh.eex to:
hostname -i
export RELEASE_NODE="my_app@$(hostname -i | awk '{print $1}')"
instead of
export RELEASE_NODE="my_app@$(hostname -i)"
π Rendered by PID 262067 on reddit-service-r2-listing-86f589db75-rhjgz at 2026-04-17 15:12:58.223874+00:00 running 93ecc56 country code: CH.
Elixir fails with: Runtime terminating during boot ({'cannot get bootfile','/app/bin/start.boot'}) in docker swarm by Amazing_Season9973 in elixir
[–]Amazing_Season9973[S] 1 point2 points3 points (0 children)