Hello People,
I have created a symlink for attachments folder then onwards I am not able to read the images, Excel docs which are presented in the existing issues. It showing that Oops you have found a dead link. Why is it happening? and Is there any other way to read the docs, if yes may I know how?
Thanks in advance,
Sahish
Hi @Sahish ,
1. After the symlink, does the url look same as it is configured in attachments section of the admin system menu ? i.e <baseUrl>/secure/admin/ViewAttachmentSettings.jspa (Administration setings -> System -> attachmnets)
2.Adjust the owner, group, and required permissions to allow the user used to start Jira to access the location.
See full steps mentioned in https://confluence.atlassian.com/jirakb/change-the-attachments-directory-location-for-jira-server-237569020.html
3. Manually reindex jira (Administration setings -> System -> Indexing)
Hi @Rilwan Ahmed ,
1. After the symlink, still I can see the Attachment path as "Default Directory [/data/jira/data/attachments]" in the system settings.
2. I followed the same steps which have shown in the above document, But still I cannot access.
3. I have done the reindexing when I encountered that issue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sahish
Restart jira once.
JIRA_HOME/plugins/.bundled-plugins JIRA_HOME/plugins/.osgi-plugins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rilwan Ahmed ,
I have done the Stop and Restart activities but still the problem exists.
I have followed the mentioned steps:
1. I don't have any data. I can see Zero.
2. Yes, only one user is used to run jira
3.
4. Instance Health Check result as follows:
5. The screenshots when ever I try to access the images/Excel files:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sahish
As per point 1, there are no attachments in the path/data/jira/data/attachments. Hence you are not able to see the attachments. This could be because your symlink was not created proeprly.
I would request you to recreate the symlink again or take help from Linux admins for this.
Restart jira and if required reindex again after symlink is created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As per point 1, there are no attachments in the path/data/jira/data/attachments. Hence you are not able to see the attachments. - This means even after sym link it should display the data in the attachments folder. ??
But in the Point 1 Picture, below it is showing the sym link right? that means the data will be stored in link where I have created .
Is it like that or my understanding is wrong?
Waiting for clear picture and clarity.
Thanks,
Sahish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sahish ,
If there was symlink to attchments folder, then we you do ls-ltr /data/jira/data/, Attachments folder will be listed with "l" in the permissions column and it looks like attached image.
I would suggest please take help from Linux admins for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please accept the answer if it resolved your issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rilwan Ahmed ,
But one doubt, I have unlinked the sym link and re created once again.
but still in the attachments I can not see sym link. In the attachment folder only I can see the sym link. May I knoiw why.? I have followed the Change the attachments directory location for Jira server | Jira | Atlassian Documentation
I have executed this command.
sudo ln -s /data/backups/AttachmentsFromHomeDir /data/jira/data/attachments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sahish
Link should be created to /data/jira/data/attachments from /data/backup/AttachmentsFromHomeDir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, I have followed the workaround Jira 5.2 and above which is mentioned in the above article.
I created the symlink as you mentioned in the above.
I had executed the following command as mentioned in the atlassian doc.
sudo ln -s /data/backups/AttachmentsFromHomeDir /data/jira/data/attachments.
Could you please tell me am I doing any thing wrong in the command?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sahish ,
Unfortunately I cannot help you more in this matter. As I informed earlier, I would request you to take help from Linux admins for this. i.e to create sym link from and to the required folders.
Restart jira and if required reindex again after symlink is created
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.