We are in the proces of scripting Jira upgrade using the unattended installation functionality via Powershell, as the installation requires a number of minor modifications/customizations.
We have the automatic upgrade working when running the script by hand, but when running it in a Powershell as part of an Azure DevOps pipeline - run by an Azure DevOps agent hosted on the Jira server itself - the unattended installer simply hangs.
We've tried monitoring it with 'procmon', both when run manually and via pipeline, and the difference is marked. During the manual run files/service/registry entries are removed/added, while if we start it via a pipeline the process is started, but nothing is done - no files/registry entries/services are changed.
We've tried to run the installer from command line, as part of the pipeline, in order to reduce the issue to the minimum. Same issue.
Any ideas?
br
Peter
Hi Peter,
Does the user you run the installation with (via pipeline or commandline) have sufficient permissions to make the changes you mentioned?
And is the installed doing anything at all? Or does it hang from the start?
Hi Charlie,
For the commandline installation we ran with a personal account with local administrator. For the installation via pipeline we've having the Azure DevOps agents service run as both a service account (having local admin) as well as having the agent service running as the same personal user who could run the installation successfully from the commandline.
We did a bit more digging today, and via processmonitor we found reference to a logfile placed in C:\Users\USERNAME\AppData\Local\Temp, which showed the following at the end of it
[5:195] Creating JVM
[5:271] JVM created
[5:272] load helper dll
[5:274] helper dll (in-module) 00007FF793620000
[5:314] setting exe4j.moduleName to E:\T\a1\w\6\s\jira-8.20.14-x64.exe
[5:315] main class: com/install4j/runtime/launcher/WinLauncher
[5:318] param count: 9
[5:320] param 0: false
[5:321] param 1: com.install4j.runtime.installer.Installer
[5:322] param 2: E:\T\a1\w\6\s\error.log
[5:323] param 3:
[5:325] param 4: false
[5:326] param 5: E:\T\a1\w\6\s\jira-8.20.14-x64.exe
[5:327] param 6: -q
[5:328] param 7: -varfile
[5:330] param 8: ./jira\\response.varfile
[5:331] calling main
Indicating that a Java was started. We found a Java which ran for a few seconds but couldn't see that it actually did anything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.