Open Pedneri1 opened 3 years ago
Looks like you're not including the system (ERTS or BEAM) into the build, so when you're updating the ERTS system (Erlang) it's disappearing without telling the previous system to upgrade to the new one. My advice, include always the system into a release to avoid this. Usually, into the rel/config.exs
you should have:
environment :prod do
set include_erts: true
...
If you are building using the dev
environment that could be the reason because it's not working. Try building with this:
MIX_ENV=prod mix distillery.release
Steps to reproduce and Description of issue
Hello! I’m having trouble accessing the remote_console after updating Elixir and Erlang on my build server. Everything starts up normally using the command
my_app/bin/my_app foreground
but when I try to runmy_app/bin/my_app remote_console
the application crashes and these errors appear:1- On the console I ran foreground
2- On the other console that I ran remote_console or ping
Note: The same happens when running using
my_app/bin/my_app start
elixir --version
on build Server: Elixir 1.10.4 Erlang/OTP 23elixir --version
on execution Server: Elixir 1.10.4 Erlang/OTP 23Distillery is running on version 2.1 and Edeliver on 1.7
The OS is Ubuntu 18.4 on both build and execution servers