-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] admin password reset #15
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Additional question: on friday I tried to reset the password by logging into mongo, and find the admin in the DB "ace". That DB does not exist in the new stack. pls advise which user to search for etc. thanks |
The database is whatever you called the database when you set up the containers. If you copy/pasted our examples it's probably |
@thespad yes ;-) I agree. I already tried that, but couldn't find the admin-account. Should this find the account:
? thanks for any help on this |
It should. I'm using
etc. You should also be able to do
To confirm everything is as you expect there. |
I can use a newer mongodb, I just followed the docs telling that 4.4 works (and newer releases should ... ).
thanks so far |
There's no need to use a newer version, other than your position on support. Ubiquiti currently supports up to 4.4 and Mongo currently supports 4.4 up to 7.0. However, 4.4 is only supported until February 2024. So you can go with the fully supported version, but only for 6 months, or you can go with a newer version of mongodb that isn't formally supported by Ubiquiti yet but will be supported by Mongo. In theory you can do in place upgrades across major versions of mongodb, but the further back you go the messier that is to achieve. Personally I'm using the |
Thanks for the details. So I'd prefer to stay with 4.4 for now. |
Do
And see if you get anything returned at all. |
Though given the sizes reported by |
I do
|
So the admin collection exists at least. |
Well, also the admin-user existed. I restarted the stack now and followed That login definitely worked on friday. I tested it, the customer tested it. I can do more lookups, queries and provided details .. thanks |
For the records: currently using |
Please advise how to continue. |
I'm not sure what's causing your issue in the first place, unless you're doing something silly like storing your mongo database volume on NFS. The unifi database (obviously) shouldn't just spontaneously wipe itself. |
No NFS, just plain local docker volumes. I think I wait for tag 7.5.176 and retry. |
went back to old stack ... for now |
OP reverted due to the issues their setup was causing them. |
Is there an existing issue for this?
Current Behavior
Since I migrated my backup from the legacy container and logged in successfully it happened twice to me that the admin-login doesn't work anymore.
Expected Behavior
admin password shouldn't fail
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: