Forums

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

Issue with NFS 4.1 mount + JIRA DC 8.20.11

Krishna Manthina August 21, 2023

OS: Centos 8.5.2111

Is anyone facing any issues where - jira.shared.home is set to a NFS Mount path in the DC Installation.


We created a user for JIRA, Say 'Jirauser' and installed the software with Jirauser.

What is observed by us is - 

1. Jira as a standalone installation works fine.

2. upon adding cluster.properties and setting the shared home path (& restart), JIRA is able to create directories as needed in the shared home.

3. When JIRA is further restarted, we are seeing permissions issues and the start-up page of jira shows an error that permissions are missing for jira.home

 

Note:

We tried chmod & chown on these 3 directories recursively - 

Installation Directory, JIRA Home, Shared Home as mentioned here - https://confluence.atlassian.com/jirakb/how-to-fix-directory-permissions-in-linux-for-jira-server-829048437.html

 

Note: When we run this with root user everything goes well.

We are not inclined towards running JIRA / other tomcat apps using root user.



UPDATE:::
This is resolved. 

Strangely, it seems to be a NFS version issue and this article helped us. 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/configuring-an-nfsv4-only-server_managing-file-systems . Not sure how root was earlier functional, but this is now working with all users.

1 answer

1 accepted

0 votes
Answer accepted
praveen redddy August 22, 2023

 Krishna,

The issue is related to NFS Mount. check the NFS version used while mounting the disk.

  • NFS 4.1 from the document is not enabled by default .
  • Enable the version 4.1 in /etc/nfs.conf under section [nfsd]
  • Restart NFS systemctl restart nfs-server
  • Now try the mount with version 4.1mount -t nfs -o rw,nfsvers=4.1,lookupcache=pos,noatime,intr,rsize=32768,wsize=32768,_netdev
  • check file permissions and mount path  and restart Jira

 

Thanks,

Praveen.

Suggest an answer

Log in or Sign up to answer