Issue: How to successfully move from TTNv3 to chirpstack
Setup:RAK7244 RPI4 + latest RAK firmware + LHT65 temp/hum sensor
Server: RPI4 All on same machine connected to local LAN
Details: I had the above setup installed and working on TTNv3. I have a working knowledge of Linux but no programming experience. Got lots of help from forums.
I want to setup a local configuration as I don’t really need an international operation. I don’t think many would be interested in the temp/hum reading for my crawl space.
Using “gateway-config” I have switched from a working TTN to chirpstack. I have filled in the information using GUI http://localhost:8080. I must be missing something as the dashboard is not showing any data activity at all. The chirpstack-network-server.toml file is set for US915.
Below I show that things are running "systemctl status chirp* " but I don’t understand the error messages. I have not tried to setup MQTT yet and just want to see if the system is working.
Thanks in advance for any help.
BG
● chirpstack-application-server.service - ChirpStack Application Server
Loaded: loaded (/lib/systemd/system/chirpstack-application-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-17 17:45:52 EDT; 16h ago
Docs: https://www.chirpstack.io/
Main PID: 966 (chirpstack-appl)
Tasks: 10 (limit: 4322)
CGroup: /system.slice/chirpstack-application-server.service
└─966 /usr/bin/chirpstack-application-server
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.919311642-04:00" level=info msg="finished unary call with code OK" ctx_id=68b07128-149d-46da-8d
f8-30c8a6d450e2 grpc.code=OK grpc.method=GetGatewaysSummary grpc.service=api.InternalService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=12.846 peer.address="[::1]:60126" s
pan.kind=server system=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.923415878-04:00" level=info msg="finished unary call with code OK" ctx_id=346c21f4-e0c3-47a2-b1
df-137dd8988e8f grpc.code=OK grpc.method=GetDevicesSummary grpc.service=api.InternalService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=17.599 peer.address="[::1]:60126" sp
an.kind=server system=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.948939347-04:00" level=info msg="finished unary call with code OK" ctx_id=6e114852-e447-4588-94
01-16125aadad51 grpc.code=OK grpc.method=Get grpc.service=api.OrganizationService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=35.703 peer.address="[::1]:60148" span.kind=se
rver system=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.950358024-04:00" level=info msg="finished unary call with code OK" ctx_id=559f57d2-7d75-4bdf-bc
2b-6451e77ada90 grpc.code=OK grpc.method=List grpc.service=api.GatewayService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=45.245 peer.address="[::1]:60134" span.kind=server
system=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.969797241-04:00" level=info msg="finished unary call with code OK" ctx_id=3cb91c70-75fa-4054-8a
9d-f9186e99bc0a grpc.code=OK grpc.method=List grpc.service=api.GatewayService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=12.08 peer.address="[::1]:60134" span.kind=server
system=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.98303617-04:00" level=info msg="finished unary call with code OK" ctx_id=abf60ca5-1195-4b3e-9ac
b-679f18dbde12 grpc.code=OK grpc.method=List grpc.service=api.GatewayService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=7.903 peer.address="[::1]:60134" span.kind=server s
ystem=grpc
Jul 18 09:57:15 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:15.984524178-04:00" level=info msg="finished unary call with code OK" ctx_id=58da36e9-95af-48c5-99
9b-ced52966ea2f grpc.code=OK grpc.method=List grpc.service=api.OrganizationService grpc.start_time="2021-07-18T09:57:15-04:00" grpc.time_ms=9.951 peer.address="[::1]:60148" span.kind=se
rver system=grpc
Jul 18 09:57:26 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:26.466102158-04:00" level=info msg="finished unary call with code OK" ctx_id=b49ca865-a3ea-4cfe-b6
a2-e5e7269732e6 grpc.code=OK grpc.method=List grpc.service=api.NetworkServerService grpc.start_time="2021-07-18T09:57:26-04:00" grpc.time_ms=11.844 peer.address="[::1]:60144" span.kind=
server system=grpc
Jul 18 09:57:27 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:27.74587129-04:00" level=info msg="finished client unary call" ctx_id=7e27c273-7958-48d9-92f1-ba08
6bf352a5 grpc.code=OK grpc.ctx_id=deb0c8f1-ef11-455d-88d8-8e706058c279 grpc.duration=2.955166ms grpc.method=GetVersion grpc.service=ns.NetworkServerService span.kind=client system=grpc
Jul 18 09:57:27 rak-gateway chirpstack-application-server[966]: time="2021-07-18T09:57:27.746141322-04:00" level=info msg="finished unary call with code OK" ctx_id=7e27c273-7958-48d9-92
f1-ba086bf352a5 grpc.code=OK grpc.method=Get grpc.service=api.NetworkServerService grpc.start_time="2021-07-18T09:57:27-04:00" grpc.time_ms=13.45 peer.address="[::1]:60144" span.kind=se
rver system=grpc
● chirpstack-gateway-bridge.service - ChirpStack Gateway Bridge
Loaded: loaded (/lib/systemd/system/chirpstack-gateway-bridge.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-17 17:45:52 EDT; 16h ago
Docs: https://www.chirpstack.io/
Main PID: 970 (chirpstack-gate)
Tasks: 10 (limit: 4322)
CGroup: /system.slice/chirpstack-gateway-bridge.service
└─970 /usr/bin/chirpstack-gateway-bridge
Jul 18 10:09:22 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:09:22.937673147-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=a77
c3807-9283-494d-bc47-90db377c78cc topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:09:52 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:09:52.935809787-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=83d
ff2f0-c644-4b01-b6c3-5566123ae786 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:10:22 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:10:22.942017284-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=a85
2ccb7-5e19-464f-95e4-2e527e8aa374 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:10:52 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:10:52.940263978-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=785
f67e2-0293-4d79-8aeb-47cb6eeafbf1 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:11:22 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:11:22.945990457-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=c2a
06922-4571-4454-8308-0effaf7abb20 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:11:52 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:11:52.942361872-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=38d
d92ed-ed74-4f9f-bd26-ea74e6722b18 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:12:22 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:12:22.943163548-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=7d0
ce941-1f3b-4111-b0f8-af2d13a57fd3 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:12:52 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:12:52.948151079-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=32a
b8756-6db7-40fd-b8a2-721bb132aa00 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:13:22 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:13:22.945835514-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=d7c
1369a-d9fd-4543-a5b5-7dd059b72bd5 topic=gateway/dca632fffe36b226/event/stats
Jul 18 10:13:52 rak-gateway chirpstack-gateway-bridge[970]: time="2021-07-18T10:13:52.946604632-04:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=a1b
55209-951a-4f5b-9892-b6a52304da39 topic=gateway/dca632fffe36b226/event/stats
● chirpstack-network-server.service - ChirpStack Network Server
Loaded: loaded (/lib/systemd/system/chirpstack-network-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-17 17:45:53 EDT; 16h ago
Docs: https://www.chirpstack.io/
Main PID: 978 (chirpstack-netw)
Tasks: 10 (limit: 4322)
CGroup: /system.slice/chirpstack-network-server.service
└─978 /usr/bin/chirpstack-network-server
Jul 18 10:11:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:11:52.944158726-04:00" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=dca632fffe
36b226 stats_id=38dd92ed-ed74-4f9f-bd26-ea74e6722b18
Jul 18 10:11:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:11:52.946951729-04:00" level=error msg="gateway: handle gateway stats error" ctx_id=38dd92ed-ed74-4f9f-bd
26-ea74e6722b18 error="update gateway state error: object does not exist"
Jul 18 10:12:22 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:12:22.944966532-04:00" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=dca632fffe
36b226 stats_id=7d0ce941-1f3b-4111-b0f8-af2d13a57fd3
Jul 18 10:12:22 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:12:22.947704665-04:00" level=error msg="gateway: handle gateway stats error" ctx_id=7d0ce941-1f3b-4111-b0
f8-af2d13a57fd3 error="update gateway state error: object does not exist"
Jul 18 10:12:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:12:52.949787696-04:00" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=dca632fffe
36b226 stats_id=32ab8756-6db7-40fd-b8a2-721bb132aa00
Jul 18 10:12:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:12:52.952549162-04:00" level=error msg="gateway: handle gateway stats error" ctx_id=32ab8756-6db7-40fd-b8
a2-721bb132aa00 error="update gateway state error: object does not exist"
Jul 18 10:13:22 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:13:22.947581018-04:00" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=dca632fffe
36b226 stats_id=d7c1369a-d9fd-4543-a5b5-7dd059b72bd5
Jul 18 10:13:22 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:13:22.950426204-04:00" level=error msg="gateway: handle gateway stats error" ctx_id=d7c1369a-d9fd-4543-a5
b5-7dd059b72bd5 error="update gateway state error: object does not exist"
Jul 18 10:13:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:13:52.948526855-04:00" level=info msg="gateway/mqtt: gateway stats packet received" gateway_id=dca632fffe
36b226 stats_id=a1b55209-951a-4f5b-9892-b6a52304da39
Jul 18 10:13:52 rak-gateway chirpstack-network-server[978]: time="2021-07-18T10:13:52.951114342-04:00" level=error msg="gateway: handle gateway stats error" ctx_id=a1b55209-951a-4f5b-98
92-b6a52304da39 error="update gateway state error: object does not exist"
root@rak-gateway:/etc#