Forums

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

drive D to drive C the home dirctory for Jira

Lior March 17, 2022

Hey everybody!

I must transferd from drive D to drive C the home dirctory for Jira, now data folder and also install folder is in unser this path D: \ program files \ atlassian \ ...
and i want to change it to C: \ program files \ atlassian \ ...


First step i did is copy paste for the dirctory Atlassian and after this I edited the Jira-application.properties file,
and Created variable environments


2.png

 

And I selected startup.bat for the start jira but i got error message
5.png
1.png

I try  to turn on the service but i got error message

4.png

2 answers

0 votes
Piyush A (STR)
Community Champion
March 17, 2022

Hi @Lior

C Drive user permission and move from D to C might have caused issue here as the user running the service vs intended to be run from cause this case.

Just change the permission for the home folder to the required user who runs the application.

Lior March 17, 2022

You can tell me more about that?

what the steps i will need to do ?

Dirk Ronsmans
Community Champion
March 17, 2022

This has a good article on how to set permissions: (not specific for Jira)

https://www.uwec.edu/kb/article/drives-establishing-windows-file-and-folder-level-permissions/

Piyush A (STR)
Community Champion
March 17, 2022

@Lior Update permission as stated above by Dirk on Folder (Atlassian) and assign permission there.


Can you confirm that the jira-application.properties is with correct location? which should be c:

Lior March 20, 2022

the path for  jira-application.properties is 

'C:\Program Files\Atlassian\Jira\atlassian-jira\WEB-INF\classes\jira-application.properties'


and this permission you mean ?

6.png

0 votes
Dirk Ronsmans
Community Champion
March 17, 2022

@Lior ,

Can you check the folder security properties to make sure that the serviceaccount that runs your Jira actually has permissions to read & write in those folders?

Moving them could have removed permissions from the folders

Lior March 17, 2022

I edited the security control for full control for this directory
I also created a new user called Network Service and also gives him full control over the permission
6.png

Suggest an answer

Log in or Sign up to answer