The following describes the current infrastructure setup and the steps to upgrade the Nordix Wiki (Atlassian Confluence)
The Nordix wiki (Atlassian confluence) has been configured to run as a docker container on top of Ubuntu operating system
The PostgreSQL 10 database has been installed and configured as the back end for the Nordix wiki
The /data
is the filesystem where Nordix wiki's application & database files are hosted
The persistent mount point /data/atlassian
has been mounted as a volume on /var/atlassian/application-data/confluence
inside wiki docker container
/data/atlassian/confluence.cfg.xml
is the configuration file where DB parameters have been configured for Nordix wiki
The nginx reverse proxy has been configured with letsencrypt certificate to enable SSL based Nordix wiki access on port 443
The following is the list of user installed wiki applications,
Currently the Nordix Jira is the only application link has been configured in Nordix Wiki
Confluence was successfully upgraded to version 7.4.3 on Aug 21, 2020 at 8:11 PM.
The plan your upgrade option in the Wiki settings will check and recommend the latest available Confluence versions for upgrade. It always better to go with longterm supported enterprise server
version.
Wiki UI Home -> General Configuration -> Upgrade -> Plan your Upgrade |
The Nordix wiki is currently running with Confluence 7.4.3
version. As recommended by the Atlassian upgrade plan, Confluence 7.4.7
is the latest long term supported version
Check and Pull down the Confluence 7.4.7 image
wget -q https://registry.hub.docker.com/v1/repositories/atlassian/confluence-server/tags -O - | jq -r '.[].name'| grep 7.4.7 docker pull atlassian/confluence-server:7.4.7-jdk11 |
Run user-installed apps compatible check against the target wiki version 7.4.7
Wiki UI Home -> General Configuration -> ATLASSIAN MARKETPLACE -> Manage apps -> Confluence update check -> Select the target version "7.4.7" -> Check |
Stop wiki container
sudo docker stop confluence-7.4.3 sudo docker ps -a |
Stop PostgreSQL DB service
sudo systemctl stop postgresql.service sudo systemctl status postgresql.service |
Backup data, including database, installation directory, and home directory
cd /data sudo tar -czvf wiki-data-bkp-<date>.tar.gz atlassian postgresql lost+found |
Start PostgreSQL DB service
sudo systemctl start postgresql.service sudo systemctl status postgresql.service |
Start wiki container with latest confluence version image
sudo docker run -v /data/atlassian:/var/atlassian/application-data/confluence \ -m 8g -e JVM_MAXIMUM_MEMORY=6144m -e CATALINA_CONNECTOR_PROXYNAME=wiki.nordix.org \ -e CATALINA_CONNECTOR_SCHEME=https -e CATALINA_CONNECTOR_SECURE=true --name="confluence-7.4.7" \ -d -p 8090:8090 -p 8091:8091 --restart unless-stopped atlassian/confluence-server:7.4.7-jdk11 sudo docker ps -a sudo docker logs -f confluence-7.4.7 |
Once the wiki container started with latest confluence image 7.4.7-jdk11, please navigate to the wiki UI Nordix Wiki
NOTE: It might take 4-6 minutes for the wiki application to come online to get accessible via UI. Please be patience! |
Once you get the Nordix Wiki login prompt, use your google authentication method to login to the Wiki
Once logged in, you can view the last upgrade report
Wiki UI Home -> General Configuration -> Upgrade -> Latest Upgrade Report |