Windows
To upgrade ClearML Server Docker deployment:
Shut down the docker containers.
Execute one of the following commands, depending upon the version that is being upgraded:
Upgrading ClearML Server version:
Upgrading from Trains Server to ClearML Server:
If upgrading from Trains Server version 0.15 or older, a data migration is required before continuing this upgrade. See instructions here.
If upgrading from ClearML Server version older than 1.2, you need to migrate your data before upgrading your server. See instructions here.
Backing up data is recommended, and if the configuration folder is not empty, backing up the configuration.
note
For example, if the configuration is in
c:\opt\clearml
, then backupc:\opt\clearml\config
andc:\opt\clearml\data
. Before restoring, remove the old artifacts inc:\opt\clearml\config
andc:\opt\clearml\data
, and then restore.If upgrading from Trains Server to ClearML Server, rename
/opt/trains
and its subdirectories to/opt/clearml
.Download the latest
docker-compose.yml
file.Startup ClearML Server. This automatically pulls the latest ClearML Server build.
If issues arise during your upgrade, see the FAQ page, How do I fix Docker upgrade errors?.