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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

415 views 1 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