GaiaNet-AI / gaianet-node

Install and run your own AI agent service
https://www.gaianet.ai/
GNU General Public License v3.0
4.74k stars 202 forks source link

init error in macbook #99

Open Hero1532 opened 1 month ago

Hero1532 commented 1 month ago

./bin/gaianet init [+] Checking the config.json file ...

[+] Downloading Meta-Llama-3-8B-Instruct-Q5_K_M.gguf ...

[+] Downloading nomic-embed-text-v1.5.f16.gguf ...

[+] Creating 'default' collection in the Qdrant instance ...

[+] Preparing the dashboard ... You already have a private key. thread 'main' panicked at src/main.rs:27:41: called Result::unwrap() on an Err value: Os { code: 44, kind: NotFound, message: "No such file or directory" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace [2024-07-12 11:00:42.209] [error] execution failed: unreachable, Code: 0x89 [2024-07-12 11:00:42.210] [error] In instruction: unreachable (0x00) , Bytecode offset: 0x00206715 [2024-07-12 11:00:42.210] [error] When executing function name: "_start"

juntao commented 1 month ago

Can you check if you have a ~/gaianet/dashboard directory? And if you have a config_pub.json file inside it?

Hero1532 commented 1 month ago

checked ,there is no dashboard and config_pub.json in ~/gaianet .how i fix it ?

monaanom19 commented 1 month ago

juntao commented 1 month ago

The installation does not seem to be correct. Can you reinstall?

If you want to keep the nodeid and private key, save the nodeid.json and the keystore file named in it.

Then, delete the current install.

rm -rf ~/gaianet
sudo rm /usr/local/bin/gaianet

Then, run the installer again. Thanks.