[release] ChirpStack Gateway Bridge v4.0

v4.0.0

Features

This release implements the ChirpStack v4 API interface. Please note that this version is not compatible with ChirpStack v3.

3 Likes

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. :smiley:

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

1 Like

Yes, this is working.
Backup the toml before removing first.
Thanks a lot.

v4.0.1

Improvements

  • Expose ack-rate (Semtech UDP protocol) through Prometheus metrics.
  • Update Go compiler toolchain to latest version.

Bugfixes

  • Update Multitech Conduit packaging to work Monit for process monitoring (included in latest mPower).
3 Likes

v4.0.2

Features

meta in rxpk and stat

If 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.

Improvements

  • Update Go compiler to v1.19.3.
  • Update Alpine base container to v3.17.0.
  • Update prometheus/client_golang to v1.14.0.
  • Make metadata field in chirpstack_api consistent.
2 Likes

v4.0.3

Bugfixes

  • Add missing coding-rates for TXPK CodR. (#217)
1 Like

Improvements

  • Support for multiple configuration files. (#199)
  • Add filters to Concentratord backend. (#218)
  • Add CRC status back to UplinkRxInfo.
2 Likes

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.

v4.0.5

Bugfixes

  • Fix loading config from default paths after merging #199.
1 Like

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.

1 Like