GW does not exist on config received

Hi there!
I’ve just updated to 3.0. Everything is working as expected except for gateway configuration.
I’m using TTN packet forwarder with these settings:

type="semtech_udp"
  # Semtech UDP packet-forwarder backend.
  [backend.semtech_udp]
  udp_bind = "0.0.0.0:1700"
  skip_crc_check = false
  fake_rx_time=true
  gateway_id="b827ebfffe01adba"
  base_file="/opt/ttn-gateway/bin/global_conf.json"
  output_file="/opt/ttn-gateway/bin/local_conf.json"
  restart_command="sudo systemctl restart ttn-gateway"

The gateway_id field I assume is the same as it was for mac.

These are the logs I get:

may 24 15:38:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:31-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:38:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:31-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
may 24 15:38:43 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:43-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:38:44 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:38:44-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 topic=gateway/b827ebfffe01adba/event/stats
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:39:01 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:01-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
may 24 15:39:12 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:12-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:39:12 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:12-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:24 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:24-03:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/b827ebfffe01adba/event/up
may 24 15:39:25 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:25-03:00" level=info msg="integration/mqtt: downlink frame received" topic=gateway/b827ebfffe01adba/command/down
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 topic=gateway/b827ebfffe01adba/event/stats
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=info msg="integration/mqtt: gateway configuration received" topic=gateway/b827ebfffe01adba/command/config
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"

Both the topic structure and gateway ID apperars to be fine.
Am I missing something?

Thanks in advance!

You are missing the [[backend.semtech_udp.configuration]] section in your lora-gateway-bridge.toml file. Please see https://www.loraserver.io/lora-gateway-bridge/install/config/.

Yep, I missed it.

Thanks @brocaar

Does this imply that only the gateway whose ID is stated can be reconfigured?
Is this configuration ONLY for scenarios where you have the Lora-Gateway-Bridge installed on the gateway?
Please where can I find more documentation on this?

Hi @brocaar

I really appreciate your work.
I have similar problem running version 3.01 for the first time (previous one run OK), from description there is not clear if the problem is when bridge is installed on GW or not as mentioned @aizukanne. I’m running GW Bridge on server with loraserver. I’m not able to make work GW and Lora node on new version of loraserver. A lot of confusion. GW sends only uplik nothing else. Tracing error or problem is quite difficult. Is there any documentation in which there is description of changes in new version of loraserver? Finding what changed and why and what impact the change has is hard to find or follow.

Is [backend.semtech_udp.configuration] NOT OPTIONAL?

After running lora-gateway-bridge configfile > lora-gateway-bridge.toml,
The section in the toml file, [backend.semtech_udp.configuration], is commented out, even though [backend] type=“semtech_udp”.