[erlang-questions] Release handler seems to be not starting some applications

Dmitry Demeshchuk <>
Sat Sep 8 18:37:59 CEST 2012


Hi, everyone.

I've been checking rebar and releases mechanisms and noticed an odd thing.

First, I created a dummy release and started it. After that, I added some
applications to it, generated a release upgrade and installed it.
Surprisingly, some applications haven't started, compiler and lager to be
precise.

Basically, here was the initial list of applications in reltool.config:

         kernel,
         stdlib,
         rels

and here's the one after my upgrade:

         kernel,
         stdlib,
         riak_err,
         compiler,
         syntax_tools,
         lager,
         rels

No errors, no warnings, compiler and lager just silently fail to start,
though their starting instructions do exist in relup. Tried to start them
manually – works like a charm.

Here's a short exapmle: https://github.com/doubleyou/rels
To reproduce, switch to the initial commit, build, generate release. Then
switch to the second commit, build, generate release upgrade, install.


Any suggestions?

-- 
Best regards,
Dmitry Demeshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120908/a42e0e8a/attachment.html>


More information about the erlang-questions mailing list