Reset Token for new client computer?

Hi,

I am running IncusOS on a home server, and I had to hard wipe my client desktop. I forgot to save the token before wiping the desktop, and now when I try to remote add my server, it asks for the token which I no longer have.

When I start the server, there is no terminal or any way that I can see to enter commands. Is there a way to issue a new token or to print the original, or will I need to back everything up and reinstall from scratch?

Do you have the encryption recovery key for your IncusOS server? If so, you can follow the steps at Emergency Procedure for a Lost Client Certificate - IncusOS documentation to restore access with a new Incus client certificate.

If you have neither a trusted client certificate or an encryption recovery key your only option is a re-install of the IncusOS server.

Thank you!

I never set the recovery key. Is it still possible to do so now, or does that have to be done from a remote client?

A recovery key is auto-generated on first boot, and can be retrieved via the IncusOS API, but that depends on having a trusted client certificate…. if you didn’t fetch and save that before, unfortunately there’s no way to retrieve it without using the API.

Welp, lesson learned on my part. Thanks for the help!