This version of GitHub Enterprise was discontinued on 2021-03-02. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Updating GitHub Insights

You can update to the latest version of GitHub Insights to benefit from improvements and bug fixes.

People with read permissions to the github/insights-releases repository and administrative access to the application server can update GitHub Insights.

GitHub Insights is available with GitHub One. For more information, see "GitHub's products."

In this article

About GitHub Insights updates

Before you update GitHub Insights, you can check the version that you're currently using in the lower-right corner of any page.

The update process will take up to 10 minutes. During this time, users cannot access GitHub Insights.

Updating from GitHub Insights 0.4.0+

To update GitHub Insights from 0.4.0+, you can install the latest version. GitHub Insights will ask to use the previous installation configuration.

  1. From the application server, navigate to the latest release of GitHub Insights on the Releases page for github/insights-releases.
  2. To download the latest release, under "Assets", click insights-VERSION.tar.gz.
    Installation assset
  3. Unzip the directory.
  4. Run the shell script install.sh.
  5. If SSL was previously enabled, GitHub Insights will find an existing SSL certificate. Enter "Y" to accept or "n" to change the SSL certificate or disable SSL.
  6. If SSL was previously enabled, GitHub Insights will find an existing SSL key. Enter "Y" to accept or "n" to change the SSL key.
  7. GitHub Insights will find an existing hostname. Enter "Y" to accept or "n" to enter a different hostname. The hostname is the same URL you used for the application server when creating the GitHub App.
  8. The installation will take a few minutes to run. When complete, you will see a message printed to the terminal.
    Installation complete
    Run /opt/insights/scripts/start.sh to start GitHub Insights
    
  9. To start GitHub Insights, run the shell script /opt/insights/scripts/start.sh.
  10. If this is the first time starting GitHub Insights the script will take a few minutes to run. When complete, you will see a message printed to the terminal.
    GitHub Insights is running!
    

Updating from GitHub Insights 0.3.1 or lower

GitHub Insights versions 0.3.1 or lower are incompatible with versions 0.4.0+. To update from GitHub Insights 0.3.1 or lower, install and configure GitHub Insights on a new application server.