Open zchdu opened 5 months ago
could firstly gaianet stop, and check your task manager to see if qdrant still live in the tasklist, or you could stop it. then Gainet init
if doesn't work, you can search GAIANET folder, and delete the whole folder, install by running curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash once again.
Thank you for your reply, in fact the reason for this problem is that I use a proxy, and my proxy can not access localhost. The solution is follows: In the gaianet script, when using curl to access the local galanet, add the --noproxy localhost option
These are the two places that need to be modified. https://github.com/GaiaNet-AI/gaianet-node/blob/95f8feecfae4f3069631ef609a0ea858bafb9c40/gaianet#L211
del_response=$(curl --noproxy localhost -s -X DELETE http://localhost:6333/collections/$embedding_collection_name \ -H "Content-Type: application/json")
response=$(curl --noproxy localhost -s -X POST http://localhost:6333/collections/$embedding_collection_name/snapshots/upload?priority=snapshot \ -H 'Content-Type:multipart/form-data' \ -F 'snapshot=@default.snapshot')
如果有人遇到和我一样的问题(我想大部分是在中国),请使用上述的解决方法。
another place need to be modified: https://github.com/GaiaNet-AI/gaianet-node/blob/95f8feecfae4f3069631ef609a0ea858bafb9c40/gaianet#L778
公司遇到提到同样的问题(我想大部分在国内),请使用上述的解决方案。
按照您的方法修改了211和254行,还是出现同样的问题 @zchdu
If you are using shadowsockets or another VPN, you could try this in the terminal
export no_proxy=localhost,127.0.0.0/8
If you are using shadowsockets or another VPN, you could try this in the terminal
export no_proxy=localhost,127.0.0.0/8
thanks,I will try it
If you are using shadowsockets or another VPN, you could try this in the terminal
export no_proxy=localhost,127.0.0.0/8
this works for me!
I got this error. At first I tried to delete the qdrant folder in gaianet, but I got a new error [Error] Failed to recover from the collection snapshot. An error occurred processing field
snapshot: File I/O error : No such file or directory (os error 2)
. So I found this issues, enter this command and delete other files in gaianet except *.gguf (this operation can save a lot of time)
Finally I successfully started the service!!!
If you are using shadowsockets or another VPN, you could try this in the terminal如果您使用的是 Shadowsockets 或其他 VPN,您可以在终端中尝试此操作
export no_proxy=localhost,127.0.0.0/8
对于v2ray也管用
When I execute the command "gaianet init" It show :
[+] Checking the config.json file ...
[+] Downloading Phi-3-mini-4k-instruct-Q5_K_M.gguf ...
[+] Downloading all-MiniLM-L6-v2-ggml-model-f16.gguf ...
[+] Creating 'default' collection in the Qdrant instance ...
Start a Qdrant instance ...
Remove the existed 'default' Qdrant collection ...
Failed to remove the default collection.