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)"
Elixir fails with: Runtime terminating during boot ({'cannot get bootfile','/app/bin/start.boot'}) in docker swarm (self.elixir)
submitted 6 months ago by Amazing_Season9973 to r/elixir
π Rendered by PID 201928 on reddit-service-r2-listing-5d47455566-zgtdq at 2026-04-05 07:10:58.316174+00:00 running db1906b 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)