Forums

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

How to avoid manually kill the running Jira/Confluence process before Restart Jira or Restart Conflu

Mandia May 5, 2020

Hi everyone,

When we run ansible to upgrade jira/confluence, before restart jira/confluence we must manually kill the running jira/confluence process before restart jira. Does anyone has some suggestions how to avoid this situation? Many thanks!

2 answers

0 votes
Andrew Laden
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2020

If you look at the shutdown.sh script, you will see the command called is

exec $PRGDIR/shutdown.sh 20 -force $@

In this case the 20 is seconds to wait for a clean shutdown before trying to kill the process.

Try increasing that to too if you can get a clean shutdown before the kill runs.

That said, I've never seen a problem with the process just being killed. Still starts up fine.

0 votes
Benjamin
Community Champion
May 5, 2020

Hi @Mandia 

 

Not sure the details of your deployment but you should be able to start and stop your device gracefully

 

Here's the link:

 

https://confluence.atlassian.com/adminjiraserver/start-and-stop-jira-applications-938847802.html

 Hope this helps!

Suggest an answer

Log in or Sign up to answer