User avatar breaks after changing the base URL

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Problem

Scenario1

User avatar is broken in page restriction dialog and "atl" HTML attribute is shown instead. The following screenshot was taken when I tried to search a user (e.g. "test") in the dialog.

Scenario2

User avatar is broken when mentioning user. The following screenshot was taken when I tried to mention a user (e.g. "test") in a page.

Diagnosis

Cause

Confluence has the user avatar URL information in Lucene indexes as well and just changing the base URL doesn't update it due to CONFSERVER-54158 - User avatar image breaks after changing the base URL.

Resolution

Rebuilding the search index solves this problem.


Last modified on Jan 29, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.