From 1fb7316bfeb64413596ab0767a4790dec07fdc1e Mon Sep 17 00:00:00 2001 From: revital Date: Thu, 27 Feb 2025 12:30:45 +0200 Subject: [PATCH] Revert changes - backup needs to be done b4 changing directory name --- .../upgrade_server_linux_mac.md | 17 +++++++---------- docs/deploying_clearml/upgrade_server_win.md | 9 +++------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/deploying_clearml/upgrade_server_linux_mac.md b/docs/deploying_clearml/upgrade_server_linux_mac.md index 097f5f29..7be52d46 100644 --- a/docs/deploying_clearml/upgrade_server_linux_mac.md +++ b/docs/deploying_clearml/upgrade_server_linux_mac.md @@ -41,22 +41,19 @@ For backwards compatibility, the environment variables ``TRAINS_HOST_IP``, ``TRA docker-compose -f docker-compose.yml down ``` -1. If upgrading from **Trains Server** version 0.15 or older to **ClearML Server**, do the following: - - 1. Follow these [data migration instructions](clearml_server_es7_migration.md), - and then continue this upgrade. - - 1. Rename `/opt/trains` and its subdirectories to `/opt/clearml`: - - ``` - sudo mv /opt/trains /opt/clearml - ``` +1. If upgrading from **Trains Server** version 0.15 or older, a data migration is required before continuing this upgrade. See instructions [here](clearml_server_es7_migration.md). 1. If upgrading from ClearML Server version older than 1.2, you need to migrate your data before upgrading your server. See instructions [here](clearml_server_mongo44_migration.md). 1. [Backing up data](clearml_server_linux_mac.md#backing-up-and-restoring-data-and-configuration) is recommended and, if the configuration folder is not empty, backing up the configuration. +1. If upgrading from **Trains Server** to **ClearML Server**, rename `/opt/trains` and its subdirectories to `/opt/clearml`: + + ``` + sudo mv /opt/trains /opt/clearml + ``` + 1. Download the latest `docker-compose.yml` file: ``` diff --git a/docs/deploying_clearml/upgrade_server_win.md b/docs/deploying_clearml/upgrade_server_win.md index 489f2e84..ab22f542 100644 --- a/docs/deploying_clearml/upgrade_server_win.md +++ b/docs/deploying_clearml/upgrade_server_win.md @@ -30,13 +30,8 @@ you can proceed to upgrade to v2.x. docker-compose -f c:\opt\trains\docker-compose-win10.yml down ``` -1. If upgrading from **Trains Server** version 0.15 or older to **ClearML Server**, do the following: +1. If upgrading from **Trains Server** version 0.15 or older, a data migration is required before continuing this upgrade. See instructions [here](clearml_server_es7_migration.md). - 1. Follow these [data migration instructions](clearml_server_es7_migration.md), - and then continue this upgrade. - - 1. Rename `/opt/trains` and its subdirectories to `/opt/clearml`. - 1. If upgrading from ClearML Server version older than 1.2, you need to migrate your data before upgrading your server. See instructions [here](clearml_server_mongo44_migration.md). 1. Backing up data is recommended, and if the configuration folder is not empty, backing up the configuration. @@ -45,6 +40,8 @@ you can proceed to upgrade to v2.x. For example, if the configuration is in ``c:\opt\clearml``, then backup ``c:\opt\clearml\config`` and ``c:\opt\clearml\data``. Before restoring, remove the old artifacts in ``c:\opt\clearml\config`` and ``c:\opt\clearml\data``, and then restore. ::: + +1. If upgrading from **Trains Server** to **ClearML Server**, rename `/opt/trains` and its subdirectories to `/opt/clearml`. 1. Download the latest `docker-compose.yml` file: