DEPRECATED: Upgrade LabKey via the Linux Installer

Documentation: Version 15.2
Note: The Linux installer is no longer under active development and has been deprecated. This page is retained for reference only. Please Install LabKey Manually on Linux instead.

These instructions explain how to upgrade your LabKey Server using the LabKey installer for Linux. If you prefer to upgrade LabKey manually see the Manual Upgrade Checklist help topic.

LabKey is supported on most distributions of Linux. However, the installer is currently only supported on Ubuntu 10.x and 11.x. If you running a different Linux distribution, please follow the instructions at Manual Upgrade Checklist or use the manual upgrade script.

Upgrading the LabKey Server using the installer is a simple process:

  1. Download the LabKey Server distribution available from LabKey Corporation after registration. (Download the distribution file named Binaries for Manual Linux/Unix Installation (tar.gz))
  2. Run the linux installer upgrade script, upgrade-labkey.py. (which is shipped as part of the distribution file)

Supported Linux Distributions and Versions

  • Ubuntu 10.x
  • Ubuntu 11.x
If your Linux distribution is not on the list, please use the instructions at Manual Upgrade Checklist or use manual upgrade script..

Download the latest version of the LabKey Server

The latest version of the LabKey Server is available for free, from LabKey Corporation, after a free registration. To download the LabKey Server

  1. Goto the download page to download.
  2. Download the distribution described as Binaries for Manual Linux/Unix Installation (tar.gz)
The distribution file is in tar.gz format. You can extract the binary distribution files by using tar.

As an example, if the URL for the distribution file is http://www.labkey.com/download/12.1/LabKey12.1-20297-bin.tar.gz, then you can download and untar by running

Upgrade the LabKey Server

The Linux installation upgrade script is part of the binary distribution and is named, upgrade-labkey.py. By default, the upgrade script will assume the LabKey Server binaries are located in the /opt/labkey directory.

To upgrade the LabKey Server, all you need to do is

cd DISTRIBUTION-DIRECTORY
./upgrade-labkey.py

where DISTRIBUTION-DIRECTORY is the directory which contains the LabKey Server distribution files.

If your LabKey Server binaries are in a different different directory, you can run

cd DISTRIBUTION-DIRECTORY
./upgrade-labkey.py -i /usr/local/labkey

to upgrade the LabKey Server located in the directory /usr/local/labkey

Related Topics


previousnext
 
expand allcollapse all