BalenaOS 6.5.17+rev1 and RAK883

Hi,

I had a long running TTN v3 GW based on the, now deprecated project, GitHub - mpous/basicstation: LoRa Basics™ Station - The LoRaWAN Gateway Software. Based on RasPi3 and a RAK833 concentrator (Pi Supply IoT Gateway HAT).

As I relocating the GW I decided yesterday to update the BalenaOS on the device. But after upgrading to 6.5.17+rev1 I get the error “Concentrator start failed: lgw_star”.

I don’t remember which version I upgraded from, but I have an identical GW in the same fleet with BalenaOS 6.3.21 that works fine with same variables.

It looks like there are some similar cases:

Is there a bug in the latest BalenaOS?

Just created a new fleet and flashed a SD card with balenaOS 6.3.23. Swapped the SD card in the gateway and pushed GitHub - xoseperez/basicstation-docker: Basics™ Station Packet Forward protocol using Docker to the application. Updated the variables and the GW is online in the TTN console again.

Hi,
I’m having issues with the GitHub - xoseperez/basicstation-docker: Basics™ Station Packet Forward protocol using Docker when updating to the latest BalenaOS. I have two GW, one with a pi5, the other with a pi3 (with rak833 + pi supply hat). If it works for you, can you share how you’ve set the variables?

Thanks

Sure. Below are my parameters on Pi3 and a RAK833 Pi Supply HAT.
But I did not use the “Balena Deploy” button. I made a need fleet with Pi3 , added a device and downloaded the BalenaOS 6.3.21 image. Then I botted the Pi3 and used Balena-CLI to push the Basicstation. With Pi5 there is something on the basicstation github page about using the gpiod library for reset SPI concentrators. I’ve sett RESET_GPIO to 22.

Hi, thank you for sharing. I managed to have it working on a Pi5 with RAK833 + Pi Supply Hat and balenaOS 5.3.22. However, it seems to be unstable and disconnect from time to time. Unfortunately, newer OS might not be working due to deprecated RPi.GPIO library, as explained here.

Hi all,

I’m trying to understand the meaning of the error message below - and also how to resolve it. The gateway concentrator fails to start (although not always).

 basicstation  Concentrator reset through gpiochip4:22 (using libgpiod)
 basicstation  2025-04-29 21:00:40.994 [S00:ERRO] Process /app/config/reset.sh (pid=55) did not terminate within 200ms - killing it (SIGTERM)
 basicstation  2025-04-29 21:00:40.994 [S00:CRIT] Slave radio start up failed with status 0x04
 basicstation  2025-04-29 21:00:40.975 [RAL:ERRO] Slave (0) - EOF
 basicstation  2025-04-29 21:00:40.975 [any:CRIT] Slave pid=54 idx=0: Fatal exit