After several months without using Gladys, I just did a new installation on a VPS. When I log in to my VPS IP address, I can’t authenticate (incorrect username or password).
If I do « Forgot Password », my email address is not recognized.
Did I forget a step? I have another instance on my NAS, is it compatible?
For information, I am a Gladys Plus subscriber.
Thanks to PG for his live this morning!
Thanks for your help.
Hello @jparbel!
First of all, thank you for your support via Gladys Plus ![]()
So the installation is brand new (you just installed Gladys from scratch, right, via Docker?)
You do « forgot password » and in the logs you don’t see a link to restore your account?
In my opinion, you made a mistake in your email when creating the account / or when you forgot the password.
Two solutions:
- Either you really want to keep your instance (do you have sensitive data on it?), and in this case you can go and open the local Gladys SQLite database to find the email you provided.
I don’t know how you started your Docker container, but if you followed the tutorial on the website, you should have the Gladys database in the folder:
/var/lib/gladysassistant/gladys-production.db
If you stop Gladys (docker stop gladys), then you can download this file locally and open it with a SQLite UI like TablePlus.
Then in the t_user table you look at the email field to find the email you used ![]()
This reminds me that the instance recovery process is not practical when you no longer remember your email, it would be worth adding a print in the logs of all available emails to be able to find your email in case of forgetting ![]()
- Or you don’t care about your instance, in this case you can reinstall Gladys.
Compatible with what? ^^
As said, so done ![]()
I made a PR to add a log when a forgot password fails:
https://github.com/GladysAssistant/Gladys/pull/1300
It will be easier in the future (it will be included in the next Gladys update)
Thanks PG for your quick response.
Actually, I realize that when installing Gladys, I was not asked to enter credentials, hence my connection issues!
I opened the database with Tableplus and no field is filled with my ID (it’s just temp.id), which is normal since I didn’t save anything!
For information, my configuration is as follows on my VPS:
Debian 10 + Docker
I then installed Gladys with the script provided for RPI, I didn’t notice there was another one for other machines, but it shouldn’t be very important.
I will do a complete reinstall and try to understand what’s happening.
Good evening.
@jparbel I think I know what you did!
When you set up your Gladys instance for the first time, you should not choose « Restore a Gladys Plus backup » if you don’t have an instance to restore (I admit I hadn’t thought of that).
You need to create a « normal » account, and then you can connect Gladys Plus in Gladys’ settings ![]()
So select the option « Create a local account with your email »!
Indeed, I just reinstalled by creating a local account and it worked, so everything is fine.
Thank you again.
Awesome
Don’t hesitate if you need help with the next steps.
And if you ever want to test the Google Home integration, let me know and I’ll add you to the alpha ![]()
I would like to test GH, but for now I’m starting a bit from scratch.
I will see how to interface my VPS and my devices, I will surely need help!
Ok, one thing at a time indeed, for now the devices.
Deal, create topics on the forum as you go along with your problems, we’ll look at them together subject by subject ![]()