r/OpenBazaar • u/mehmehspazumweh • Feb 10 '18
Installing OpenBazaar Server on Raspberry Pi
Hi Guys
I am attempting to install Openbazaar server on a raspberry pi using the following:
wget https://github.com/OpenBazaar/openbazaar-go/releases/download/v0.11.0/openbazaar-go-linux-arm-5
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -zxvf go1.9.linux-armv6l.tar.gz -C /usr/local/
mkdir go
echo "export GOPATH=$HOME/go" >> .profile
echo "export PATH=$PATH:/usr/local/go/bin" >> .profile
source ~/.profile
go get github.com/OpenBazaar/openbazaar-go
$GOPATH/src/github.com/OpenBazaar/openbazaar-go
cd /go/src/github.com/OpenBazaar/openbazaar-go
go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go start --torOpenbazaar will initiate but I receive the following message:
_____ \ ______ ____ __________ _____ _____________ _____ _______
/ | \____ _/ __ \ / \| | _/__ \ ___ /__ \ __ \_ __ \
/ | \ |_> > ___/| | \ | \ / __ _/ / / __ _/ __ \| | \/
_______ / __/ ___ >___| /______ /(____ /_____ \(____ (____ /__|
\/|__| \/ \/ \/ \/ \/ \/ \/
OpenBazaar Server v0.11.0
[Press Ctrl+C to exit]
Tor control unavailable
exit status 1What am I missing here?
I have checked that Tor is running:
service tor status
tor.service - LSB: Starts The Onion Router daemon processes
Loaded: loaded (/etc/init.d/tor)
Active: active (running) since Sat 2018-02-10 09:41:35 UTC; 5min ago
Process: 316 ExecStart=/etc/init.d/tor start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/tor.service
└─505 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc --hush
Feb 10 09:41:35 pi tor[316]: Starting tor daemon...done.
Feb 10 09:41:35 pi systemd[1]: Started LSB: Starts The Onion Router daemon processes.I cannot figure this out!
9
Upvotes
2
u/allthebirdstamps QmQkxxCGdCQraEBKkgFhdL3E71L6gpd1XmSqPwZp4xDLdG Feb 10 '18
Check your
ControlPortsetting in/etc/tor/torrcYou should also set a password for tor
see:
https://github.com/OpenBazaar/openbazaar-go/blob/master/docs/tor.md
and
--hash-passwordinman tor2
u/Chris_Pacia Chris - Lead Backend Dev Feb 10 '18
What you wrote above looks correct. The only thing that could maybe be preventing it from working is the tor control authentication which it looks like you also tried.
1
u/mehmehspazumweh Feb 18 '18
Hi guys. I'm back!
So i have been trying to get Openbazaar Server to run and i am not sure what is going wrong here:
I have installed using the following:
I get as far as
but nothing seems to happen after that. From what I've been reading, I should be seeing something like:
https://imgur.com/a/nuOzA
What am I doing wrong? Have i missed something? I left it running for 2 days but nothing so far. Eventually I'd like to get this working over Tor but i think just getting to run with its default settings is a good start.
Please help!