# Reinstalar conservando el token

**Método Uno (Preferido)**

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

<figure><img src="/files/3075109734b0ca583da13cde31a28fd17c407a72" alt=""><figcaption></figcaption></figure>

1. Asegúrate de que tu computadora y el servidor estén en la misma red local.
2. Arrastra el archivo auth a tu computadora o a una unidad flash.
3. Reinstala Hive OS con el comando:

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

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

   simplemente devuelve el archivo auth a`/opt/clore-hosting/client/`directorio
5. Reinicia el servidor:

   ```
   reboot
   ```

**Método Dos**

1. Conéctate al servidor vía SSH o abre Hive Shell y ejecuta el comando:

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

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

<figure><img src="/files/40f02851533746a33d599f48ef659d3099118bb7" alt=""><figcaption></figcaption></figure>

2. Presiona F10 para salir del editor.
3. Reinstala Hive OS con el comando:

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

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

   Se abrirá un archivo auth en blanco en el editor de texto. Pega el contenido previamente guardado del archivo antiguo.
5. Presiona F2 para guardar y F10 para salir.
6. Reinicia el servidor:

   ```
   reboot
   ```


---

# Agent Instructions: 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:

```
GET https://docs.clore.ai/clore.ai/clore.ai-eng-es/para-anfitriones/server-offline-on-clore.ai/how-to-reinstall-while-keeping-the-old-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
