[Bug 259067] net-im/ejabberd does not start since erlang-24.X

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Oct 2021 11:14:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259067

            Bug ID: 259067
           Summary: net-im/ejabberd does not start since erlang-24.X
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish@FreeBSD.org
          Reporter: marko.cupac@mimar.rs
          Assignee: ashish@FreeBSD.org
             Flags: maintainer-feedback?(ashish@FreeBSD.org)

Hi,

After upgrading packages on one of my 13_0:x86:64 IM servers to latest main,
ejabberd won't start.

Below are interesting lines from error.log

I found similar issue on debian's mailing list where it is said that newer
version of erlang-jose is needed. I see this port exists, but so far it hasn't
been installed on my server. Also, supposedly needed version (1.11.2) is not in
ports - 1.11.1 is.

Thank you in advance,

2021-10-11 12:54:20.241 [error] <0.172.0>@pg2:create CRASH REPORT Process
<0.172.0> with 0 neighbours exited with reason: call to undefined function
pg2:create(cache_tab) in application_master:init/4 line 142
2021-10-11 12:54:20.335 [error] <0.266.0>@jose_server:check_ec_key_mode:178
CRASH REPORT Process <0.266.0> with 0 neighbours crashed with reason: no case
clause matching
{'ECPrivateKey',1,<<104,152,88,12,19,82,251,156,171,31,222,207,0,76,115,88,210,229,36,106,137,192,81,153,154,254,226,38,247,70,226,157>>,{namedCurve,{1,2,840,10045,3,1,7}},<<4,46,75,29,46,150,77,222,40,220,159,244,193,125,18,190,254,216,38,191,11,52,115,159,213,230,77,27,131,94,17,46,21,186,71,62,36,225,0,90,21,186,235,132,152,229,13,189,196,121,64,84,64,229,173,12,24,23,127,175,67,247,29,139,91>>,asn1_NOVALUE}
in jose_server:check_ec_key_mode/2 line 178
2021-10-11 12:54:20.336 [error] <0.265.0>@jose_server:check_ec_key_mode:178
Supervisor jose_sup had child jose_server started with jose_server:start_link()
at undefined exit with reason no case clause matching
{'ECPrivateKey',1,<<104,152,88,12,19,82,251,156,171,31,222,207,0,76,115,88,210,229,36,106,137,192,81,153,154,254,226,38,247,70,226,157>>,{namedCurve,{1,2,840,10045,3,1,7}},<<4,46,75,29,46,150,77,222,40,220,159,244,193,125,18,190,254,216,38,191,11,52,115,159,213,230,77,27,131,94,17,46,21,186,71,62,36,225,0,90,21,186,235,132,152,229,13,189,196,121,64,84,64,229,173,12,24,23,127,175,67,247,29,139,91>>,asn1_NOVALUE}
in jose_server:check_ec_key_mode/2 line 178 in context start_error
2021-10-11 12:54:20.336 [error] <0.263.0> CRASH REPORT Process <0.263.0> with 0
neighbours exited with reason:
{{shutdown,{failed_to_start_child,jose_server,{{case_clause,{'ECPrivateKey',1,<<104,152,88,12,19,82,251,156,171,31,222,207,0,76,115,88,210,229,36,106,137,192,81,153,154,254,226,38,247,70,226,157>>,{namedCurve,{1,2,840,10045,3,1,7}},<<4,46,75,29,46,150,77,222,40,220,159,244,193,125,18,190,254,216,38,191,11,52,115,159,213,230,77,27,131,94,17,46,21,186,71,62,36,225,0,90,21,186,235,132,152,229,13,189,196,121,64,84,64,229,173,12,24,23,127,175,67,247,29,139,91>>,asn1_NOVALUE}},[{jose_server,check_ec_key_mode,...},...]}}},...}
in application_master:init/4 line 142
2021-10-11 12:54:20.875 [error] <0.353.0> Supervisor ejabberd_sup had child
ejabberd_access_permissions started with
ejabberd_access_permissions:start_link() at undefined exit with reason
{'EXIT',{noproc,{gen_server,call,[cache_tab_sup,{start_child,{access_permissions_cache,{ets_cache,start_link,[access_permissions_cache,[{max_size,2}]]},transient,5000,worker,[ets_cache]}},infinity]}}}
in context start_error
2021-10-11 12:54:20.881 [critical] <0.119.0>@ejabberd_app:start:68 Failed to
start ejabberd application:
{error,{shutdown,{failed_to_start_child,ejabberd_access_permissions,{'EXIT',{noproc,{gen_server,call,[cache_tab_sup,{start_child,{access_permissions_cache,{ets_cache,start_link,[access_permissions_cache,[{max_size,2}]]},transient,5000,worker,[ets_cache]}},infinity]}}}}}}
2021-10-11 13:05:04.981 [error] <0.654.0>@ejabberd_hooks:safe_apply:240 Hook
vcard_iq_set crashed when running mod_vcard:vcard_iq_set/1:

-- 
You are receiving this mail because:
You are the assignee for the bug.