How to configure concentratord on Raspberry Pi 3

I am trying to connect my RisingHF part RHF0M301 to my Raspberry Pi 3. I have successfully installed the network and application server on my Raspberry Pi 3 running Debian Buster. I followed the install instructions for the debian /ubuntu on the website for everything.

My issue is when I try to start the gateway I get the following error code

Sep 09 13:39:51 Solorawan systemd[1]: Started ChirpStack Gateway Bridge.

Sep 09 13:39:51 Solorawan chirpstack-gateway-bridge[14623]: time=“2020-09-09T13:39:51-05:00” level=fatal msg=“read configuration file error” error=“While parsing config: (56, 14): keys cannot contain new lines”
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Main process exited, code=exited, status=1/FAILURE
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Failed with result ‘exit-code’.
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Service RestartSec=100ms expired, scheduling restart.
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Scheduled restart job, restart counter is at 5.
Sep 09 13:39:51 Solorawan systemd[1]: Stopped ChirpStack Gateway Bridge.
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Start request repeated too quickly.
Sep 09 13:39:51 Solorawan systemd[1]: chirpstack-gateway-bridge.service: Failed with result ‘exit-code’.
Sep 09 13:39:51 Solorawan systemd[1]: Failed to start ChirpStack Gateway Bridge.

I am unsure what this error means or how to go about fixing it.
bridge[14623]: time=“2020-09-09T13:39:51-05:00” level=fatal msg=“read configuration file error” error=“While parsing config: (56, 14): keys cannot contain new lines”

I do not have a packetforwarder installed which could be a separate issue. I have tried to install the concentratord from github.com/brocaar/chirpstack-concentratord but when I call docker I get the following errors.

sudo docker build --tag concentratord:1.0 .
Sending build context to Docker daemon 2.402MB
Step 1/22 : FROM rust:1.40-buster
—> 719b01d71d57
Step 2/22 : RUN apt-get update && apt-get install -y build-essential cmake clang-3.9 libclang-3.9-dev llvm-7.0-dev gcc-arm-linux-gnueabi g+±arm-linux-gnueabi gcc-arm-linux-gnueabihf g+±arm-linux-gnueabihf git && apt-get clean
—> Running in 9a81cce1766a
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main armhf Packages [221 kB]
Get:5 http://deb.debian.org/debian buster/main armhf Packages [7698 kB]
Get:6 http://deb.debian.org/debian buster-updates/main armhf Packages [7848 B]
Fetched 8166 kB in 9s (903 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Package gcc-arm-linux-gnueabi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package g+±arm-linux-gnueabi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package llvm-7.0-dev
E: Couldn’t find any package by glob ‘llvm-7.0-dev’
E: Couldn’t find any package by regex ‘llvm-7.0-dev’
E: Package ‘gcc-arm-linux-gnueabi’ has no installation candidate
E: Package ‘g+±arm-linux-gnueabi’ has no installation candidate
The command ‘/bin/sh -c apt-get update && apt-get install -y build-essential cmake clang-3.9 libclang-3.9-dev llvm-7.0-dev gcc-arm-linux-gnueabi g+±arm-linux-gnueabi gcc-arm-linux-gnueabihf g+±arm-linux-gnueabihf git && apt-get clean’ returned a non-zero code: 100

Any help with either of these two issues would be appreciated

I solved the issue with starting the gateway bridge. It was a misplaced ". I still am not able to install the concentratord on my raspberry pi OS

I do not provide binaries for that. You can build your own, but I would recommend looking at the ChirpStack Gateway OS first, which comes pre-configured with all components :slight_smile:

I have previously gone through and installed the ChirpStack Gateway full image with all components. However, I am unable to install additional packages on the OS such as crontab and other useful things. My project involves linking the Lorawan gateway server combo to a satellite constellation so I need the ability to put in features as I need them rather than trying to work around not having them. This device will not have access to any network other than a serial connection to a sat modem.

I am going to try and installing a semtec packet forwarder instead and will report back how that goes.

+1 for compiled packages for Raspberry/Debian.
Is there a easy howto if you want to compile this yourself?

1 Like

Just download one of the ARMv7 packages and you should be good to go :slight_smile:

Ok, found them. Downloads - ChirpStack open-source LoRaWAN® Network Server documentation if someone else needs this.