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:

Ensure that your computer and the server are on the same local network.
Drag the auth file onto your computer or a flash drive.
Reinstall Hive OS with the command:
hive-replace -y --stableFollow 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/directoryReboot the server:
reboot
Method Two
Connect to the server via SSH or open Hive Shell and run the command:
mcedit /opt/clore-hosting/client/authThe auth file will open in a text editor. Copy its contents and save it on your computer, for example, in a text editor.

Press F10 to exit the editor.
Reinstall Hive OS with the command:
hive-replace -y --stableAfter completing the installation, run the following commands in sequence:
cd /opt/clore-hosting/client/ touch auth mcedit authA blank auth file will open in the text editor. Paste the previously saved content of the old file.
Press F2 to save and F10 to exit.
Reboot the server:
reboot
Last updated
Was this helpful?
