How do I fix viewing attachments in JIRA Software?

Clicking on thumbnails of attachments used to display the full image. It currently does not work. This occurs for all attachments.

No errors in jira/logs/catalina.out; however, inspecting the page revealed that fileviewer.js is missing:

Uncaught Error: No fileviewer.js                batch.js?locale=en-UK:19

Uncaught Error: No jira/fileviewer/module-backend/asynchronous   batch.js?locale=en-UK:19

What could the issue be?

1 answer

0 votes
Brant Schroeder Community Champion Aug 02, 2017

Are you using a reverse proxy?  What are you hosted on? What version are you using?

Yes we're using a reverse proxy, using apache as the web server, hosted on a VPS using gentoo. 

Versions:  JIRA Core 7.4.1; JIRA Software 7.4.1; JIRA Service Desk 3.6.1

Brant Schroeder Community Champion Aug 02, 2017

Does it do the same thing in all browsers after clearing cache?

Yes, and on different platforms. Could there be an issue on the server side, i.e., Is there a plugin cache I need to clear out?

Brant Schroeder Community Champion Aug 02, 2017

I had a similar issue before and when I traced it in the JavaScript it ended up being an IIS issue with Byte range request.   I was able to confirm is by running JIRA without the reverse proxy.  Are you able to run jira without the proxy and confirm you are not having the issue.

Still running into the same issue without the proxy.

Brant Schroeder Community Champion Aug 02, 2017

Then it sounds like it is a different issue then what I have.  I would try clearing plugin cache and restarting the JIRA service to see if it resolves the issue.  I 

Thank you. How would one clear out the plugin cache?

Brant Schroeder Community Champion Aug 02, 2017

To delete/clear the JIRA plugin cache if you get random plugin behaviour:

  1. Stop the JIRA instance
  2. Delete JIRA_HOME/plugins/.bundled-plugins and JIRA_HOME/plugins/.osgi-plugins (just these two)
  3. Restart JIRA

Thanks ... deleted those directories, didn't help. I've also upgraded jira software & service desk, and still the same issue.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

432 views 1 14
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot