lfe/rebar3

Possible issue with starting releases

oubiwann opened this issue · 0 comments

When starting an LFE release with rebar3 lfe run-release start sometimes it doesn't actually start (checked by running rebar3 lfe run-release ping). However, almost always after running rebar3 release again, it will start, with a subsequent ping resulting in a pong.

Things to test:

  • Generate a new project with rebar3 new lfe-release
  • Generate a release for the project with rebar3 release
  • Run the release script manually (./_build/..../app-name start)
    • do several series of starts and stops, pinging each time
    • make sure it always comes up
  • Now run the rebar3 lfe run-release start command (without rebuilding the release) to check its behaviour
  • Do a fresh rebuild of the release, and check again
  • Create a new Erlang/OTP release (no LFE) using rebar3 new release
    • update the project's rebar.confg file and add the LFE plugin
    • use the LFE plugin command to run through the same steps above to see if the results are all the same