Skip to content

Migrate from 16.01 to 23.01-1 #4168

Answered by badlop
PaweltK asked this question in Questions
Discussion options

You must be logged in to vote

Other update method you can try... it's very optimistic and may not work, but it only takes a few minutes to try:

  1. First stop the old ejabberd,
  2. Copy the mnesia spool directory to the new location (remove completely the new almost-empty database, don't mix files from old and new database).
  3. Then start new ejabberd
  4. Ideally, ejabberd will load your old mnesia database, notice it requires changes, and try to perform the required schema changes.

Of course, I tried backup/restore and dump/load but it doesn't work

Did the new ejabberd complain that the mnesia database had a different erlang node name, or something like that? In that case see
https://docs.ejabberd.im/admin/guide/managing/#chang…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mremond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants