Package: ejabberd

On upgrading an ejabberd cluster node from bookworm to trixie a problem
with mam tables arises.

* ejabberd version: 24.12-3
  (Debian trixie, upgraded from bookworm 23.01-1 with apt dist-upgrade)
* Erlang version: Erlang 15.2.6

Error from the log [2]

I did report this upstream [0] and they have provided a fix [1] very
quickly. Now I'm not sure how I can test this fix as long as it's not
in the debian repo.



[0] upstream report: https://github.com/processone/ejabberd/issues/4374

[1] fix:
https://github.com/processone/ejabberd/commit/67cc0c528667a5bcdeab0cf63cf8aa0d42c6f0c7

[2]
2025-04-21 10:52:06.402141+02:00 [error]
<0.188.0>@ejabberd_mnesia:mnesia_op/2:431
 Failure on mnesia transform_table [archive_msg,
                                   #Fun<ejabberd_mnesia.8.102878464>,
                                  
[us,id,timestamp,peer,bare_peer,packet,
                                    nick,type,origin_id]]: {aborted,
                                                            {"Bad
transform function",
                                                            
archive_msg,
                                                            
#Fun<ejabberd_mnesia.8.102878464>,
                                                            
'ejabb...@example.org',
                                                             {badfun,
                                                             
#Fun<ejabberd_mnesia.8.102878464>}}}
2025-04-21 10:52:06.402902+02:00 [critical]
<0.1109.0>@gen_mod:start_module/4:186
 Failed to start module mod_mam: {error,db_failure}
2025-04-21 10:52:06.403065+02:00 [critical]
<0.1109.0>@gen_mod:maybe_halt_ejabberd/0:285
 ejabberd initialization was aborted because a module start failed.

Reply via email to