-
Hello When 'im login I get this :
I use vcard_ldap with an active directory
Consider remove #, I have commented to prevent crashes The server ldap is in readonly, it can be the issue ? I use EjabberD image docker 21.12 and the config of vcard works with Ejabberd 18 (big upgrade) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I changed the target for 21.07 and I have this
But no crash, so there is an issue with latest release |
Beta Was this translation helpful? Give feedback.
-
Right, that's the case: vCard cannot be modified using XMPP. This is mentioned in https://docs.ejabberd.im/admin/configuration/ldap/#ldap
|
Beta Was this translation helpful? Give feedback.
-
Aha! The lib module was removed in OTP 21.0 (stdlib 3.5) erlang/otp#1786 as documented in https://www.erlang.org/doc/apps/stdlib/notes.html#stdlib-3.5 And the formatting options were moved to erl_error erlang/otp@a71c186 In ejabberd, the availability of erl_error is checked at compile time in rebar.config when using rebar2/rebar3, or in mix.exs when using Elixir's mix (and that's the case of the ejabberd docker image). The bug was introduced in mix.exs in 8d8a317 That new line should have I've now fixed this in 7381b9d and then rewrote the workaround detection in f721374 Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
Aha!
The lib module was removed in OTP 21.0 (stdlib 3.5) erlang/otp#1786 as documented in https://www.erlang.org/doc/apps/stdlib/notes.html#stdlib-3.5
And the formatting options were moved to erl_error erlang/otp@a71c186
In ejabberd, the availability of erl_error is checked at compile time in rebar.config when using rebar2/rebar3, or in mix.exs when using Elixir's mix (and that's the case of the ejabberd docker image).
The bug was introduced in mix.exs in 8d8a317 That new line should have
++
at the end, so the next line gets added.I've now fixed this in 7381b9d and then rewrote the workaround detection in f721374
Thanks for reporting!