Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Moving Jira Home Directory from C to D

zalim786
Contributor
April 12, 2022

Hi guys,

our Jira Installation and Home directory is location in C:, which is a problem, its taking more

and more space everyday, so now we have a installed a new drive D: and I want to move

Application Data from C to D.

 

Thats how it looks right now.

C:\Program Files\Atlassian\Application Data\JIRA

I want to move Application Data folder to D:


What is the best and riskfree method of doing that? I have read some article where people talk about breaking some sorts of permissions.

I want step by step guide to do it properly.

 

Best Regards

Zali

 

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2022

Yes, you do need to be careful with permissions, ideally you should use a copy that preserves them identically.

  • Stop Jira
  • Copy the directory and its contents to the new place (this is keeping a backup in case things go wrong)
  • Set the ownership and permissions to the same as the old one if the copy process changes them
  • Rename the old directory (to ensure the new one is in use when you restart)
  • Edit the <Jira install>/atlassian-jira/WEB-INF/classes/jira-application.properties
  • Restart Jira and check everything is working
  • If it is, then delete the old renamed directory
zalim786
Contributor
April 12, 2022

hey,

thanks for a quick reply,

 

what permissions are you talking about here? you mean Folder permissions?

 

Regards

Zali

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2022

Yes, there's no other permissions I could be talking about in there.

zalim786
Contributor
April 12, 2022

ok thanks, do I also need to stop DB?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2022

No, the database is separate.

Shanmuka April 12, 2022

Hi @Nic Brough -Adaptavist- 

 

Is it possible to move home directory to another server in linux ?

 

Thanks,

Shanmuka 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2022

No.  Well, partly.

Some of the home directory for a Jira server can be put on a shared file system (I assume that's what you mean by "move directory to another server), but a good chunk of it is not - you can destroy a Jira's performance and corrupt the index by putting things like the index, temporary files and caches on shared storage.

Shanmuka April 12, 2022

Thanks for the reply @Nic Brough -Adaptavist- 

So except those you mentioned (Index, temporary files, caches) we can put rest of the things  in shared storage like NAS

i.e. Data, Plugins, logos, import, export, log 

 

Thanks,

Shanmuka

Suggest an answer

Log in or Sign up to answer