User avatar breaks after changing the base URL

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

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.

(Auto-migrated image: description temporarily unavailable)

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.

(Auto-migrated image: description temporarily unavailable)

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.

Solution

Resolution

Rebuilding the search index solves this problem.

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.