Skip to content
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

start_erl.data expected in non-existing location which requires to specify RELEASE_MUTABLE_DIR location #695

Closed
velimir opened this issue Jul 6, 2019 · 1 comment

Comments

@velimir
Copy link

velimir commented Jul 6, 2019

Steps to reproduce

  1. Build new release with RELEASE_READ_ONLY
  2. Deploy on read only file system.
  3. Start asforeground.
  4. See error: mkdir: cannot create directory ‘<YOUR_DIR_HERE>/var’: Read-only file system

Description of issue

#670 introduced a change, that modified expected location of start_erl.data.
Once release is built directory has the following structure:

├── bin
├── erts-9.3.3.5
├── lib
└── releases
    ├── 0.1.0
    ├── RELEASES
    └── start_erl.data

After the #670 change, start_erl.data file is expected at var/start_erl.data:

4ebfe9a#diff-bb0b28dac91fa3fff22ffea720be6334R10

RELEASE_MUTABLE_DIR="${RELEASE_MUTABLE_DIR:-"${RELEASE_ROOT_DIR}/var"}"
START_ERL_DATA="${RELEASE_MUTABLE_DIR}/start_erl.data"

@velimir
Copy link
Author

velimir commented Jul 6, 2019

closes as duplicate of #693

@velimir velimir closed this as completed Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant