-
-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No LORAWAN Frames: level=error msg="gateway: handle gateway stats error" error="update gateway state error: object does not exist" #586
Comments
I upgraded my gatway from debian buster to debian bullseye yesterday and after that the gateway/network server stopped working. So far I'm not able to find the issue - but i get a very similiar error message:
My setup looks like this: raspberry pi with rasbian (now bullseye): root@rak-gateway:/opt/ttn-gateway/packet_forwarder/lora_pkt_fwd# dpkg -l | grep chirpstack I've already created new postgresql databases for chirpstack_as and chirpstack_ns (switched to chirpstack_as2 and chirpstack_ns2). I can reproduce this error even with this fresh setup. Within the applicaton-server frontend the gatway is always listed as "Never" - so the communication is no longer working - although the gateway-bridge and the semtech_udp concentrator are up and running: lora_pkt_fwd output:
gateway-bridge output
Any help appreciated getting it back running. |
FYI I'm going through this debug help now:
=> Package Forwarder is working Subscribing to topic for gateway-bridge is working:
Receiving Data on gateway-bridge is working:
I get the stats also within mosquitto_sub:
(Sorry - binary is not shown here somehow). The network-server receives the gateway stats packet:
As the below output with more debug seems to fail after a sql update statement I downgraded the postgresql database again to 11 (from 13) - however this didn't solve that problem. Same output with debug level increased - last entry within the post - warning long snipplet!
|
Hi @winnieXY
|
I've added logging to the postgresql database to see the actual update statement. In fact this statement failed/updated no entry as with the update the device ID of the gateway had changed a little bit. I didn't checked that. After deleting the old gateway and adding the new one I get at least the stats and the gateway is online according to the application-server. However I still have no packages from my devices - no clue why yet. Maybe I've to force a join again/restart them. |
What happened?
I use this gateway without any connected devices.
In application-server
Status seen
isa few seconds ago
,Gateway activity
isNone
,GPS coordinates
is(0, 0)
,Live LORAWAN Frames
isNone
.What did you expect?
Right status in application-server: correct GPScoordinates and LORAWAN frames.
Steps to reproduce this issue
Steps:
docker-compose up
Could you share your log output?
Your Environment
The text was updated successfully, but these errors were encountered: