v4.0.0
Features
This release implements the ChirpStack v4 API interface. Please note that this version is not compatible with ChirpStack v3.
This release implements the ChirpStack v4 API interface. Please note that this version is not compatible with ChirpStack v3.
In Ubuntu, chirpstack-gateway-bridge is still 4.0.0-rc.1.
May be need a while.
Very excited to see v4.0.0.
Thanks a lot for your effort.
sudo apt update
sudo apt install chirpstack-gateway-bridge
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
chirpstack-gateway-bridge is already the newest version (4.0.0-rc.1).
It should already be there… Could you try:
sudo apt remove chirpstack-gateway-bridge
sudo apt install chirpstack-gateway-bridge
Hi. I do “sudo apt-get upgrade” and now not working Chirpstackv4.0 in the web interface. I put the command “sudo journalctl -f -n 100 -u chirpstack | grep ERROR” and see this:
Sep 15 09:02:37 saturn chirpstack[4376]: Sep 15 09:02:37.288 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 25 panicked topic=“eu868/gateway/00800000a00033c2/event/up” qos=0
Sep 15 09:02:40 saturn chirpstack[4387]: Sep 15 09:02:40.691 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 31 panicked topic=“eu868/gateway/00800000a00033c2/event/up” qos=0
Sep 15 09:02:40 saturn chirpstack[4387]: Sep 15 09:02:40.791 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 32 panicked topic=“eu868/gateway/a840411d21284150/event/up” qos=0
Sep 15 09:02:52 saturn chirpstack[4423]: Sep 15 09:02:52.187 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 25 panicked topic=“eu868/gateway/00800000a00033c2/event/up” qos=0
Sep 15 09:02:52 saturn chirpstack[4423]: Sep 15 09:02:52.187 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 26 panicked topic=“eu868/gateway/a840411d21284150/event/up” qos=0
Sep 15 09:02:52 saturn chirpstack[4423]: Sep 15 09:02:52.688 ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: task 31 panicked topic=“eu868/gateway/00800000a00033c2/event/stats” qos=0
And put the command “sudo systemctl status chirpstack.service” and see Active the service
I did this and resolved the problem:
sudo apt remove chirpstack
sudo apt install chirpstack
This moment chirpstackv4.0 and chirpstack-gateway-bridgev4.0 works well.
Thanks for all @brocaar
Yes, this is working.
Backup the toml before removing first.
Thanks a lot.
meta
in rxpk and statIf using the Semtech UDP Packet Forwarder backend, it is possible to expose
additional key / value metadata using an optional meta
key in either the
rxpk or stat package. The value of meta
must be an object with key (string)
/ value (string) data if present.
metadata
field in chirpstack_api
consistent.This feature would be great.
Buw how could we do it right?
I put as below in /lib/systemd/system/chirpstack-gateway-bridge.service
[Unit]
Description=ChirpStack Gateway Bridge
Documentation=https://www.chirpstack.io/
Wants=network-online.target
After=network-online.target
[Service]
User=gatewaybridge
Group=gatewaybridge
ExecStart=/usr/bin/chirpstack-gateway-bridge -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-as923.toml
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=lora-gateway-bridge.service
Then I hit the error
chirpstack-gateway-bridge[341155]: time=“2023-01-27T10:43:10.195118872+07:00” level=fatal msg=“error loading config file” config="&[/etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-as923.toml]" error=“While parsing config: toml: table general already exists”
It seems multiple toml file have same [general] section?
Thanks a lot.
This feature doesn’t mean that you can run the ChirpStack Gateway Bridge like multiple instances. It allows you to break the .toml
file into multiple .toml
files.
UplinkRxInfo
if Semtech UDP payload contains both rxpk
and stat
(with location).