cptactionhank / docker-atlassian-jira

Atlassian JIRA Core wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira
MIT License
623 stars 247 forks source link

Restart JIRA on AKS #99

Open swathiAMD opened 5 years ago

swathiAMD commented 5 years ago

Hi,

I have installed this JIRA image on the AKS cluster and the JIRA pod connected to an external mysql database. Due to some issue the pod got destroyed and new pod got created which shows me the setup page. I have set up the JIRA on new DB. I have changed the dbconfig file to point to old DB which has all the data. I have to start and stop the JIRA for the DB connection to re-established. When i stop the JIRA pod , the pod is getting destroyed and new pod is getting created. I m not sure how to find the pods are getting destroyed.

Can anyone please help me .

Thanks, Swathi S

TheKas commented 5 years ago

When setting up Jira or Confluence behind a (GCE/AWS/other) proxy/load balancer, make sure to setup proxy/load-balancer timeouts to large values such as 300 secs or more. (The default is set to 60 secs). It is very important to setup these timeouts, as Jira (and other atlassian software) can take significant time setting up initial database. Smaller timeouts will panic Jira and Confluence setup process and it will terminate.