Open Mikemansour opened 1 month ago
Hey @Mikemansour would you be able to check your server side logs? It would be great to see why the log in is failing. Below, I have a successful log in (which used the default admin username/password) as well as a bad log in.
fyi: I found that --config-name=local_llm worked but --config-name=local_llm_neo4j_kg resulted in this symptom. Change the database provider from pgvector to postgres solved the issue for me
no matter what i do it shows errors reading the config file it happens when i --config-name=local_llm do this config
fyi: I found that --config-name=local_llm worked but --config-name=local_llm_neo4j_kg resulted in this symptom. Change the database provider from pgvector to postgres solved the issue for meFYI: 我发现 --config-name=local_llm 可以工作,但 --config-name=local_llm_neo4j_kg 导致了这个问题。将数据库提供者从 pgvector 更改为 postgres 解决了我的问题
how to change it fastly?
when using knowdelge graphs cannot log in even change vector dabase from pgvector to postgres
yea exactly my problem I like the idea of this software so much I just wish it could work , i am sorry i am not a coder myself i wish i could contribute to this project
Hey @Mikemansour we shipped version v0.2.84 today which should solve this problem. If you're running Docker, you might have to prune your images (Docker likes to cache versions, and you'll need to make sure that your R2R container is updated!).
Hope this helps, but let me know if you run into any issues!
Hey @Mikemansour we shipped version v0.2.84 today which should solve this problem. If you're running Docker, you might have to prune your images (Docker likes to cache versions, and you'll need to make sure that your R2R container is updated!).
Hope this helps, but let me know if you run into any issues!
Thank you very much @NolanTrem . After cleaning up the R2R image and upgrading to version 0.2.84, there are no more errors. But I'm still curious, is this config a default configuration? If I want to use my own configuration, such as just changing the model called by ollama, what should I do? I saw the toml file demo in the knowgraph docs, but I didn't see a complete example of the toml file and how to use it (via the command line).
@NolanTrem 并且 我应该怎么进入neo4j的界面,我尝试了很多的neo4j的用户名和密码都是错的
2024-08-08 21:50:44 return _bootstrap._gcd_import(name[level:], package, level)
2024-08-08 21:50:44 File "
now it can login but still buggy
@Mikemansour it looks like your R2R CLI might be caught up, but Docker is using a cached image. In your logs it says that that it's starting R2R with version 0.2.76.
If you're fine wiping out your existing docker containers and can do a clean install, you might try running these commands (assuming you're on a Mac/Linux):
docker stop $(docker ps -a -q)
This stops all existing running images
docker system prune -af --volumes
This clears all of the containers and volumes from your docker.
docker network prune --force
This cleans up any docker networks that were left in a bad state
docker volume rm $(docker volume ls -qf dangling=true)
As a failsafe, this should clean up any remaining docker volumes that the first command didn't get
Then, just make sure that you're on the most recent CLI version by running r2r version
—it should be v0.2.84. Then just run your command r2r serve --docker
and your container should be good to go, and it will build with the most recent image.
I use the Mac M2 Pro , and I run the command of "r2r --config-name=local_llm serve --docker", there are two problems: A) it shows the details of r2r container can't running in the docker desktop with the message that "lack of OPENAI_API_KEY and said that it's "ImagePraser need this key". B) Can't log in (I am not sure whether it's the above problem related also or not)
Just for your reference and hope to get it solved soon , thx for attention.
A) it shows the details of r2r container can't running in the docker desktop with the message that "lack of OPENAI_API_KEY and said that it's "ImagePraser need this key". B) Can't log in (I am not sure whether it's the above problem related also or not)
Just for your reference and hope to get it solved soon , thx for attention.
You can set OPENAI_API_KEY to anything; I set it to "ollama". I guess this is because when the project starts, it imports the OpenAI client, which checks for OPENAI_API_KEY but doesn't actually use it.
I have the same issue after cloning the latest repo. I can't login and I had to spend over 3 hours just trying to get to login page. Sorry, that's completely unusable to me. Your video is already outdated https://www.youtube.com/watch?v=fXLqtmgFQTU&t=2s documentation specifies commands that no longer exists - it is a complete mess. I wish it did work from the start.
@iSevenDays Which repo did you clone? Our recommended install process to use R2R and the dashboard is as follows:
pip install r2r
export OPENAI_API_KEY=sk-...
r2r serve --docker
Cloning the repo should be done if you want to contribute/develop on top of R2R for yourself.
The above commands will automatically launch the login page for you. The docs here are up to date, as far as I can tell. If you found something that was outdated, we'd love to know.
The video is outdated, but this is due to us iterating and implementing improvements quickly. It's an unfortunate consequence of creating static content like this. I'd love for you to get up to running with the project, so if the installation above doesn't work, please let me know. Happy to help more then.
On the latest version, completely clean install, on a linux server (headless), and when connecting to the server I get the login page, but when I set the server ip as the instance url it refuses first login.
Note that there are no errors in any of the docker logs.
@salja03-t21 Have you able to solve the problem ?
No, not yet. Have not paid much attention to it yet. Hopefully someone can help me to resolve it.
Any luck guys?
Wow still no answer!
No, not yet. Have not paid much attention to it yet. Hopefully someone can help me to resolve it.
@salja03-t21 it looks like you're trying to log into your dashboard using the URL at which your dashboard is deployed? The URL that you should use is for your R2R deployment.By default this is at localhost 8000. The dashboard needs to communicate with a server to work.
If you clear out any cached docker images and run r2r serve --docker
I'm almost certain it will allow you to log in.
after installation , trying to login to the dashboard i get "Login failed. Please check your credentials and try again."