【问题标题】:Ejabberd crash when using mod_muc_admin使用 mod_muc_admin 时 Ejabberd 崩溃
【发布时间】:2018-01-03 02:45:36
【问题描述】:

我们正在使用 Erlang OTP 20 和 Elixir 1.5.2 编译 ejabberd 17.9。

当我们尝试使用 mod_muc_admin 删除 history_size > 0 的未使用房间时,我们收到以下错误:

:mod_muc_admin.rooms_unused_list("global", 1)
** (FunctionClauseError) no function clause matching in :calendar.datetime_to_gregorian_seconds/1

The following arguments were given to :calendar.datetime_to_gregorian_seconds/1:
 # 1
    {1513, 700515, 685388}

(stdlib) calendar.erl:137: :calendar.datetime_to_gregorian_seconds/1

我怀疑这与 Erlang/Elixir 版本有关,但我没有找到任何官方文档说明我们使用的版本有任何问题。

erlang 源代码的文档说明:

https://github.com/processone/ejabberd

Erlang/OTP 17.5 or higher.

有什么想法吗?

最好的问候,

【问题讨论】:

    标签: crash ejabberd


    【解决方案1】:

    问题是由 ejabberd 中的错误引起的。

    已在提交中更正: https://github.com/processone/ejabberd/commit/5e4c547856de6624e4012eb3bf

    【讨论】:

      猜你喜欢
      • 2021-05-13
      • 2018-12-03
      • 2019-06-19
      • 1970-01-01
      • 2013-09-08
      • 2020-12-18
      • 2014-04-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多