hubertlepicki
Crashing after upgrade to Erlang 21 (edeliver, distillery)
I have some upgrade problems on Erlang 21.0.
The app is being compiled to release using Erlang 20.3 up to this point and everything works fine. When we upgraded the Erlang to 21.0 on both: the server and our release builder, the releases are still being built, but when we run them we get into a loop of Erlang VM crashing & being restarted:
Jun 22 07:24:57: Crash dump is being written to: erl_crash.dump…done
Jun 22 07:24:59: {“init terminating in do_boot”,{‘cannot get bootfile’,‘no_dot_erlang.boot’}}
Jun 22 07:24:59: init terminating in do_boot ({cannot get bootfile,no_dot_erlang.boot})
Jun 22 07:24:59: [1B blob data]
There appears to be very similar bug reported to distillery here: Custom tasks fail with Erlang/OTP 21 (nonexistent `no_dot_erlang.boot` file) · Issue #426 · bitwalker/distillery · GitHub
but I am actually unsure if this is Erlang’s, Elixir’s or distillery issue so maybe worth asking here if someone stumbled upon this and solved?
Most Liked
tristan
Distillery needs to be patched. The related relx patch for this change in Erlang may be useful https://github.com/erlware/relx/commit/78561dc7a812466aa1e8c9f36a6b48c7f7cc4195
hubertlepicki
Pretty sure this thread is a duplicate of Crashing after upgrade to Erlang 21 (edeliver, distillery) and could be merged in.
Edit: post above merged into this thread.








