I have read that it's not possible but is there any config-file or something where it is possible in Version 8.3.0?
The attachments should be stored on a network drive, because there are some very big ones in the system.
Symbolic links are not the right solution for us because the data is still on our server in the home directory.
Thank you in advance for your help.
Regards,
Stefan
Hi Stefan
A symlink is the only possibility following the Attachment documentation; In Jira 8 there is no other way change the path: https://confluence.atlassian.com/adminjiraserver/configuring-file-attachments-938847851.html
Here is Atlassian KB articlefor creating a symbolic link: https://confluence.atlassian.com/jirakb/change-the-attachments-directory-location-for-jira-server-237569020.html
Symlinks are your best bet.
Best regards
Niklas
Regarding
Symbolic links are not the right solution for us because the data is still on our server in the home directory.
If you set up the symlinks correct the data is only displayed where the symlink is, but the data is actually saved at the remote directory. It still saves you storage on the Jira server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sloan N_ B_ ,
thank you for your answer.
Do you know how I have to set up the symlink?
I tested it with the following: mklink /J Link Target
The Link-folder seems to have the same size as the Taget-folder.
Thank you
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan
Maybe it is displaying the properties of the remote folder, I am not entirely sure?
mklink doesn't sync directories but sets up a symbolic link. For applications this symlink seems like a file or directory but it only links to the target. The data is not being duplicated.
Here is Microsofts documentation: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink
Under "Feedback" you find some more resources.
Regards
Niklas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did a test with moving Jira attachments folder to a network location using Windows symlinks.
I weren't able to link just an attachment folder, only the whole JIRA_HOME directory (otherwise Jira didn't start).
After linking %JIRA_HOME% this Jira instance became unstable - network latency and etc sometimes collapsed it and I had to repair and restart it manually.
May be some one had a better experience? Can you share it?
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.