New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set include_erts: false results in cannot expand $ERTS_LIB_DIR in bootfile #235
Comments
What do you see when you run |
|
What is the result of running |
|
I ran into a similar problem by setting |
Update - let's mark my comment as temporarily invalid until I can reproduce it solidly. |
I ran into the same problem using a Ubuntu 16.04 server and an OS X development machine. The problem only occurs when running something like The problem seems to be that start_clean.boot from the development machine is included in bin/. There are at least a couple ways to work around this, simply deleting start_clean.boot works, as does removing the -boot start_clean option, I'm not sure exactly why you'd want the start_clean.boot from the development system with include_erts set to false, so it might make sense to remove it from the tarball. |
So I'm unable to reproduce this with the following steps:
You can try to reproduce as well by cloning @pjanis Regarding the I suspect the problem here is that people are deploying from one version of ERTS (say |
I don't have docker setup on my development machine, but I'll set it up later tonight. In the mean time, I did mange to reproduce the problem on just the development machine. Below is the console history.
|
Found the issue, can you give master a shot and confirm? |
confirmed. changes on master fix the issue. |
👍 Thanks for the quick response! |
1.3.5 has been published to Hex, just FYI |
Hi, I'm experiencing the same issue with Removing |
I'm seeing this on 1.5.3. |
Steps to reproduce
This does not happen when I choose to include the runtime, and then my project runs normally.
Looking at the output it seems to be looking for
/bin/erl
on my system that's in/usr/bin
because I compiled erlang with --prefix=/usrDo I need to specify somewhere where erlang resides?
The bootfile is a binary file, but indeed seems to contain $ERTS_LIB_DIR.
Reading the docs I thought REPLACE_OS_VARS=true would help, but it made no difference
Verbose Logs
Description of issue
that it uses the erlang system in the container and runs.
Alpine Linux, erlang 19.3, elixir 1.4.0
rel/config.exs
, as it is oftenmy first troubleshooting question, and you'll save us both time :)
another? If so, please link the doc here so it can be updated if
it's a documentation issue, or so that the fix can be based around
what's documented.
The text was updated successfully, but these errors were encountered: