Upgrading and keeping UBOS current
/docs/gears/upgrading/
UBOS Gears makes this really simple:
% sudo ubos-admin update
This single command will perform all necessary steps. This includes:
-
Checking whether software upgrades are available.
-
Displaying an “upgrade in progress” message to users who attempt to access any of the Sites on your Device over the web during the upgrade.
-
Creating a file system snapshot.
-
Temporarily backing up the data of all Apps current deployed on your Device.
-
Undeploying all Apps currently deployed on your Device.
-
Downloading and installing upgraded Packages.
-
If needed, rebooting the Device (e.g. for kernel upgrades).
-
Redeploying the same Apps as before in the same configuration, but in their new version(s).
-
Restoring all data to the redeployed Apps.
-
Performing whatever data migration is necessary to use the data with the new versions of the Apps.
-
Removing the “upgrade in progress” message.
How long an update takes depends on many factors, including the number and size of the updated Packages, the amount of data that needs to be backed up, restored, and migrated, the number of installed Apps, as well as processor, disk and network speed.
Warning
Sometimes, upgrading may require additional steps. Please review Release Notes prior to upgrading.