Dear all,
We are using Jira DataCenter on Azure runing version 7.13 and working fine so far.
We run a test plan upgrade on our test node in order to update to 8.1.2 Jira version.
We use the Zero downtime procedure https://confluence.atlassian.com/adminjiraserver/upgrading-jira-data-center-with-zero-downtime-938846953.html to run the upgrade process and since that time we are not able to start Jira and report following error in catalina.out log file :
JIRA-Bootstrap FATAL [c.a.jira.startup.JiraStartupLogger] Star tup check failed. JIRA will be locked.
We cross check permission and ownership and recover setting entry in different files lilke setenv.sh, server.xml, jira-application.properties
We could not see any other information .
Any idea what can be check else ?
regards
I manage to solve the issue by restarting from scratch and not click on the Update Mode button for Jira update which causing trouble in my migration steps
regards
I usually see this message when the previous Jira process is still running, and you are trying to start a new one.
Check how many Jira processes are running now.
ps -ef | grep java
If more than one, kill both and restart the Jira.
UPD
Check the rights to the Jira-inst directory
This can happen when the user who ran the Jira cannot delete the lock file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I try the command you mention and return what is below :
jira 14730 1 0 08:23 ? 00:00:20 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx10500m -XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m -Djav .awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:-OmitStackTraceInFastThrow -Djava.locale.providers=COMPAT -Datlassian.plugins.startup.options= -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause -Dignore.endorsed.dirs= -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
root 16925 15255 0 08:59 pts/0 00:00:00 grep --color=auto java
Do you see something special ?
When I run Top command I have only one Java process but use only 4mb ram and 0 % cpu . Should be much more when fully started correctly
Fortunatly we get our other node running version 7.13 while we try to upgrade this node
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have only one Java process running, it is ok.
Check the rights to the Jira-inst directory
Ls -la jira-inst
The rights must belong to the user from which you are trying to start the process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I try I have Ls command not found
what is jira-inst ? a command or I should replace it by my own install ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
jira-inst it is jira installation directory
There are Jira executable files, access to which is important for the correct operation of the service.
Read more about the rights here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We made one test as below in order to segragate our testing juts to explain in more clear step.
Our current cluster node runs version 7.13
We test upgrade to version 8.1.2 by using Zero down time procedure and place Jira in Update Mode
We first upgrade only the atlassian-jira to 8.1.2 folder without the tomcat update
We found in logs the following entry :
2019-07-17 09:54:56,384 localhost-startStop-1 ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA.
java.lang.IllegalStateException: Your node with Jira version 8.1.2 will not start up with version 7.13.0 because Jira does not support zero downtime upgrades between major releases. See https://docs.atlassian.com/jira/jadm-docs-080/Upgrading+Jira+applications.
Does this means that Zero down time can not be use when upgrading from 7.13 to 8.1.2 ?
Thanks for advise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Calderara Serge ,
do you have more information from the logs ? The lines before the FATAL that you copied here should be interesting.
Thanks,
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear alexis,
here is below the whole logs emntry we have. We ares strungling 3 full days on this and have no idea what is wrong . We follow the procedure by :
- placing Jira in update mode
- Check plug in compatibility and desable uncomptible one and update others
- We rename our previous run jira folder ( v 7.13)
- We copy the nee one (v 8.1.2) including provided TomCat
- We add to conf files our previous settings
After trying to start jira using sh start-jira.sh command it run a process jav that I can see on list of process but stuck to 0% cpu usage and 4mb ram while normal should raise up
Fortunately our other instance node is still running with other version 7.13
You can find the log entry to teh link below :
Thanks for your help on this
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.