These topics provide instructions for upgrading an existing LabKey Server installation to a newer version.

This documentation section has been updated to cover upgrades from versions using embedded Tomcat 10, i.e. from versions equal to or higher than 24.3. If you are not already using embedded Tomcat 10, refer to the documentation archives for assistance in any intermediate upgrades and migration from earlier configuration methods.

Supported Versions for Upgrade

Please see the LabKey Releases and Upgrade Support Policy page. In some cases, you may need to perform an intermediate upgrade before you'll be able to upgrade to the latest version. In particular, if you are not already using embedded Tomcat, you will need an intermediate upgrade before using this section.

Best Practice: Use a Staging Server

We recommend first upgrading a Staging server, as it will help you confirm that the production upgrade will be successful. Bring up a temporary staging server using your current version and a copy of the production database, then upgrade that. Once testing is complete, you can repeat the upgrade process on your production server.

Learn more in this topic: Use a Staging Server

Upgrade Instructions

LabKey Server is packaged and delivered as a single "labkeyServer.jar" file that bundles the modules, webapp, and other dependencies that will be unpacked when the service starts up and deploys the distribution. This process significantly simplifies the installation and upgrade process that previously required more manual steps.

The files necessary for both Linux and Windows installation are included in the same distribution. Follow the upgrade instructions for your platform.

Upgrade on Linux or OSX

Upgrade on Windows

Considerations and Notes

Reset Browser Cache

If menus, tabs, or other UI features appear to display incorrectly after upgrade, particularly if different browsers show different layouts, you may need to clear your browser cache to clear old stylesheets.

Pipeline Jobs

It is a known issue that pipeline jobs that are in progress prior to an upgrade may not resume successfully after an upgrade. The same is true for jobs that may have hit an error condition if they are retried after an upgrade. In general, hotfix releases should not have incompatibilities when resuming jobs, but significant version upgrades will sometimes exhibit this problem. When possible, it is recommended to let jobs complete prior to performing an upgrade.

To check the status of jobs, use the Pipeline link from the Admin Console.

Upgrade Performance

From time to time, one time migrations may result in longer upgrade times than expected for certain modules. Check the logs and do not simply "cancel" an upgrade midstream as it will likely leave your server in an unstable state.

Related Topics


LabKey Cloud Solutions Available

LabKey can take care of the upgrade process for you, so that you can focus on your research. Learn more on our website:

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all