Things to Note:¶
The license key and versions that a Jira instance can upgrade to have a corrolation.
Head over to "Versions and Licenses" inside Jira to see when the License Key expires.
Jira will be unable to upgrade to versions released after this expiry date.
If you are upgrading jira locally¶
which is highly recommended before you try upgrading the live version.
Attach into the container
Change to the root user using the following command:
We then need to head on over to server.xml to get rid of the proxy line to access the local version
Change the following line:
So that it looks more like:
The address is the container IP and the port is 8080.
Make sure the port isn't listed twice. This will stop us from accessing Jira through the IP.
And then continue onto the next steps which can be done on the cluster container itself (updating live) as well as locally (updating locally):
Upgrading Jira on the cluster.¶
We need to download the jira upgrade tool. Do this in a directory that isn't within anything jira related.
First go here to get a link to the latest Jira. Make sure the drop down box is on linux and and the you can right click "Download" and then copy link address. https://www.atlassian.com/software/jira/download
We need to make sure we are downloading the tool to a sensible place so we can find it but also not lose it when the upgrade moves around files.
I suggest changing the directory to
/opt/atlassian/ which can be done with
Change the "x" to the right number for the next set of commands.
Then we need to change the permissions of the tool.
chmod a+x atlassian-jira-software-x.x.x-x64.bin
And then run it
You will get some questions and you will need to give the following answers:
```Unpacking JRE ... This will install JIRA Software 7.8.0 on your computer. OK [o, Enter], Cancel [c]
1 2 3 4
Input `3` ``Existing installation directory: [/opt/atlassian/jira]
```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]
1 2 3 4 5 6
Input: `y` When it asks about the list of modified files, just hit enter. ``Do you want to proceed? Upgrade [u, Enter], Exit [e]
Start JIRA Software 7.8.0 now? Yes [y, Enter], No [n]
``` Once Jira is updated, then all should be fine unless your license key is out of date. If the key is out of date then jira will display instructions on how to get a new one.
Jira license key page corrupted¶
Sometimes the license key page won't display properly unless you use the IP address in the web browser.
sshContainer containername and once you are in the container type
and then you will see something along the lines of
net 10.101.0.10/8 brd 10.255.255.255 scope global eth0.
In this case we would take
10.101.0.10 and then put that into the web browser along with
:8080 at the end.