textileio / textile

Textile hub services and buckets lib
MIT License
226 stars 45 forks source link

Error when invoking hubd #573

Open anchpop opened 2 years ago

anchpop commented 2 years ago

I just downloaded hubd (hubd_v2.6.13_darwin-arm64.tar.gz to be precise) and got this error:

$ ./install
Moved ./hubd to /usr/local/bin
$ hubd
> Error! Server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: 127.0.0.1:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp 127.0.0.1:27017: connect: connection refused }, ] }

Any advice?

sanderpick commented 2 years ago

Looks like it's expecting a mongodb connection but can't find one. I believe by default it requires a mongod running at localhost:27017

walkerlj0 commented 2 years ago

I had a similar issue -it looks like it was instlled in /use/local/bin but hub --help didn't run it-- Is there an environment variable that I need to add to the path?

➜  textile ls
LICENSE   README.md billingd  install
➜  textile sudo ./install
Moved ./billingd to /usr/local/bin
➜  textile hub --help
zsh: command not found: hub
➜  textile sudo hub --help
sudo: hub: command not found
walkerlj0 commented 2 years ago

Realized that I had downloaded the wrong package, make sure you download the pakcage named hub