JIRA Upgrade from 5.1 to 6.1 using bin installer hangs

Dilip Elangovan February 14, 2014

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

0 votes
Jack Chen October 30, 2015

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