Attachments and Profile Pictures are missing after server migration

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

Profile pictures and attachments are missing after migrating Confluence between servers with different OS.

Diagnosis

Environment

  • Migrating Confluence from Windows to Linux or vice versa

Diagnostic Steps

  • Old profile pictures/attachments are no longer showing after migration

  • New profile pictures/attachments that are uploaded on the new server are showing

  • There are two index folders showing in your Home Directory (one of them might not be visible in the user interface but it's visible in the command prompt/terminal). One of the index folders has different forward/backward slash in the path.

Cause

The properties in confluence.cfg.xml wasn't manually changed during the migration process.

Solution

Resolution

As mentioned in the Confluence server migration documentation, the following properties need to be changed.

Migrating from Windows to Linux

You'll need to replace the backslashes with forward slashes in the following lines in confluence.cfg.xml in the Confluence Home Directory.

<property name="attachments.dir">${confluenceHome}/attachments</property>

<property name="lucene.index.dir">${localHome}/index</property>

<property name="webwork.multipart.saveDir">${localHome}/temp</property>

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.