mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-15 09:15:44 -04:00
[BUG]: When creating custom login on onboarding-setup page I get the error "System setup has already been completed - you cannot do this again." #72
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 @sfstw on GitHub (Apr 24, 2024).
Originally assigned to: @timothycarambat on GitHub.
How are you running VectorAdmin?
Docker (local)
What happened?
I have used your fantastic tool before and it used to work. This is why it's even more frustrating.
When I use some random email and "password" as password to create a custom login I get this error message
Are there known steps to reproduce?
This is my
.envfile:I run
docker-compose up -d --build vector-adminand when its finished I openhttp://localhost:3001/and I get redirected tohttp://localhost:3001/onboarding-setup.The UI is new and it says "Create your custom login". When I use some random email and "password" as password to create a custom login I get this error message
I tried deleting the container and the images, pulling everything new and spinning them up again. Nothing helped. I'm stuck.
@Parsa-Mir commented on GitHub (Dec 10, 2024):
Hi @sfstw ,
The problem seems to be related to the persistence of the PostgreSQL data directory, which retains the initial system setup information even after recreating containers. Here's a step-by-step solution:
Quick Fix
Change the PostgreSQL volume directory or remove it:
Modify the
volumessection in yourdocker-compose.ymlfor thepostgresservice as shown below:Change
~apps/postgresto something like../postgresa different directory pathOR Remove the existing volume data by running the following command (if you used the default values, it would look like this):
Rebuild and Restart the Services:
Run the following commands ( in the docker compose directory):
Bypass Initial Authentication:
If the system setup persists and it directs you to the /auth/sign-in, you then need to bypass the initial authentication by using the root credentials defined in the backend boot script (
vectordb/vector-admin/backend/utils/boot/index.js):root@vectoradmin.compasswordThis should allow you to log in and proceed without encountering the "System setup has already been completed" error.
@timothycarambat please correct me if I was wrong.