Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence home directory migration

Jonathan Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2018

I was just requested to relocate confluence home from atlassian/var/ to /opt/attachments due to space limitations on var.

The process seems simple with the steps found here: https://confluence.atlassian.com/confkb/how-to-relocate-the-confluence-home-directory-318668907.html

  • Has anyone here migrated the home directory?
  • Was there any issues/impact after doing this?

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2018

Yes, I have migrated home directories. It is a simple as it sounds, edit the following file: <confluence_install>/confluence/WEB-INF/classes/confluence-init.properties and restart.

Make sure there is room in the destination for a growing attachment folder. Please note we have seen issues with using sym links in Home Directories. Confluence Home and other important directories


There can be no symbolic links within the Confluence home directory. You must define an absolute path. If disk space is an issue, place the entire confluence.home directory on a disk partition where there is enough space. The absolute path of generated files (such as exports) is compared with the absolute path of the confluence.home directory when constructing URLs. When a sub-directory has a different path, the URL will be incorrect, and you may receive "Page not found" errors. These measures are in place to prevent "directory traversal" attacks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events