Skip to content

Upgrade to ejabberd 16.04

Two data type must be changed on the users table. This can be done at any time while ejabberd 16.03 is running. If you run an older version of ejabberd you must follow database upgrade process for 16.03 first.

Note: this applies only to MySQL. Other backend does not need upgrade.

MySQL database upgrade

mysql -h host -u user database -p << EOF
ALTER TABLE users MODIFY serverkey varchar(64) NOT NULL DEFAULT '';
ALTER TABLE users MODIFY salt varchar(64) NOT NULL DEFAULT '';