mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-15 19:27:30 -04:00
[BUG]: Root user created with credentials - but which ones??? #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sglebs on GitHub (Feb 4, 2024).
Originally assigned to: @shatfield4 on GitHub.
How are you running VectorAdmin?
Local development
What happened?
I already have a database from running this tool in December (see #93). I did a fresh git clone and re-ran the steps, pointing at my existing database. It all went well, except that it did not honor my existing admin account. It printed:
But what credentials? Using DBeaver I see the database:
I am assuming this is a hashed/salted password, but... what is the password? (yes, I did try the hash as password in the GUI, to no avail)
If it is impossible to tell the initial default password, then please let me know how to force a reset. Delete this entire row? Delete the password field?
Are there known steps to reproduce?
No response
@sglebs commented on GitHub (Feb 4, 2024):
Found the algorithm:
still looking for the initial setup with the initial password.
@sglebs commented on GitHub (Feb 4, 2024):
Found the defaults:
How about updating the Readme to mention these 2 very important env vars?
@sglebs commented on GitHub (Feb 4, 2024):
It turns out the system does not honor these env vars.
@sglebs commented on GitHub (Feb 4, 2024):
And it turns out the system fails with the hardcoded credentials also:
@timothycarambat commented on GitHub (Feb 4, 2024):
The root user login creation is automatic and once you land on the sign-in page for the first time you should automatically be sent to an onboarding flow, you should not need to log in at all visiting the main page after booting up for the first time.
If it was failing to direct you to onboarding, then that is the bug
@sglebs commented on GitHub (Feb 4, 2024):
Yes, I remember that from December. But now, with today's clone, after starting with a fresh database, it does not redirect me. Maybe that is the real bug, as you said.