Change confluence attachments directory

Hi,

The previous Confluence administrator put confluence's attachements to a local filesystem but we want to put them to a NFS directory.

 

Can I change attachments directory without making any mistake?

What about existing attachements ? what can i do ?

1 answer

0 votes

You can't change the directory in more recent versions of Confluence (think it changed around 5.5).

But, yes, this is a standard thing to do - I usually stop Confluence, copy the existing attachments tree to the share, (re)move the attachments directory and then create a symbolic link to replace it.  Pointed at the share, Confluence can't tell the difference.

Another, similar trick is to mount the share into the file system as a directory.  For a unix-type box something like, "mount /dev/myshare /opt/jira/home/attachments".  In Windows, you can do the same with the disk manager I believe.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

975 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you