Server

Upgrade

Updated: December 19, 2024

This page describes a general upgrade procedure. You will find below the list of required manual steps per version. Follow them carefully from your current version to the new version.

  • To upgrade from one LTS version to another, from 7.10 to 10.10 for instance, follow 7.10 -> 8.10 -> 9.10 -> 10.10.
  • To upgrade from an LTS version to the latest Fast Track version, from 6.0 to 8.3 for instance, follow 6.0 -> 7.10 -> 8.1 -> 8.2, etc.

Upgrade Notes
Although major changes are explicitly documented, it is recommended to look at the upgrade notes before upgrading. Upgrade notes list changes that may affect existing configuration or features after upgrade (changes on parameters, API, default behavior, etc.).

Nuxeo Upgrade Policy

Each version of the Nuxeo Platform comes with bug fixes, new features and improvements. This means upgrading to the latest public release is a smart move. In order to make upgrade easy, we are very careful not to break anything:

  • We don't break the APIs between two versions: we add new APIs and deprecate old ones,
  • There are several minor versions between the deprecation and the removal so you have time to adapt your code,
  • If we completely replace a service (that was the case for SearchService and EventService for example), we provide compatibility packages so you can continue using the old API (even if migrating to the new API is highly recommended).

In terms of data migration we are also very careful not to break anything. When some changes or optimizations impact the storage layer we either:

  • Make the upgrade automatically,
  • Or provide guidelines for the upgrade.

Upgrading is usually a simple and painless process. Using the template system also allows to easily transpose your configuration from one version to an other. In the worse cases, in case of problem, the Nuxeo Support is there to help you :smile:

General Upgrade Procedure

You should have configured Nuxeo with a specific configuration (and optionally with custom templates) setting a database (for production) and a data directory. In that case, follow the steps below to upgrade your Nuxeo Platform.

  1. Do a backup.
  2. Stop the old Nuxeo Platform.
  3. Deploy the new Nuxeo Platform version (see the Installation pages).
  4. Update the environment variable NUXEO_HOME.
  5. Update your nuxeo.conf file to make it use your custom configuration, database and data directory.

    • Report your custom configuration (uncommented lines in the old Nuxeo Platform nuxeo.conf) into the nuxeo.conf file of the target Nuxeo Platform version.s

      Be very careful about the two properties allowing to configure the backend for audit logs, make sure you read the related documentation:

    • Replace the old nuxeo.conf file with this new one.
  6. Upgrade your Nuxeo Packages.
  7. Upgrade and install your Studio project customization.
  8. Upgrade and install your custom code.
  9. If you have manually copied JARs in $NUXEO/nxserver/plugins or $NUXEO/nxserver/bundles (like nuxeo-platform-login-cas2 if you are using the CAS2 authentication), install the corresponding new version of the JARs.
  10. Start the new Nuxeo Platform.
  11. Check for ERROR or WARN logs in $NUXEO/log/console.log or $NUXEO/log/server.log, or Nuxeo Runtime startup errors after log Nuxeo Platform Started.

Upgrading Your Nuxeo Packages

  1. Run nuxeoctl mp-list to get the list of all downloaded and installed (started state) Nuxeo Packages.
  2. Get the list of all started Nuxeo Packages.
  3. Run nuxeoctl mp-install on each addon that was in started state at step 2.

Upgrading Your Nuxeo Studio Project

To upgrade your Nuxeo Studio project:

  1. in the Nuxeo Studio Settings, change your target platform from the Application Definition menu.
  2. In Source Control > Branch Management, click on the Tag button of the last commit (or of the last relevant commit) to save your Studio project state in a new version.
  3. Install the newly tagged version of your Project on your platform by running nuxeoctl mp-install StudioProjectName-tagName.

Note

The XML extensions contributed in Nuxeo Studio are not processed by the Studio upgrade compatibility checks. Follow the custom code upgrade guidelines to ensure they will work as expected.

Upgrading Your Custom Code

Since the Platform evolves, you will also need to upgrade your custom code:

  1. Identify your customization in your code so as to be able to easily find where changes may be needed on the test phase of the upgrade.
    • Contributions to the extension points you defined: although we maintain compatibility between versions, you may need to check the extension point definition in the Nuxeo Platform Explorer to see if the descriptor has changed (new attributes for instance) ;
    • The XHTML templates from the Nuxeo Platform you overrode to get a custom behavior: some of these templates may have changed (sometimes a lot if you plan to upgrade several versions up) and you have to identify the modifications you did before in order to apply them to the new version of these Nuxeo templates;
    • The API you used in your custom Java code: some APIs were deprecated, other ones removed (like everything around jBPM).
  2. At server startup, check for error or warn logs that could give deprecation or upgrade information.
  3. For each version of the upgrade path, build your custom plugin and check if it's running correctly once deployed in the Nuxeo Platform target version. If you run into issues, you know where to search since you already identified where customizations have been done at step 1.

Detailed Upgrade by Version

To Nuxeo LTS 2023 from LTS 2021

See Upgrade from LTS 2021 to LTS 2023 to upgrade to the LTS 2023 version of Nuxeo Platform.

Release Notes:

To Nuxeo LTS 2021 from LTS 2019

See Upgrade from LTS 2019 to LTS 2021 to upgrade to the LTS 2021 version of Nuxeo Platform.

Release Notes:

To LTS 2019 from LTS 2017

See Upgrade from LTS 2017 to LTS 2019 to upgrade to the LTS 2019 version or Upgrade from LTS 2017 following Fast Tracks to upgrade from a Fast Track version to LTS 2019.

Release Notes:

To LTS 2017 from LTS 2016

See Upgrade from LTS 2016 to LTS 2017 to upgrade to the LTS 2017 version or Upgrade from LTS 2016 following Fast Tracks to upgrade from a Fast Track version to LTS 2017.

Release notes:

To LTS 2016 from LTS 2015

See Upgrade from LTS 2015 to LTS 2016 to upgrade directly to the LTS 2016 version or Upgrade from LTS 2015 following Fast Tracks to upgrade from a Fast Track version to LTS 2016.

Release notes:

To LTS 2015 from LTS 6.0 or FT 7.x

See Upgrade from 6.0 to LTS 2015

Release notes:

Upgrade notes: