Why did the install command fail?

The install command checks the server first and stops with a line starting error that says what's wrong. Most often the command was run without root, its token was used already or is older than one hour, or the server lacks systemd. Each error below says what to do.

The command changes nothing until its checks pass and the server is connected, so you can fix the cause and run a new command.

Errors about the server

  • run this script as root means it ran without root. Keep sudo in the command, or sign in as root.
  • only Linux is supported means the server runs another system. See What does my server need?
  • unsupported architecture means the processor isn't 64-bit Intel, AMD or ARM.
  • systemd is required, curl is required or sha256sum (coreutils) is required means that program is missing. Install it with the server's package manager, or use a server that has it.
  • Docker is installed but not working means Docker is there but its service doesn't run. Check it with systemctl status docker.

Errors about the token

  • the enrollment token was rejected means the command's token was used already or is older than one hour. Open the server in Servers, get a new command and run that.
  • an enrollment token is required means the command was cut short when you pasted it. Copy the whole command again.

Errors about a server that was connected before

agent(s) of another enrollment means the machine still runs agents of a server it was connected as before. Nothing on the machine was changed. If you no longer need those agents, get a new command and add --remove-agents at its end, which deletes them and their data.

When the error says the server's daemon token in Rarity was replaced, the old connection no longer works either. Get a new command and run it on the machine that should be that server.

Errors about the download or the network

  • does not match its published SHA-256 checksum means the download was damaged or changed on the way. Nothing was installed. Run the command again, and if it keeps failing, tell us.
  • is unreachable or failing means the server can't reach Rarity over HTTPS. Check its firewall and its connection to the internet.

Errors about the service

the service did not start names a command that shows the service's own log, such as journalctl -u rarity-daemon -n 50. Run it and read the last lines. If an update was going on, the previous version was put back and keeps running.

Still stuck

Open a ticket in Support with what the command printed. Leave out the token at the end of the command. With a Support session, booked in Subscription > Onboarding, we can go through it with you.