> 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-es/para-hosts/server-offline-on-clore.ai/how-to-reinstall-while-keeping-the-old-token.md).

# Reinstalar conservando el token

**Método uno (recomendado)**

El archivo de token se encuentra en /opt/clore-hosting/client/auth. Para copiarlo cómodamente, puede usar un programa con un administrador de archivos, como Snowflake:

<figure><img src="https://2330542932-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. Asegúrese de que su computadora y el servidor estén en la misma red local.
2. Arrastre el archivo auth a su computadora o a una memoria USB.
3. Reinstale Hive OS con el comando:

   ```
   hive-replace -y --stable
   ```
4. Siga las instrucciones de instalación y, en lugar de usar el comando:

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

   simplemente devuelva el archivo auth de nuevo al`/opt/clore-hosting/client/`directorio
5. Reinicie el servidor:

   ```
   reboot
   ```

**Método dos**

1. Conéctese al servidor mediante SSH o abra Hive Shell y ejecute el comando:

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

   El archivo auth se abrirá en un editor de texto. Copie su contenido y guárdelo en su computadora, por ejemplo, en un editor de texto.

<figure><img src="https://2330542932-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. Presione F10 para salir del editor.
3. Reinstale Hive OS con el comando:

   ```
   hive-replace -y --stable
   ```
4. Después de completar la instalación, ejecute los siguientes comandos en secuencia:

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

   Se abrirá un archivo auth vacío en el editor de texto. Pegue el contenido previamente guardado del archivo antiguo.
5. Presione F2 para guardar y F10 para salir.
6. Reinicie el servidor:

   ```
   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-es/para-hosts/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.
