Response file no longer working

Onno van der Straaten
Contributor
July 2, 2020

I have a Jira 7.12.1 installation that I am preparing for upgrade to 8.5.5.

When I run the installer the upgrade is performed without problems. The upgrade creates a response file.

When I run the installer using the generated response file, the installer refuses to upgrade. It just barfs up a message that Jira is already installed.

[root@jira ~]# /opt/jira/atlassian-jira-software-8.5.5-x64.bin -q -varfile /opt/jira/response.varfile
Unpacking JRE ...
Starting Installer ...
The installation directory has been set to /opt/jira/jira-7.12.1/app.
It appears that JIRA is already installed in the directory you selected. Please choose a different directory.
[root@jira ~]#

Is this a known issue? That unattended install / upgrade is no longer supported using the generated response files?

Is there a way to still do unattended installs / upgrades?

 

 

 

2 answers

0 votes
Onno van der Straaten
Contributor
July 3, 2020

The generated reponse.varfile is correct. It has

sys.confirmedUpdateInstallationString=false

This should have been

sys.confirmedUpdateInstallationString=true

See Unattended installation - Atlassian Documentation
https://confluence.atlassian.com/doc/unattended-installation-838416261.html

0 votes
Andrew Morin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2020

Going from 7 to 8 requires a few key things that you need to pay attention to. The most important one is removing the index from the server before starting the server as this upgrade has the new version of Lucene. Double check what ever database you are running to make sure you are good there. 

In your screen shot why is it trying to install 8.5.5 back in the current install dir that 7.12.1 is in?

You may need to upgrade from 7.12.1 to 7.13 before going to 8.5...but I would run that by Atlassian support if you are not sure...

https://confluence.atlassian.com/jirakb/upgrade-guide-from-jira-7-6-to-7-13-973491509.html

https://confluence.atlassian.com/jirakb/jira-7-13-to-jira-8-5-enterprise-release-upgrade-guide-978222300.html

Onno van der Straaten
Contributor
July 2, 2020

The upgrade using the installer works but just not unattended. So the first time I use the installer without response file.

/opt/jira/atlassian-jira-software-8.5.5-x64.bin

This upgrades my instance to 8.5.5 everything is fine. Then I restore my snapshot / put 7.12.1 back and try it a second time with the generated response file. This second time it does not work.

/opt/jira/atlassian-jira-software-8.5.5-x64.bin -q -varfile /opt/jira/response.varfile

With regards to putting 8.5.5 in 7.12.1. This is how the installer works. At least unattended. It replaces the app directory. So it takes 7.12.1 and then replaces it with 8.5.5.

After upgrade I rename 7.12.1 to 8.5.5

It is a personal preference, I like to keep installations in a folder with version number.

Onno van der Straaten
Contributor
July 2, 2020

This is bug I think. Unattended installation using response files is no longer working

Suggest an answer

Log in or Sign up to answer