Upgrading from LoRa Server v2 to LoRa Server v3

After various test-versions, we have released LoRa Server v3! See:

LoRa Server v3 is not compatible with LoRa Gateway Bridge v2.x, but LoRa Server v2.7+ is compatible with LoRa Gateway Bridge v3!

When upgrading from LoRa Server v2 components to v3, this is the recommended upgrade path:

  • Update to the latest LoRa Server v2 release (v2.8.1)
  • Re-configure LoRa Server to be forward compatible with LoRa Gateway Bridge v3. You need to update your loraserver.toml configuration and enable the mqtt2to3 translation service. See these instructions).
  • Upgrade LoRa Gateway Bridge to v3.
  • Upgrade the remaining components to v3.

As always, it is recommended to make a backups before doing any upgrade.


Hello @brocaar ,

I am unable to upgrade Lora gateway Bridge on ubuntu server. It says “lora-gateway-bridge is already the newest version (2.7.1).”

Any suggestions?

Did you update your repository? Per https://www.loraserver.io/lora-gateway-bridge/install/debian/

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00

sudo echo "deb https://artifacts.loraserver.io/packages/3.x/deb stable main" | sudo tee /etc/apt/sources.list.d/loraserver.list
sudo apt-get update


sudo apt-get install --only-upgrade lora-gateway-bridge

Hope that helps

1 Like

Thank you.

I didnt realise the repo changed.

Hi, I try to update a raspberry based gateway (full image). I used the ready to go image from here: https://artifacts.loraserver.io/downloads/lora-gateway-os/raspberrypi/raspberrypi3/2.0.0test4/ and now I want to update to 3.x version to have thingboard integration ootb.
Do anybody have an solution for an update process? Thanks a lot :slight_smile: !

I used the following command:
sudo mender -rootfs https://artifacts.loraserver.io/downloads/lo ra-gateway-os/raspberrypi/raspberrypi3/3.0.0test1/lora-gateway-os-full-raspberry pi3–20190714105631.mender/to/mender.artifact.mender

And got following error:
INFO[0000] Configuration file does not exist: /var/lib/mender/mender.conf modul e=config
INFO[0000] Loaded configuration file: /etc/mender/mender.conf module=config
INFO[0000] Mender running on partition: /dev/mmcblk0p2 module=main
INFO[0000] Performing remote update from: [https://artifacts.loraserver.io/downl oads/lora-gateway-os/raspberrypi/raspberrypi3/3.0.0test1/lora-gateway-os-full-ra spberrypi3–20190714105631.mender/to/mender.artifact.mender]. module=rootfs
ERRO[0000] Error fetching shcheduled update info: code (404) module=client_upda te
ERRO[0000] rootfs: error while updating image from command line: (request_id: ): error receiving scheduled update information server error message: failed to pa rse server response: http: read on closed response body module=main

Only solution download the newer file and re-install complete solution - currently ;). Maybe anybody found another solution.