> For the complete documentation index, see [llms.txt](https://docs.clore.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clore.ai/clore.ai/clore.ai-eng-fr/pour-les-hotes/server-offline-on-clore.ai/how-to-reinstall-while-keeping-the-old-token.md).

# Réinstaller tout en conservant le jeton

**Méthode 1 (préférée)**

Le fichier de jeton se trouve à /opt/clore-hosting/client/auth. Pour le copier facilement, vous pouvez utiliser un programme avec un gestionnaire de fichiers, comme Snowflake :

<figure><img src="https://259039044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbyNlC5NV8aIpXnc76G7w%2Fuploads%2FOEv5FeKXt8Mhv6xZuqb8%2Fimage%20(12).avif?alt=media&amp;token=d84a9415-ae1e-4dee-81e1-346834ecab1b" alt=""><figcaption></figcaption></figure>

1. Assurez-vous que votre ordinateur et le serveur sont sur le même réseau local.
2. Faites glisser le fichier auth sur votre ordinateur ou sur une clé USB.
3. Réinstallez Hive OS avec la commande :

   ```
   hive-replace -y --stable
   ```
4. Suivez les instructions d’installation et, au lieu d’utiliser la commande :

   ```
   /opt/clore-hosting/clore.sh --init-token <token>
   ```

   il suffit de remettre le fichier auth dans le`/opt/clore-hosting/client/`répertoire
5. Redémarrez le serveur :

   ```
   reboot
   ```

**Méthode 2**

1. Connectez-vous au serveur via SSH ou ouvrez Hive Shell et exécutez la commande :

   ```
   mcedit /opt/clore-hosting/client/auth
   ```

   Le fichier auth s’ouvrira dans un éditeur de texte. Copiez son contenu et enregistrez-le sur votre ordinateur, par exemple dans un éditeur de texte.

<figure><img src="https://259039044-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbyNlC5NV8aIpXnc76G7w%2Fuploads%2Fbha0fjhPhtAwlnYnOKTL%2Fimage%20(36).png?alt=media&amp;token=c8053efb-ff69-4f83-b34c-aa16f0f45caa" alt=""><figcaption></figcaption></figure>

2. Appuyez sur F10 pour quitter l’éditeur.
3. Réinstallez Hive OS avec la commande :

   ```
   hive-replace -y --stable
   ```
4. Une fois l’installation terminée, exécutez les commandes suivantes dans l’ordre :

   ```
   cd /opt/clore-hosting/client/
   touch auth
   mcedit auth
   ```

   Un fichier auth vide s’ouvrira dans l’éditeur de texte. Collez le contenu précédemment enregistré de l’ancien fichier.
5. Appuyez sur F2 pour enregistrer et sur F10 pour quitter.
6. Redémarrez le serveur :

   ```
   reboot
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.clore.ai/clore.ai/clore.ai-eng-fr/pour-les-hotes/server-offline-on-clore.ai/how-to-reinstall-while-keeping-the-old-token.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
