Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira wont upgrade, shows Java errors

Jasper May 9, 2019

I'm getting this error while I wanna upgrade my Jira:

 

[root@atlassian atlassian]# ./atlassian-jira-software-8.1.0-x64.bin
Unpacking JRE ...
Starting Installer ...
mei 09, 2019 1:38:51 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install JIRA Software 8.1.0 on your computer.
OK [o, Enter], Cancel [c]
./atlassian-jira-software-8.1.0-x64.bin: regel 466: 3012 Geëlimineerd $INSTALL4J_JAVA_PREFIX "$app_java_home/bin/java" -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname" -Dexe4j.totalDataLength=368068599 -Dinstall4j.cwd="$old_pwd" -Djava.ext.dirs="$app_java_home/lib/ext" "-Dinstall4j.executionMode=console" "-Dsun.java2d.noddraw=true" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" com.install4j.runtime.launcher.Launcher launch com.install4j.runtime.installer.Installer false false "" "" false true false "" true true 0 0 "" 20 20 "Arial" "0,0,0" 8 500 "version 8.1.0" 20 40 "Arial" "0,0,0" 8 500 -1 "$@"

1 answer

0 votes
Moses Thomas
Community Champion
May 9, 2019

@Jasper  I don't  see any  error here  and  it  looks  like you are doing a  fresh  installation not  upgrade. please provide  the exact problem  you are facing.

Jasper May 9, 2019

This is the normal upgrade mode. I don't chose a thing, it just crashes.

Moses Thomas
Community Champion
May 9, 2019

@Jasper  Could you  please provide more log information in  <jira-home-dir>\log\atlassian-log

Jasper May 10, 2019

@Moses Thomas this is the output after trying to install after a reboot:

[root@atlassian atlassian]# ./atlassian-jira-software-8.1.0-x64.bin
Unpacking JRE ...
./atlassian-jira-software-8.1.0-x64.bin: regel 350: 59157 Geëlimineerd gunzip jre.tar.gz
tar: Onverwacht einde-van-bestand in archief
tar: rmtlseek() is niet gestopt op een recordgrens
tar: Error is not recoverable: exiting now
Starting Installer ...
/opt/atlassian/atlassian-jira-software-8.1.0-x64.bin.59127.dir/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

 

And this is output of the log of yesterday:

Java HotSpot(TM) 64-Bit Server VM (25.181-b13) for linux-amd64 JRE (1.8.0_181-b13), built on Jul 7 2018 00:56:38 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
Memory: 4k page, physical 5794984k(5339176k free), swap 630780k(630780k free)
CommandLine flags: -XX:GCLogFileSize=20971520 -XX:InitialCodeCacheSize=33554432 -XX:InitialHeapSize=402653184 -XX:MaxHeapSize=1072693248 -XX:NumberOfGCLogFiles=5 -XX:-OmitStackTraceInFastThrow -XX:+PrintGC -XX:+PrintGCCause -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:ReservedCodeCacheSize=536870912 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseGCLogFileRotation -XX:+UseParallelGC
2019-05-09T22:49:20.121+0200: 7.343: [GC (Allocation Failure) [PSYoungGen: 98304K->11636K(114688K)] 98304K->11708K(376832K), 0.0306621 secs] [Times: user=0.07 sys=0.01, real=0.03 secs]
Moses Thomas
Community Champion
May 10, 2019

@Jasper   I suspect permission  issue. 

try the following,  make sure you are in  the directory where you have the binary file

 chmod a+x  atlassian-jira-software-8.1.0-x64.bin

./atlassian-jira-software-8.1.0-x64.bin

 

Suggest an answer

Log in or Sign up to answer