allow attachments is always OFF

Hi,

We have migrated our JIRA from 6.1.5 to JIRA 6.3.15(moved JIRA to other server). In this process we have installed new JIRA 6.3.15 and restored the backup from 6.1.5. Before restore, the allow attachments is ON, but after restore it became OFF. And even the UI(System->Attachments) not responding if we set it ON and update. And we tried to set JIRA propertyvalue to 1 in the mysql, but when we restart JIRA it is again setting back to 0. We set jira.option.allowattachments = true even in jira-config.properties but still no use.

 

Could you please help me asap?

Thanks a million in advance!

 

1 answer

1 accepted

2 votes

This can happen when JIRA is unable to get full read/write access to the directory you have told it to put the attachments on.  It's no good fiddling with JIRA in this case (not sure why you've even tried that?)

Also, the log file would tell you that it can't access the file system.

You need to check the location and access rights for the JIRA user on the disks.

Yes, it worked. Thank you very much Nic!

It's quite an obscure one, but it makes sense - just a shame it doesn't stick something on the attachments screen to say "I've turned myself off because..."

Just to barge into the conversation - has this issue arisen because during the fresh new installation , the user id that was used to install/create file systems , did not have proper privileges hence creating such permission issues with filesystem ? And if that is the case , do you recommend installation with a root user ?

Sounds like it was something like that! I would not recommend installing it AS root, it should be installed and run as a user with minimal rights. But if you run the installer as root, it can be told to create such a user.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

77 views 0 5
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