Recover an administrator
How to switch it on
Recovery needs somebody who can reach the machine this server runs on. That is deliberate: it is the same authority as switching the appliance off, and it is what stands in place of the password nobody can remember.
- On the server, set
VisionXCam:AdminRecovery:Enabledtotrue— inappsettings.json, or as the environment variableVisionXCam__AdminRecovery__Enabled=true. - Restart the server.
- Read its log. It prints a recovery code in a block of
=signs, once, at startup. - Come back to this page and type the code with the administrator's username.
- Set the setting back to
falseand restart, so no code is printed again.
The code works once. Using it, or restarting the server, ends it — nothing writes it to disk, so there is no standing key left behind afterwards.
Back to sign in