Skip to content

Statman error after building release with exrm #3

@ghost

Description

When I try to start my app after creating a release with exrm, I get the following error:

14:04:51.276 [info] Application discorelic exited: exited in: Discorelic.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (UndefinedFunctionError) function :statman_server.add_subscriber/1 is undefined (module :statman_server is not available)
            :statman_server.add_subscriber(:statman_aggregator)
            (discorelic) lib/discorelic.ex:26: Discorelic.start/2
            (kernel) application_master.erl:273: :application_master.start_it_old/4
{"Kernel pid terminated",application_controller,"{application_start_failure,discorelic,{bad_return,{{'Elixir.Discorelic',start,[normal,[]]},{'EXIT',{undef,[{statman_server,add_subscriber,[statman_aggregator],[]},{'Elixir.Discorelic',start,2,[{file,\"lib/discorelic.ex\"},{line,26}]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,273}]}]}}}}}"}

This happens on both macOS and CentOS, erlang/OTP 18 and 19, and elixir 1.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions