-
Bug
-
Resolution: Fixed
-
Low
-
None
-
master
-
None
-
Severity 2 - Major
Issue Summary
As per the summary, after deploying any version of Jira from an official docker image, Tomcat will log the following false positive error on startup:
"Unable to create directory for deployment: [$JIRA_INSTALL/conf/Catalina/localhost" false positive error
in catalina.[timestamp] file
Steps to Reproduce
- Deploy any version of Jira from an official docker image
- Start the container
Expected Results
- Jira should start successfully and should NOT log the above error
Actual Results
- Jira starts successfully but logs the error which can be very confusing and misleading to customers, especially if other issues are present. For example, if there's a misconfiguration in server.xml, it may look like the permissions are set incorrectly on the $JIRA_INSTALL folder
The below exception is thrown in the xxxxxxx.log file:
"Unable to create directory for deployment: [$JIRA_INSTALL/conf/Catalina/localhost" false positive error
Workaround
Create the directory manually inside the container and grant the Jira's account full access to the directory:
mkdir -p $JIRA_ISNTALL/conf/Catalina/localhost sudo chown -R jira:jira $JIRA_INSTALL/conf/Catalina/localhost