0.60

ReferenceEnterpriseUpgradeEnterprise

Upgrade the Core

Move a Synnax Core to a newer version, then update the Console and standalone Drivers.

Upgrade a Synnax Core to get new features and fixes. When the Console finds a Core that is older than the Console, it shows Incompatible Core version with an Update Core button.

Before you upgrade

  1. Check the version of your Core with synnax --version. You can upgrade in one step from v0.47.0 or later to the current release. Upgrades from v0.46 or earlier are not supported.
  2. Read the release notes of each version after yours.
  3. Check that your license covers the new version. Core 0.60 and later accept only signed license keys from the portal, so get one before you upgrade from 0.59. See numeric license keys. After the license term ends, a license with a version cap covers only versions up to the cap. See expiry.
  4. Stop the Core. Press Ctrl+C in its terminal, or stop its service.
  5. Copy the data folder of the Core to a safe place. The data folder holds all data, metadata, and the stored license key. See Back up the Core.

The new Core changes the data folder when it first starts. An older Core cannot always read it after that, so the copy is the only way back.

Upgrade

Download the new binary:

curl -LO https://github.com/synnaxlabs/synnax/releases/download/core/v0.60.0/synnax-v0.60.0-linux

Replace the binary that the Core runs from. For a Core in /usr/local/bin:

sudo mv synnax-v0.60.0-linux /usr/local/bin/synnax

Make the binary executable:

sudo chmod +x /usr/local/bin/synnax

Start the Core with the same flags and from the same folder as before, so it uses the same data folder. For a service, start the service.

On its first start, the new Core logs running migrations and one migration completed line for each change to stored data. Wait for Synnax is running and available at <address>. If the Core stops during a migration, the migration rolls back, and the next start runs it again.

To check the version, run synnax --version.

Update the Console and Drivers

  • Console app -> the Console checks for updates and shows Update available. Click it to update.
  • Console in a browser -> updates with the Core.
  • Standalone Drivers -> install the new release on each computer. See Install a standalone Driver.

The Console, the client libraries, and the Driver warn when their major or minor version differs from the Core. They still connect. Upgrade the Core first, then the Console and Drivers. A Console older than 0.60 shows errors instead of the activation screen when a Core 0.60 has no license, so upgrade the Console with the Core.

Synnax Desktop has its own Core, which updates with the app. Synnax Desktop backs up its metadata before each update.

Go back to an earlier version

Synnax does not support a downgrade. To go back, stop the Core, replace the data folder with the copy you made before the upgrade, then start the earlier version.