Cannot complete installation - 502 Bad Gateway error

I am trying to install JIRA on our server, but it so far it has been quite a nightmare...

Multiple times during the installation, we got 504 error and sometimes 502 error. When we get 502 the server becomes 100% unresponsive (just keeps giving 502) and I have to go and manually restart JIRA service.

I was still able to get to the point of setting up admin user, but now I am stuck at the last step of setup process, getting 502 error. I have restarted multiple times, completed same steps multiple times and still on the last step (the setup says "Setting up last step") I get 502. I wasnt able to go through that. 

 

I am using pretty standard AWS configuration with nginx as a web server.

 

Please help?

1 answer

0 vote

What does the application log say?  And what is the memory/cpu usage when it appears to be stopping?

CPU: ~ 35% but not every time I restarted Jira. nginx logs say that connection was refused and prematurely closed by jira. In catalina sometimes nothing, but couple of times I got insuficient memory for java runtime to continue

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,209 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot