Using a drive letter in cluster.properties

IT Service Desk December 5, 2022

Hi,

Is it possible to use a drive letter to refer to the shared home location in de cluster.properties file?

Now we use this line:

jira.shared.home = //hostname.of.netwerkdrive/folder1/Jira/Shared

The path is already mapped as drive letter J to the Windows server.

Is there a possibility to use that drive letter in de cluster.properties file?

Like: jira.shared.home = J:\

I tried that, but Jira doesn't start on this node anymore then.

Anyone has ideas? Thanks!

1 answer

0 votes
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2022

I'm not 100% sure but I think you need to use forward slashes. Give it a try.

IT Service Desk December 6, 2022

I put the forward slash and he did translate it correct. However this is what happens:

2022-12-06 14:23:30,381+0100 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] Ensure JIRA has permission to create and write to the jira.home directory J:\.
Review our documentation for more information on setting your JIRA home.
2022-12-06 14:23:30,390+0100 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] Running Jira startup checks.
2022-12-06 14:23:30,390+0100 JIRA-Bootstrap FATAL [c.a.jira.startup.JiraStartupLogger] Startup check failed. Jira will be locked.
2022-12-06 14:23:30,486+0100 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Startup is complete. Jira is ready to serve.

If I use //hostname.of.netwerkdrive... which points to the same point, Jira starts up with no error.

What am I missing here?

Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2022

It's weird because it in the log entry it is still a backslash:

2022-12-06 14:23:30,381+0100 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] Ensure JIRA has permission to create and write to the jira.home directory J:\.

I can't really find anything about this in Atlassian documentation. Perhaps you can contact Atlassian support for this https://support.atlassian.com/contact/#/

IT Service Desk December 6, 2022

In the custer.properties file I've put a slash forward ;-)

I've made a support ticket! Thanks for the quick reponses.

Zoran Atanasov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2022

Hi @IT Service Desk

I have the same problem with mapping the shared folder to a mounted drive from NFS.

Did You get any answers from the support team?

 

Best Regards,

Zoran

Tony Escamilla April 30, 2024

Did you ever receive confirmation of what it should look like.  We are experiencing the same issue.  

Suggest an answer

Log in or Sign up to answer