Issue with upgrading Jira Server 9.5.0 to pre-released version 9.10

I’m not able to upgrade jira-server 9.5.0 up to pre-released version 9.10

I’ve used two approaches:

Approach 1:

  • Downloaded Jira installation file from Jira Atlassian EAP downloads page
  • copied it (atlassian-jira-software-9.10.0-EAP02-x64.bin) inside the Jira docker container
  • set it executable permissions by: chmod a+x atlassian-jira-software-9.10.0-EAP02-x64.bin
  • run it: ./atlassian-jira-software-9.10.0-EAP02-x64.bin
  • result:
bash-4.4# ./atlassian-jira-software-9.10.0-EAP02-x64.bin
Unpacking JRE ...
Starting Installer ...
Segmentation fault (core dumped)
bash-4.4# root@xxx ~ #

Approach 2:

  • ssh to host xxx
  • cd /opt/xxx/jira9-cust3/
  • docker-compose stop
  • update the docker-compose file with new jira image atlassian/jira-software:9.10.0-EAP02 which was taken from here: Docker
  • docker-compose up -d
  • result:
jira_1      |       Atlassian Jira
jira_1      |       Version : 9.10.0-m0002
jira_1      |                   
jira_1      |
jira_1      | If you encounter issues starting or stopping Jira, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-0910/Troubleshooting+installation
jira_1      |
jira_1      | Using JIRA_HOME:       /var/atlassian/application-data/jira
jira_1      |
jira_1      | Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
jira_1      | /opt/atlassian/jira/bin/check-java.sh: line 31: [: ersion: integer expression expected
jira_1      | /opt/atlassian/jira/bin/set-gc-params.sh: line 5: [: ersion: integer expression expected
jira_1      | NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
jira_1      | [0.001s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log instead.
jira_1      | Unrecognized VM option 'UseGCLogFileRotation'
jira_1      | Error: Could not create the Java Virtual Machine.
jira_1      | Error: A fatal exception has occurred. Program will exit.
jira9-cust3_jira_1 exited with code 1

Please advise on what can be done to fix the issue and install the early access version 9.10 to the docker container.

Any assistance would be much appreciated.

It looks like you’re for some reason trying to run the updated image container on a newer Java version, 11+ I think, while your previous version was confugured for Java 8.

At least, “Unrecognized VM option ‘UseGCLogFileRotation’” points to that, and there’s kb article about that particular error.

1 Like