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
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,725 views 17 21
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