# टोकन बनाए रखते हुए पुनः इंस्टॉल करें

**विधि एक (प्राथमिक)**

टोकन फ़ाइल /opt/clore-hosting/client/auth पर स्थित है। सुविधाजनक प्रतिलिपि के लिए, आप Snowflake जैसे फ़ाइल प्रबंधक वाले प्रोग्राम का उपयोग कर सकते हैं:

<figure><img src="/files/ece10138d409347936e9f5c304228bfba64ff653" alt=""><figcaption></figcaption></figure>

1. सुनिश्चित करें कि आपका कंप्यूटर और सर्वर एक ही स्थानीय नेटवर्क पर हैं।
2. auth फ़ाइल को अपने कंप्यूटर या फ्लैश ड्राइव पर खींचें।
3. Hive OS को फिर से स्थापित करने के लिए कमांड चलाएँ:

   ```
   hive-replace -y --stable
   ```
4. इंस्टॉलेशन निर्देशों का पालन करें, और कमांड का उपयोग करने के बजाय:

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

   सिर्फ़ auth फ़ाइल को वापस`/opt/clore-hosting/client/`निर्देशिका
5. सर्वर को रीबूट करें:

   ```
   reboot
   ```

**विधि दो**

1. SSH के माध्यम से सर्वर से कनेक्ट करें या Hive Shell खोलें और कमांड चलाएँ:

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

   auth फ़ाइल एक टेक्स्ट एडिटर में खुल जाएगी। इसकी सामग्री कॉपी करके अपने कंप्यूटर पर सहेजें, उदाहरण के लिए किसी टेक्स्ट एडिटर में।

<figure><img src="/files/b98c90560369c255a2e4b34e276c24c64011af97" alt=""><figcaption></figcaption></figure>

2. एडिटर से बाहर निकलने के लिए F10 दबाएँ।
3. Hive OS को फिर से स्थापित करने के लिए कमांड चलाएँ:

   ```
   hive-replace -y --stable
   ```
4. इंस्टॉलेशन पूरा करने के बाद, निम्नलिखित कमांड क्रमशः चलाएँ:

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

   टेक्स्ट एडिटर में एक खाली auth फ़ाइल खुल जाएगी। पुरानी फ़ाइल की पहले से सहेजी गई सामग्री पेस्ट करें।
5. सहेजने के लिए F2 और बाहर निकलने के लिए F10 दबाएँ।
6. सर्वर को रीबूट करें:

   ```
   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-hi/for-hosts/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.
