I am running JIRA Server on AWS EC2.
How to move the attachments directory (the data directory) to the AWS EFS?
What AWS and JIRA configuration changes are necessary?
Make the EFS directory available as storage within the directory tree on the Jira server, copy all the existing data, then use a symbolic link to point <jira home>/attachments to it. (Or mount the EFS point at that place so it replaces the attachment storage)
Can you please elaborate on "making the EFS directory available as storage" part.
I have jira-efs and confluence-efs in AWS file system. Is that what you meant?
Also the instance has following folders
/var/atlassian/application-data/jira/data/attachments
/var/atlassian/application-data/confluence/shared-home
Do I have to just copy files from NFS to EFS now? Is copying with AWS CLI is the best way to achieve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jiri Pik @Nic Brough -Adaptavist-
I am having EFS mounted on /media/atl directory and successfully imported the xml backup. But now want to push my attachments, Logs, Avatars to EFS volume and I need to link to my Jira application. Since its failing in the health check.
Health checks are tests that help you detect specific problems with your site. They run every hour and each time you visit this page. Find out which health checks are available and what they do
Error
Error
Checks that the most recent attachments can be found and are able to be opened.
The attachment (image-2019-03-18-15-09-03-151.png) for issue (PDI-17943) could not be read.
Could you please advise us how to move the attachments/avatars/logs to EFS and how to link to my application. Since my Database has 40000 attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's no different to my original answer
The health check is failing because you have not made the disk available at the right point, or that you have not put the file in place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.