@@ -25,13 +25,13 @@ process.
2525
2626This is the simplest process, and require service restart.
2727
28- - read the corresponding [ upgrade notes] ( #specific-version-upgrade-notes )
29- - apply the required changes in database from the upgrade note.
30- - stop old node
31- - archive content of mnesia database directory (database, i.e. ` /opt/ejabberd-XX.YY/database ` , ` /usr/local/var/lib/ejabberd ` , ...)
32- - install new version
33- - extract database archive in new path
34- - if systemctl is used to manage ejabberd, copy the new service file and reload systemctl:
28+ 1 . read the corresponding [ upgrade notes] ( #specific-version-upgrade-notes )
29+ 1 . apply the required changes in database from the upgrade note.
30+ 1 . stop old node
31+ 1 . archive content of mnesia database directory (database, i.e. ` /opt/ejabberd-XX.YY/database ` , ` /usr/local/var/lib/ejabberd ` , ...)
32+ 1 . install new version
33+ 1 . extract database archive in new path
34+ 1 . if systemctl is used to manage ejabberd, copy the new service file and reload systemctl:
3535``` sh
3636cp ejabberd-21.12/bin/ejabberd.service /etc/systemd/system/
3737systemctl daemon-reload
@@ -44,21 +44,21 @@ systemctl daemon-reload
4444This process needs you to run in cluster, with at least two nodes. In this case,
4545we assume you run node A and B with version N, and will upgrade to version N+1.
4646
47- - read the corresponding [ upgrade notes] ( #specific-version-upgrade-notes ) ,
47+ 1 . read the corresponding [ upgrade notes] ( #specific-version-upgrade-notes ) ,
4848make sure it does not explicitly states "soft upgrade is not supported".
49- - apply the required changes in database from the upgrade note.
50- - make sure node A is running
51- - run [ leave_cluster] ( ../../developer/ejabberd-api/admin-api.md#leave_cluster ) on node B
52- - stop old node B
53- - install new version on B's host
54- - start new node B
55- - run [ join_cluster] ( ../../developer/ejabberd-api/admin-api.md#join_cluster ) on node B, passing node A as parameter
56- - make sure both nodes are running and working as expected
57- - run [ leave_cluster] ( ../../developer/ejabberd-api/admin-api.md#leave_cluster ) on node A
58- - stop old node A
59- - install new version on A's host
60- - start new node A
61- - run [ join_cluster] ( ../../developer/ejabberd-api/admin-api.md#join_cluster ) on node A, passing node B as parameter
49+ 1 . apply the required changes in database from the upgrade note.
50+ 1 . make sure node A is running
51+ 1 . run [ leave_cluster] ( ../../developer/ejabberd-api/admin-api.md#leave_cluster ) on node B
52+ 1 . stop old node B
53+ 1 . install new version on B's host
54+ 1 . start new node B
55+ 1 . run [ join_cluster] ( ../../developer/ejabberd-api/admin-api.md#join_cluster ) on node B, passing node A as parameter
56+ 1 . make sure both nodes are running and working as expected
57+ 1 . run [ leave_cluster] ( ../../developer/ejabberd-api/admin-api.md#leave_cluster ) on node A
58+ 1 . stop old node A
59+ 1 . install new version on A's host
60+ 1 . start new node A
61+ 1 . run [ join_cluster] ( ../../developer/ejabberd-api/admin-api.md#join_cluster ) on node A, passing node B as parameter
6262
6363## Module update process
6464
0 commit comments