Attachments and Profile Pictures are missing after server migration

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

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. 

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>

 


Last modified on Apr 20, 2021

Was this helpful?

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