The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Can not enable store s3 feature

Duc_nm
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2023

Hi there,

I'm trying to store the attacment to s3 with this guide:

https://confluence.atlassian.com/adminjiraserver/storing-attachments-in-amazon-s3-1282250191.html

My jirasm now is running on eks cluster on AWS and has 3 pods. I had enabled dark feature com.atlassian.jira.attachments.storage.configurable.enable and store filestore-config.xml in localhome at location /var/atlassian/application-data/jira on each pod. Then restart all pods on the cluster.

This is my filestore-config.xml content

xml.png

But after doing all of these steps, Nothing happened attachment storage has not changed it's still at /var/atlassian/application-data/shared-home/data/attachments instead of the s3 location

I've already checked:

  •    -  license 
  •    - Jira version

ls.png

  •  - upload success file to s3 from pod using awscli to verify connection and permission is good

s3.png

 

Please help me check what i'm missing to make this done

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Håkan Berg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2024

Old post, but I'll reply since I got here after searching why this didn't work;

The problem was that the dark feature, for some reason, should NOT be 

com.atlassian.jira.attachments.storage.configurable.enabled

Instead, just use 

com.atlassian.jira.attachments.storage.configurable

unlike other Dark Feature flags.

0 votes
Matt Cochrane
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 19, 2023

Hi @Duc_nm,

Here are few things to check/debug further:

  • That looks like the right location (local home) but you could validate that there is a db-config.xml in the same directory.
  • Are the permissions correct on filestore-config.xml so that the Jira process can access it?
  • Have you checked you atlassian-jira.log file? Try searching for filestore-config.xml,
    FileStoresConfigHandler, or FileStoreSwitcher in the logs. The logs are fairly informative.
  • Have you made sure to add the filestore-config.xml on all application nodes?
  • Ensure the feature flag was enabled correctly as per these instructions. You have to append .enabled to the feature flag shown. So the full string to be entered is com.atlassian.jira.attachments.storage.configurable.enabled 

If there are any messages in the logs feel free to share them and I should be able to support you further.

0 votes
Duc_nm
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 29, 2023

Can anyone support me? Please!!! 

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events