How to change JID's domain in Tigase database

Ehsan Mozaffari
Added over 2 years ago


We would like to change our xmpp domain from let say to Supposing that, thousands of users have been registered in Tigase database with Is there any way, for instance an Ad-hoc command, to convert Tigase database full JID domains from to

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

Currently there is no easy way to achieve that - it requires changing each item in user_id column in the database and in addition to that re-calculating sha1 value for each row.

In addition - if you are using PubSub or Message Archiving component same process should be applied to it's tables.