{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/613","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/613/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/613/events","html_url":"https://github.com/processone/ejabberd/issues/613","id":90656681,"number":613,"title":"15.04 undef p1_loglevel","user":{"login":"joudinet","id":2621900,"avatar_url":"https://avatars.githubusercontent.com/u/2621900?v=3","gravatar_id":"","url":"https://api.github.com/users/joudinet","html_url":"https://github.com/joudinet","followers_url":"https://api.github.com/users/joudinet/followers","following_url":"https://api.github.com/users/joudinet/following{/other_user}","gists_url":"https://api.github.com/users/joudinet/gists{/gist_id}","starred_url":"https://api.github.com/users/joudinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joudinet/subscriptions","organizations_url":"https://api.github.com/users/joudinet/orgs","repos_url":"https://api.github.com/users/joudinet/repos","events_url":"https://api.github.com/users/joudinet/events{/privacy}","received_events_url":"https://api.github.com/users/joudinet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Build","name":"Component:Build","color":"bfdadc"},{"url":"https://api.github.com/repos/processone/ejabberd/labels/Note:Discussion","name":"Note:Discussion","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"cromain","id":743187,"avatar_url":"https://avatars.githubusercontent.com/u/743187?v=3","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-06-24T12:03:22Z","updated_at":"2015-06-25T14:37:44Z","closed_at":null,"body":"Hi,\r\nWhile upgrading from 14.07 to 15.04, using the tarball from the github releases (i.e., this is to upgrade the ejabberd version in buildroot), I encounter the following error message when I run ejabberdctl live:\r\n```\r\nEshell V6.4  (abort with ^G)\r\n\r\n=INFO REPORT==== 1-Jan-1970::00:02:43 ===\r\n    application: ejabberd\r\n    exited: {bad_return,\r\n                {{ejabberd_app,start,[normal,[]]},\r\n                 {'EXIT',\r\n                     {undef,\r\n                         [{p1_loglevel,set,[4],[]},\r\n                          {ejabberd_logger,start,0,\r\n                              [{file,\"src/ejabberd_logger.erl\"},{line,171}]},\r\n                          {ejabberd_app,start,2,\r\n                              [{file,\"src/ejabberd_app.erl\"},{line,41}]},\r\n                          {application_master,start_it_old,4,\r\n                              [{file,\"application_master.erl\"},\r\n                               {line,272}]}]}}}}\r\n    type: temporary\r\n(ejabberd@buildroot)1>\r\n```\r\nI've read somewhere (sorry I don't find where anymore) that this might be due to a missing lager installation. However, in my case, I do have lager 2.1.1 installed:\r\n```\r\n# find / -name '*lager*'\r\n/usr/lib/erlang/lib/lager-2.1.1\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_app.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_config.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager.app\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_handler_watcher_sup.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_crash_log.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_default_formatter.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_transform.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_handler_watcher.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_backend_throttle.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_msg.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_file_backend.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_common_test_backend.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_format.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_sup.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_console_backend.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_trunc_io.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_util.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/error_logger_lager_h.beam\r\n/usr/lib/erlang/lib/lager-2.1.1/ebin/lager_stdlib.beam\r\n```\r\nAny idea what could be the reason of this undef error? Is there any extra dependencies for ejabberd 15.04 than the dependencies of ejabberd 14.07?"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/115278469","html_url":"https://github.com/processone/ejabberd/issues/613#issuecomment-115278469","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/613","id":115278469,"user":{"login":"joudinet","id":2621900,"avatar_url":"https://avatars.githubusercontent.com/u/2621900?v=3","gravatar_id":"","url":"https://api.github.com/users/joudinet","html_url":"https://github.com/joudinet","followers_url":"https://api.github.com/users/joudinet/followers","following_url":"https://api.github.com/users/joudinet/following{/other_user}","gists_url":"https://api.github.com/users/joudinet/gists{/gist_id}","starred_url":"https://api.github.com/users/joudinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joudinet/subscriptions","organizations_url":"https://api.github.com/users/joudinet/orgs","repos_url":"https://api.github.com/users/joudinet/repos","events_url":"https://api.github.com/users/joudinet/events{/privacy}","received_events_url":"https://api.github.com/users/joudinet/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T14:37:44Z","updated_at":"2015-06-25T14:37:44Z","body":"I've just patched include/logger.hrl to force `-define(LAGER, true).` (the line before the `-ifdef(LAGER).`) Still, I get the same error message :-\\ I'm going to rebuild from scratch with 15.06 to see if I have any better luck than with 15.04."}}