Hi all,
I'm trying to upgrade a jira standalone installation on a Linux system from 7.4.2 to 7.13.9. I followed the instructions in the guides and release/upgrade notes.
First of all I have to state that the jira installation directory of the instance seems to be '/opt', which is quite strange indeed, but the contents of '/opt' are:
drwxr-xr-x 6 root root 4096 Oct 18 00:39 ./
drwxr-xr-x 23 root root 4096 Oct 18 00:28 ../
drwx------ 17 jira 500 4096 Aug 3 2017 atlassian-jira/
-rwxrw-r-- 1 jira jira 350614470 Oct 14 17:20 atlassian-jira-software-7.13.9-x64.bin*
drwxr-xr-x 2 500 500 4096 Jan 24 2018 collaboraoffice5.3/
-rw-r--r-- 1 root root 1856091 Jul 5 2017 httpclienttest-1.0.2.jar
drwx------ 12 jira 500 4096 Oct 17 23:33 jira-7.4.2/
Anyway the installer does not accept the subdirectory 'jira-7.4.2' as installation directory and from the documentation I know that the installation directory is defined as the directory containing the subdirectory 'atlassian-jira' and a directory lile 'jira-x.x.x', so it seems pretty sure that '/opt' indeed is the installation directory.
That said, the installer indeed starts when choosing '/opt' as installation directory, but it complaints about 2Problems reading the installation directory". This can be ignored and the installation process continues. Though this might be the reason why it later aborts:
jira@srv:opt$ sudo ./atlassian-jira-software-7.13.9-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install JIRA Software 7.13.9 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing JIRA installation [3, Enter]
3
Existing installation directory:
[/opt/jira-7.4.2]
/opt
Problems reading the installation directory.
Ignore [i, Enter], Retry [r], Quit [q]
i
Back up JIRA home directory
The upgrade process will automatically back up your JIRA installation
directory. You can also choose to back up your existing JIRA home directory.
Both directories are backed up as zip archive files in their respective
parent directory locations.
We strongly recommend choosing this option in the unlikely event that you
experience problems with the upgrade and may require these backups to
restore your existing JIRA installation.
If you have many attachments in your JIRA home directory, the zip archive of
this directory may consume a significant amount of disk space.
Back up JIRA home directory?
Yes [y, Enter], No [n]
y
Checking for local modifications.
Checking if your instance of JIRA Software is running
In action "Run script" (screen "Check if JIRA is running [Display progress]"), property "Script":
java.lang.NullPointerException
at I4jScript_Internal_344.eval(I4jScript_Internal_344.java:20)
at I4jScript_Internal_344.evaluate(I4jScript_Internal_344.java:28)
at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)
at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)
at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
at com.install4j.runtime.installer.Installer.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Upgrade check list
Back up your external database
We strongly recommend you back up your JIRA Software database if you have
not already done so.
Please refer to the following URL for back up guidelines:
http://docs.atlassian.com/jira/jadm-docs-0713/Backing+up+data
Check plugin compatibility
Check that your non-bundled plugins are compatible with JIRA Software
7.13.9.
For more information see our documentation at the following URL:
http://docs.atlassian.com/jira/jadm-docs-0713/Upgrading+JIRA+applications
Please ensure you have read the above checklist before upgrading.
Your existing JIRA installation is about to be upgraded! Do you want to proceed?
Upgrade [u, Enter], Exit [e]
u
Your instance of JIRA is currently being upgraded.
Checking if JIRA has been shutdown...
In action "Check jira is shut [Run script]" (screen "Upgrade Actions [Display progress]"), property "Script":
java.lang.NullPointerException
at I4jScript_Internal_352.eval(I4jScript_Internal_352.java:20)
at I4jScript_Internal_352.evaluate(I4jScript_Internal_352.java:39)
at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)
at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)
at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)
at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
at com.install4j.runtime.installer.Installer.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Rolling back changes ...
Since I used sudo there should not be any problem reading the directory, right?
Any help with this will be highly appreciated.
P.S.: I did find the article about the Upgrade to JIRA 4.4,but though the output seems to be quite the same, the suggested solution did not solve my problem.