domain >>> address ()

This commit is contained in:
pollfly 2022-11-02 16:49:24 +02:00 committed by GitHub
parent 03d3b014a8
commit 91e375fda7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ title: FAQ
* [Can I store the model configuration file as well?](#store-model-configuration) * [Can I store the model configuration file as well?](#store-model-configuration)
* [I am training multiple models at the same time, but I only see one of them. What happened?](#only-last-model-appears) * [I am training multiple models at the same time, but I only see one of them. What happened?](#only-last-model-appears)
* [Can I log input and output models manually?](#manually-log-models) * [Can I log input and output models manually?](#manually-log-models)
* [Models are not accessible from the UI after I migrated ClearML Server to a new domain. How do I fix this?](#migrate_server_models) * [Models are not accessible from the UI after I migrated ClearML Server to a new address. How do I fix this?](#migrate_server_models)
* [Models are not accessible from the UI after I moved them (different bucket / server). How do I fix this?](#relocate_models) * [Models are not accessible from the UI after I moved them (different bucket / server). How do I fix this?](#relocate_models)
**Experiments** **Experiments**
@ -46,7 +46,7 @@ title: FAQ
* [Is there something ClearML can do about uncommitted code running?](#help-uncommitted-code) * [Is there something ClearML can do about uncommitted code running?](#help-uncommitted-code)
* [I read there is a feature for centralized model storage. How do I use it?](#centralized-model-storage) * [I read there is a feature for centralized model storage. How do I use it?](#centralized-model-storage)
* [When using PyCharm to remotely debug a machine, the Git repo is not detected. Do you have a solution?](#pycharm-remote-debug-detect-git) * [When using PyCharm to remotely debug a machine, the Git repo is not detected. Do you have a solution?](#pycharm-remote-debug-detect-git)
* [Debug images and / or artifacts are not loading in the UI after I migrated ClearML Server to a new domain. How do I fix this?](#migrate_server_debug) * [Debug images and / or artifacts are not loading in the UI after I migrated ClearML Server to a new address. How do I fix this?](#migrate_server_debug)
**Remote Debugging (ClearML PyCharm Plugin)** **Remote Debugging (ClearML PyCharm Plugin)**
@ -213,10 +213,10 @@ and [OutputModel](references/sdk/model_outputmodel.md) classes.
<br/> <br/>
**Models are not accessible from the UI after I migrated ClearML Server to a new domain. How do I fix this?** <a id="migrate_server_models"></a> **Models are not accessible from the UI after I migrated ClearML Server to a new address. How do I fix this?** <a id="migrate_server_models"></a>
This can happen if your models were uploaded to the ClearML files server, since the value registered was their full URL This can happen if your models were uploaded to the ClearML files server, since the value registered was their full URL
at the time of registration (e.g. `https://files.<OLD_DOMAIN>/path/to/model`). at the time of registration (e.g. `https://files.<OLD_ADDRESS>/path/to/model`).
To fix this, the registered URL of each model needs to be replaced with its current URL. To fix this, the registered URL of each model needs to be replaced with its current URL.
@ -248,7 +248,7 @@ To replace the URL of each model, execute the following commands:
**Models are not accessible from the UI after I moved them (different bucket / server). How do I fix this?** <a id="relocate_models"></a> **Models are not accessible from the UI after I moved them (different bucket / server). How do I fix this?** <a id="relocate_models"></a>
This can happen if your models were uploaded to the ClearML files server, since the value registered was their full URL This can happen if your models were uploaded to the ClearML files server, since the value registered was their full URL
at the time of registration (e.g. `https://files.<OLD_DOMAIN>/path/to/model`). at the time of registration (e.g. `https://files.<OLD_ADDRESS>/path/to/model`).
To fix this, the registered URL of each model needs to be replaced with its current URL: To fix this, the registered URL of each model needs to be replaced with its current URL:
@ -666,20 +666,20 @@ repository / commit ID. For detailed information about using the plugin, see the
<br/> <br/>
**Debug images and/or artifacts are not loading in the UI after I migrated ClearML Server to a new domain. How do I fix this?** <a id="migrate_server_debug"></a> **Debug images and/or artifacts are not loading in the UI after I migrated ClearML Server to a new address. How do I fix this?** <a id="migrate_server_debug"></a>
This can happen if your debug images and / or artifacts were uploaded to the ClearML file server, since the value This can happen if your debug images and / or artifacts were uploaded to the ClearML file server, since the value
registered was their full URL at the time of registration (e.g. `https://files.<OLD_DOMAIN>/path/to/artifact`). registered was their full URL at the time of registration (e.g. `https://files.<OLD_ADDRESS>/path/to/artifact`).
To fix this, the registered URL of each debug image and / or artifact needs to be replaced with its current URL. To fix this, the registered URL of each debug image and / or artifact needs to be replaced with its current URL.
* For **debug images**, use the following command. Make sure to insert the old domain and the new domain that will replace it * For **debug images**, use the following command. Make sure to insert the old address and the new address that will replace it
```bash ```bash
curl --header "Content-Type: application/json" \ curl --header "Content-Type: application/json" \
--request POST \ --request POST \
--data '{ --data '{
"script": { "script": {
"source": "ctx._source.url = ctx._source.url.replace('https://files.<OLD_DOMAIN>', 'https://files.<NEW_DOMAIN>')", "source": "ctx._source.url = ctx._source.url.replace('https://files.<OLD_ADDRESS>', 'https://files.<NEW_ADDRESS>')",
"lang": "painless" "lang": "painless"
}, },
"query": { "query": {