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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
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