RAK2245 gateway ttn-resin-gateway-rpi “[main] failed to start the concentrator”

I purchased one of these units: https://www.sparkfun.com/products/15336 which works fine using the RAK provided image on raspian.
However if I try following these steps: https://github.com/jpmeijers/ttn-resin-gateway-rpi it connects to the TTN server but then I get [main] failed to start the concentrator from the logs

Is it feasible to get this gateway running through BalenaCloud or do I have to use the Raspian image?

Here are my logs:

06.08.19 15:00:31 (+1200)  main  [TTN Gateway]: Resetting concentrator on pin 11
06.08.19 15:00:32 (+1200)  main  03:00:32  *** Multi Protocol Packet Forwarder for Lora Gateway ***
06.08.19 15:00:32 (+1200)  main  Version: 3.0.20
06.08.19 15:00:32 (+1200)  main  03:00:32  *** Lora concentrator HAL library version info ***
06.08.19 15:00:32 (+1200)  main  Version: 5.0.1; Options: native;
06.08.19 15:00:32 (+1200)  main  ***
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Little endian host
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: found global configuration file /opt/ttn-gateway//global_conf.json, parsing it
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: lorawan_public 1, clksrc 1
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: no configuration for LBT
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: antenna_gain 0 dBi
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Configuring TX LUT with 16 indexes
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: radio 0 enabled (type SX1257), center frequency 917200000, RSSI offset -166.000000, tx enabled 1
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: radio 1 enabled (type SX1257), center frequency 917900000, RSSI offset -166.000000, tx enabled 0
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 0>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 1>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 2>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 3>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 4>  radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 5>  radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 6>  radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora multi-SF channel 7>  radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: FSK channel 8 disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: gateway MAC address is configured to MACHERE
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Found 1 servers in array.
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Server 0 configured to "thethings.meshed.com.au"
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: filename for statistical performance is configured to "loragwstat.json"
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: packets received with a valid CRC will be forwarded
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: packets received with a CRC error will NOT be forwarded
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: packets received with no CRC will NOT be forwarded
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: GPS serial port path is configured to "/dev/ttyAMA0"
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: GPS is enabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Using real GPS if available.
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Upstream data is enabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Downstream data is enabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Ghoststream data is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Radiostream data is enabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Statusstream data is enabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Beacon is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Packet logger is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Flush output after statistic is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Flush after each line of output is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Watchdog is disabled
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Contact email configured to ""
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: Description configured to "Gateway 1 with Balena"
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: [Transports] Initializing protocol for 1 servers
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: [TTN] server "thethings.meshed.com.au" connected
06.08.19 15:00:32 (+1200)  main  03:00:32  INFO: [main] Starting the concentrator
06.08.19 15:00:32 (+1200)  main  03:00:32  ERROR: [main] failed to start the concentrator

And config:
image

Fleet config:
image

Hi. This seems like it’s a very similar issue (https://www.thethingsnetwork.org/forum/t/rpi-rak831-resin-image-failed-to-start-the-concentrator/17836/5), maybe the frequency tables are causing the issue here?

Sorry for the broken link. Here is the working one: https://www.thethingsnetwork.org/forum/t/rpi-rak831-resin-image-failed-to-start-the-concentrator/17836

Thanks for the suggestion. On that thread he states AU915 makes it work, however I’m already trying to make it work on AU915 (I’m in New Zealand). Is that what you were referring to?

Got it! Had to set the SPI_SPEED Device Variable to 2000000 which brought it up! I had tried earlier figures (eg 5000000 as per other posts) but not as low as 2. Thanks heaps for your help.

Great, I’m glad you got it working!