We recently upgraded our Openfire deployment to version 5.0.2, and we have observed a critical issue related to MUC affiliation persistence.
Issue Summary
When we change a user’s role in a group chat from member → admin, the role is applied correctly and works as expected until the Openfire service is restarted.
However, after restarting Openfire, all admin roles disappear.
What we verified
-
The admin affiliation does not get written into the
ofMucAffiliationtable. -
Roles such as owner (10) and outcast (40) do persist correctly.
-
The issue appears to affect only admin (20) affiliation.
-
The admin role seems to exist only in memory, because the Openfire REST API returns the correct admin affiliation before restarting the service.
What we need help with
-
Is this a known issue in Openfire 5.0.2?
-
Is the admin affiliation supposed to be persisted in the
ofMucAffiliationtable? -
If yes, what could prevent admin entries from being saved?
-
Are there any configuration flags, caches, plugins, or patches that affect persistence of admin roles?
-
What is the recommended fix or workaround to ensure that admin roles persist after restart?
This issue is impacting us significantly as we manage a very large number of group chats, each having one or more admins. A restart wipes all MUC admin roles.
Any guidance or solution would be greatly appreciated.