If your Confluence instance contains thousands of user accounts and you are experiencing performance issues when searching for users, the following migration guide is for you. |
In Confluence 2.1, we introduced a new system for user management inside Confluence (atlassian-user) that was more powerful than the previous system (OSUser). However, to avoid potential upgrade issues, we continued to use OSUser when storing users in the local Confluence database.
The native atlassian-user storage format provides much more efficient searching, and greatly improves the performance of user administration and Confluence's 'user picker' pop-up. We plan on migrating all Confluence instances to the new format around version 2.6 or 2.7, but until then Confluence instances with large numbers of users can still take advantage of these performance improvements by performing the migration manually.
Do not use this procedure if you have LDAP user management enabled. |
|
This guide assumes that you are using Confluence's local users and groups. If you have already configured Confluence for LDAP user/group management and are experiencing user management slowness, please follow the guide for Requesting External User Management Support. |
This guide applies to Confluence 2.1 and later.
Follow these steps to migrate your Confluence instance to atlassian-user:
Administration > General Configuration > Base Url. Record this for later in the process.
confluence/WEB-INF/classes/atlassian-user.xml (only if you have made changes)
confluence/WEB-INF/classes directory (you can overwrite the one that's there).\confluence\admin subdirectory of your Confluence install. Overwrite the existing osuser2atluser.jsp file.
<BASEURL>/admin/osuser2atluser.jsp |
<BASEURL> with the URL that you currently use to access Confluence. For example, http://confluence.atlassian.com or http://foobar.com/confluence.
Migrating users ... Users migrated successfully! Migrating propertyset data ... Propertyset data migrated successfully! Migrating groups ... Groups migrated successfully\! |
For installations with groups that contain a large number of users, this may take a few hours to complete. |
confluence/WEB-INF/classes/atlassian-user.xml:
<osuser key="osuserRepository" name="OSUser Repository"/> |