User account changes are not updated on Confluence
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
After making changes to the user account's username or name, this same account doesn't show up in mentions, user macros or even on the People directory.
Environment
Confluence Server 7.3.3
Diagnosis
Reviewing the atlassian-confluence.log file we can spot the following entry:
2021-01-14 13:49:07,843 WARN [http-nio-8090-exec-143] [onprem.confluence.util.UserUtil] getPreferences Falling back to UserDetailsManager settings storage for user username
-- referer: https://baseURL/display/spaceKey/pageName | url: /plugins/servlet/rest/api/userPreferences | traceId: 55ccca6cbcfa8936 | userName: username
Cause
This problem may be caused by outdated information being stored on Confluence's cache and indexing, misleading the application towards what are the current settings for the changed user account.
Solution
To fix this behavior, it's necessary to clear the instance's cache and rebuild its indexes to update the user account's details:
- In your Confluence instance, navigate to >> General Configuration >> Cache Management
- Choose the Flush all option
- Then, navigate to your instance's Content Indexing
- Click on the button to rebuild the indexes
If the problem persists after following the suggested steps, please contact Atlassian Support.