Restore failed

Hello

I’m installing Gladys on Ubuntu Server (Proxmo VM)
The installation is OK and I can access Gladys. I tried to perform a restore but it failed with the message: « The restoration of your backup failed. Are you sure that your backup key is the same as the one used by Gladys.. »
I checked the backup key number is the same as that of the running instance.
However, at first login I had created a temporary user (tmp) that I deleted. After the restore failed, I removed the Gladys docker container and recreated it but the login did not appear as a first-time login. The keys of the recreated instance are not the same as those of the running one.
Thanks in advance

Hi @Francis66 :slight_smile:

If the restore failed because the restore key wasn’t correct, you’re probably still on the installation with your temporary account.

If you want to completely overwrite this installation, stopping and recreating the container is not enough — you also need to delete the data on the disk.

If you want to completely delete Gladys data, everything is stored in:

/var/lib/gladysassistant

To delete everything and start from scratch, you can run the following commands.

:warning: WARNING, this will completely delete everything you have locally related to this Gladys instance, including Zigbee2mqtt, MQTT data, etc…

Stop Gladys:

sudo docker stop gladys
sudo docker rm gladys

Empty the Gladys folder:

sudo rm -rf /var/lib/gladysassistant

Then you can reinstall Gladys and you should normally be starting from scratch :slight_smile:

Don’t hesitate if you have any questions!

Thank you Pierre-Gilles
The restoration completed successfully.

1 Like

Great, glad it worked :slight_smile: I’ll close this thread!