GuidesRecipesAPI ReferenceChangelogDiscussions
Log In

Upgrade Modzy Core

Modzy Core is Modzy's remote model serving engine used to run models on edge devices or remote servers. It connects remote devices back to a central instance of Modzy and then downloads and serves models locally. Occasionally, new releases of the Modzy platform include new releases of Core. This guide will show you how to upgrade the version of core you're running on any devices.

Standard Upgrade Procedure

Upgrading from Modzy v1.10 and later

For Modzy v1.10 and later, upgrading the version of Modzy Core running on an edge device is very straight forward. Simply follow the standard installation process for Modzy Core. The installation process beginning in v1.10 and beyond also works seamlessly for upgrades. This process will need to be carried out on all of the devices deployed to your instance of Modzy.

  1. Navigate to the device group which contains the edge devices you wish to upgrade
  2. Complete the guide How to Generate a Device Token for each device connected to your device group.
  3. Then finally, complete the guide How to Deploy a Model to the Edgefor each device connected to your device group.

Upgrading from Modzy v1.9 or earlier

The Modzy Core installation process was significantly improved with the release of Modzy v1.10. However, it did result in some changes that need to be made when upgrading Modzy Core from a previous version of Modzy.

  1. Log into each device connected to your instance of Modzy (via SSH or Remote Desktop) and navigate to the location where Modzy Core was previously installed.
  2. Open a terminal on this device and run the following commands. (These commands move your previous device configuration information to a new location so that service interruptions will be limited during the upgrade process.)
    sudo mkdir -p /opt/modzy/core
    sudo mv ~/.modzy/core/data /opt/modzy/core/data
    rm modzy-core
    
  3. Navigate to the device group which contains the edge devices you wish to upgrade
  4. Complete the guide How to Generate a Device Token for each device connected to your device group.
  5. Then finally, complete the guide How to Deploy a Model to the Edgefor each device connected to your device group.