GitHub Server Upgrade

 

Post shows how to upgrade a single instance GitHub server. 

Before starting the upgrade make sure the GitHub is put on to the Maintenance mode.


Here, We are going to upgrade from version 3.0 to 3.2. I always recommend to check the compatibility matrix before doing any upgrade.


Steps are pretty straightforward:

1) Take a backup/snapshot of your existing GitHub instance.

2) Do a clean reboot.

3) Make sure / (root) and /var filesystem has enough free space.

4) Download the package.

5) Upgrade using # ghe-upgrade <Package Name>


During the upgrade process, your a new virtual root partition would be created (/dev/sda2) and the server will be rebooted once completed.

Once the server rebooted, verify the upgrade completed using # ghe-version


Finally. Login to the UI and wait for the service to be reloaded and remove the maintenance mode.


Upgrade should not affect your existing license.

We are done with the upgrade.


Comments

Popular posts from this blog

SRE/DevOps Syllabus

AWS Code Commit - CI/CD Series Part 1

Docker - Preventing IP overlapping