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

Siri Hansen erlangsiri@REDACTED
Mon Sep 10 09:58:44 CEST 2012


Hi Dmitry!
I didn't look very closely at this, but I wonder where sasl is? If you are
using the release_handler for upgrade, you need to include sasl in your
releases.
/siri

2012/9/8 Dmitry Demeshchuk <demeshchuk@REDACTED>

> Okay, that seems like a lager problem, it just doesn't start even after
> starting compiler.
>
> Moreover, it doesn't start using lager:start() and whatever else. No idea
> why compiler isn't started though.
>
>
> On Sat, Sep 8, 2012 at 8:37 PM, Dmitry Demeshchuk <demeshchuk@REDACTED>wrote:
>
>> 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
>>
>
>
>
> --
> Best regards,
> Dmitry Demeshchuk
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120910/21d27fe6/attachment.htm>


More information about the erlang-questions mailing list