Comments (6)
Can you open up a database explorer and see if the users
table has the admin credential created? Also, can you open the network tab before sending login credentials and ensure that the endpoint requests are being sent to is :3001/api/..
and not :3000/api/...
from vector-admin.
Can you open up a database explorer and see if the
users
table has the admin credential created? Also, can you open the network tab before sending login credentials and ensure that the endpoint requests are being sent to is:3001/api/..
and not:3000/api/...
Thanks for the reply.
- The users table has no records in it
- As the image below shows, the login request goes to :3000/api/... instead.
I guess this is my problem. Please how can I resolve it?
Thanks for the help so far.
from vector-admin.
change the value of VITE_API_BASE
in frontend/.env
to be VITE_API_BASE='http://localhost:3001/api'
from vector-admin.
change the value of
VITE_API_BASE
infrontend/.env
to beVITE_API_BASE='http://localhost:3001/api'
Thanks for the response. I will do it and get back to you.
Then what about the absence of the root account in the users table? How can I make the app to create the record? I know it should concern Prisma. I tried entering it manually but the password is not hashed. I guess there should be another way to go about this. Thanks.
from vector-admin.
When the system boots up it will attempt to read the users table and auto-create the root account. So unless the database connection string is incorrect then it should automatically do that and enable login!
We will be removing that flow soon with PR #132
So that should simplify things a lot - this detail always causes issues and there are ways to accomplish what it does without making a user that can never been used again
from vector-admin.
I have done all I can to get the system to boot.
I have tried placing breakpoints when systemInit() is called, I have stopped and restarted the flask api and the frontend server, all so that I can see if the query to create the user is executed but it does not hit any of my breakpoints.
I have even created another database and called prisma setup to it. It did all but nothing I do auto creates the root user.
I manually created a root user with password encrypted using bcrypt, 10 but it still will not let me in.
Is there something I am missing or could do? Please I really need this vectorAdmin solution.
Thanks.
from vector-admin.
Related Issues (20)
- Add logic to have chunk size and overlapping parameters values configurable
- Will future versions of VectorAdmin support other types of Embeddings? HOT 2
- [UI v2] Jobs page HOT 1
- [UI v2] Tools pages HOT 1
- We could not log you in - contact an admin. [002] Failed to authenticate Try Again → HOT 28
- [Chore] Migrate Python document processor to be like AnythingLLM document processor HOT 1
- Environment variable not found: DATABASE_CONNECTION_STRING. HOT 4
- [UI v2] Update delete embedding modal
- [FEAT]: auto installer
- [FEAT]: Improve onboarding expierence
- [CHORE] add @ as alias for frontend root
- [FIX] security patch for domain restrictions
- Serverless option for Pinecone HOT 6
- Feature: add support for Vespa HOT 2
- [BUG]: Root user created with credentials - but which ones??? HOT 6
- Organization "[email protected]" causes 404 HOT 3
- Don't allow special chars in org name HOT 1
- Can't clone qdrant collection into another Org
- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum : "/document-processor": not found HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vector-admin.