Attachments error after JIRA migration from Windows server to Redhat Linux

We moved JIRA 6.4.14 from Windows server to Redhat Linux. Most of things were going smooth, but some attachments of issue got lost.

We checked attachments are still there in JIRA server ( jira-home/data/attachments folder), but user cannot see or download attachments named in Chinsese from IE or Chrome. 

Any pointer is appreciated.




2 answers


Please tru to Updated User preferences, please see :

If don't works, try to change Timezone in your JIRA server, please see:

Hope that this can help you. 

we tried set timezone as Asia/Shanghai but does not work yet. 

0 votes
Josh Steckler Community Champion May 15, 2017

Look at the permissions -- which account is running JIRA? Not root, right? You should make the file owner the same as the account running JIRA.

Also check the JIRA logs for any error messages when attempting to open the attachments and post that here.

Thanks for your help.

1. We are using root account to run JIRA.

2. Error message when opening the attachment:


Odd. You may need to look into converting the filenames to utf8 encoding or something like that. look into the convmv command,

Definitely try this in a non-production area before wiping out anything you've got.

The filenames you see in the UI are stored in the database as utf8 (at least it should) so that's why they're showing, even if they don't work. 

I don't think this is a permissions problem, but as a matter of best practice it would also be good to run JIRA with a non-privileged service account.

We got part of reason.  

If we change attachment filename by deleting garbage characters, the system can work. E.g. the old filename is 10306_??????.pdf, the changed filename is 10306, we can download the attachment by IE or Chrome. 

We also checked the attachment file is generally named by the pure number in JIRA 6.4.14 ,but we really do not know why there are some many attachments named by number+Chinese in our old windows server. Are they legacy attachments by old JIRA version?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

956 views 3 9
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