Closed ryanteck closed 3 years ago
Currently I'm getting the error <0.526.0>@gateway_config:diagnostics:225 Miner not ready to get p2p status in my logs.
I'm not sure why I'm getting this as from the best I can tell everything is running as it should?
Presumably you are running miner and the gateway_config service can talk to the miner service over dbus?
You can check if miner is reachable by doing a
dbus-send --system --print-reply --dest=com.helium.Miner / com.helium.Miner.P2PStatus
Hmm that seems to be erroring out with
Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.helium.Miner was not provided by any .service files
I believe I've given the miner container access to dbus by running it as:
--env REGION_OVERRIDE=EU868 \
--restart always \
--publish 1680:1680/udp \
--publish 44158:44158/tcp \
--name miner \
--privileged \
--env DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket \
--mount type=bind,source=/home/pi/miner_data,target=/var/data \
quay.io/team-helium/miner:latest-arm64```
I also have added the com.helium.Miner.conf file from the miner repository.
I might have missed a step somewhere however?
Look in the sys.config for miner. There's a use_ebus variable you need to set to true.. Then rebuild the release and image.
Or find the sys.config in the release folder and edit it there
Oh ok so for it to work I need to compile our own docker image rather than use the one that is available?
I'll give that a try. Thanks.
Or change the config as part of your docker setup
On Jan 3, 2021, at 12:22, Ryan Walmsley notifications@github.com wrote:
Oh ok so for it to work I need to compile our own docker image rather than use the one that is available?
I'll give that a try. Thanks.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Ahh excellent @madninja , that works.
Editing the sys.config file and changing use_ebus to true in the container worked perfect. Know that fixes it now.
Thanks for the help.
Currently I'm getting the error <0.526.0>@gateway_config:diagnostics:225 Miner not ready to get p2p status in my logs.
I'm not sure why I'm getting this as from the best I can tell everything is running as it should?
Is there any suggestions on how to resolve this.
Thanks