Gtting this error after executing sudo apt upgrade command on Chirpstack V4 server

Dec 14 22:43:08 chirpstackv4u2204 chirpstack[35993]: 2022-12-14T17:13:08.972586Z INFO chirpstack::gateway::backend::mqtt: Message received from gateway region_name=“eu868” topic=“eu868/gateway/b827ebfffe2c6551/event/stats” qos=0 json=true
Dec 14 22:43:08 chirpstackv4u2204 chirpstack[35993]: 2022-12-14T17:13:08.972672Z ERROR chirpstack::gateway::backend::mqtt: Processing gateway event error: unknown field metaData, expected one of gatewayIdLegacy, gatewayId, time, location, configVersion, rxPacketsReceived, rxPacketsReceivedOk, txPacketsReceived, txPacketsEmitted, metadata, txPacketsPerFrequency, rxPacketsPerFrequency, txPacketsPerModulation, rxPacketsPerModulation, txPacketsPerStatus at line 1 column 82 topic=“eu868/gateway/b827ebfffe2c6551/event/stats” qos=0

metaData became metadatawhen serialized to JSON (protobuf field number unchanged) in the latest point release. You could switch to protobuf on the gateway bridge (recommended), update the gateway bridge version and keep using JSON, or roll back the server version until you are able to synchronize things.

Thanks Bconway,

Updated gateway bridge to version 4.0.1 from 4.0.0 and now i am able to see the gateway

1 Like