Page cover image

How to Reinstall While Keeping the Old Token

Method One (Preferred)

The token file is located at /opt/clore-hosting/client/auth. For convenient copying, you can use a program with a file manager, such as Snowflake:

  1. Ensure that your computer and the server are on the same local network.

  2. Drag the auth file onto your computer or a flash drive.

  3. Reinstall Hive OS with the command:

    hive-replace -y --stable
  4. Follow the installation instructions, and instead of using the command:

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

    simply return the auth file back to the/opt/clore-hosting/client/directory

  5. Reboot the server:

    reboot

Method Two

  1. Connect to the server via SSH or open Hive Shell and run the command:

    mcedit /opt/clore-hosting/client/auth

    The auth file will open in a text editor. Copy its contents and save it on your computer, for example, in a text editor.

  1. Press F10 to exit the editor.

  2. Reinstall Hive OS with the command:

    hive-replace -y --stable
  3. After completing the installation, run the following commands in sequence:

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

    A blank auth file will open in the text editor. Paste the previously saved content of the old file.

  4. Press F2 to save and F10 to exit.

  5. Reboot the server:

    reboot

Last updated