ipfs / iptb-plugins

IPTB Plugins for IPFS
MIT License
9 stars 10 forks source link

Could not find plugin X #40

Open ZeroSum24 opened 4 years ago

ZeroSum24 commented 4 years ago

Hello! I am trying to setup iptb to do some research, and have been creating a public vagrant box to help with this.

After following the installation instructions both for iptb and iptb-plugins I am encountering this error: iptb auto -type localipfs -count 5 testbed nodes already exist, overwrite? [y/n] y Could not find plugin localipfs

I was wondering if there was something I missed in the installation process and if there was any way you could help with this please?

The go env produces:

GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/vagrant/.cache/go-build" GOENV="/home/vagrant/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/vagrant/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/snap/go/5830" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/snap/go/5830/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build425883090=/tmp/go-build -gno-record-gcc-switches"

The environment itself is Forked from generic/ubuntu1804 to include the IPFS testing toolset: IPFS v6.0, Golang v1.14.4, IPTB v2.0.0 and Docker v19.03.11.

welcome[bot] commented 4 years ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

Stebalien commented 4 years ago

The plugins must be installed in ~/testbed/plugins. Are they there? They also need to be built with the exact same go version.

Unfortunately, go plugins are tricky at best. If you can't get it to work, I'd just use https://github.com/ipfs/go-ipfs/blob/master/test/dependencies/iptb/iptb.go. This will bundle the localipfs plugin with the iptb binary. You can install it with:

> cd ~
> go get github.com/ipfs/go-ipfs/blob/master/test/dependencies/iptb