JIRA Upgrade from 5.1 to 6.1 using bin installer hangs

JIRA Upgrade from 5.1 to 6.1 using bin installer hangs in Extracting files.. process

No error is getting through. If I cancel the installation I am getting the below update.

com.install4j.runtime.beans.actions.misc.runexecutableaction failed

Can you help me in resolving this, I am in mid of production update, I didnt face thin is my stagging env

1 answer

I am upgrading from 6.3 to 6.4.11 now, and met exact same problem as you. The upgrade on staging env worked fine, but stuck on production.

installation was showing "Extracting files" and it was extracting some files, then it just hang there. I cancelled it and unzip the backup file and retried it, still same problem.

strace shows the java process wasn't really doing anything, just sitting there waiting something, lots of repeated clock_gettime and futex.

Finally found it's waiting another process 28483:

strace -f -p 13240 2>&1 | grep -v "clock\|futex"
Process 13240 attached with 21 threads - interrupt to quit
[pid 28489] read(38, <unfinished ...>
[pid 28488] read(36, <unfinished ...>
[pid 13286] wait4(28483, <unfinished ...>

ps -lef | grep 28483
0 S root 28483 13240 0 85 0 - 15962 wait 23:00 pts/1 00:00:00 /bin/bash /jira/jira6/bin/setup_user.sh -d /jira/JIRADATA -i /jira/jira6
4 D root 28487 28483 0 78 0 - 15342 sync_b 23:00 pts/1 00:00:04 chown -R jira /jira/JIRADATA

Now I know it's waiting for "chown -R jira /jira/JIRADATA"

We have huge number issue attachements on production, but not on staging, so this is the reason it stuck, 

I can run lsof -p 28487 to check how far it's going ( unfortunately not very far, seem it's going to be a long night sad )

 

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,804 views 11 18
Join discussion

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