> 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 en conservant le jeton

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

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

<figure><img src="/files/9f8fad924cfdeb15acb68417bf43975ad1a5ac95" 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 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>
   ```

   remettez simplement le fichier auth dans`/opt/clore-hosting/client/`répertoire
5. Redémarrez le serveur :

   ```
   reboot
   ```

**Méthode deux**

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="/files/5c73ce6fb319823fc3698a3bbfc3a8f7ae100619" 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. Après avoir terminé l'installation, 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 sauvegardé de l'ancien fichier.
5. Appuyez sur F2 pour enregistrer et 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
