after creating the symbolic link, do we need to restart the Jira Application?

This question is in reference to Atlassian Documentation: How to change the attachments directory on JIRA

Ask your question here...

2 answers

1 accepted

This widget could not be displayed.

That's actually a hideously complicated question to answer in detail because it depends on your file system, operating system and JVM.  In some cases, it's a no, in some it's a yes, and in most, it's a "you probably should".  But rather than try to go through that and start to guess at percentage chances of something going wrong, be safe.

The best answer is "you should stop JIRA before creating the link", and the second best answer is "yes, restart it".

 

Thanks for your prompt response Nic.

I did restart of my JIRA server, but still iam unable to attach the file into my JIRA issue.

File "Gliffy Diagram for Jira Snapshot.PNG" was not uploaded

Could not save attachment to storage: Unable to create target directory /var/atlassian/application-data/jira/data/attachments/KPTT/10000/KPTT-9206

 

The step used to create symbolic link in my platform, where JIRA s/w is running i,e Linux

ln -s /var/atlassian/application-data/jira/data/attachments /home/application-data/jira/data/attachments

 

Attachment Path(System->Attachements) currently showing in my JIRA sw:: /var/atlassian/application-data/jira/data/attachments

Where JIRA sw is installed in my server i,e /home/application-data/jira/data/attachments

  • Manju

Did you replicate the full tree to the new place, and check all the permissions throughout?  That error is almost always down to the permissions, or sometimes disk space.

Read the log for more detail on the actual root error.

Nic,

Thanks. My problem is solved, folder /var/atlassian/application-data/jira/data/attachments/KPTT didn't have write permission to create sub-folders, now i added needed permission to create sub-folder and add attachment based on the error posted now.

  • Manju
This widget could not be displayed.

I am trying something similar with JIRA 7.2.1 running on Windows and am not able to resolve the issue. 

One difference is that I have a sym link for one of the projects and not all of JIRA attachments, I am guessing that should not matter and yet after checking permissions are there for the project's folder, I get the same error and exception.

Is there something else one needs to do for Windows?

Thanks,

Gaurang

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 10 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

30 views 1 2
Join discussion

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