Hi @ brocaar
Apologies for opening the new topic since the other topic is closed now.
In the post below, you confirmed that a device can be reactivated using the API, but the uplink and downlink frame counters must be set correctly in ChirpStack v3.
However, I noticed that both the uplink and downlink frame counters are not present in the database. Everything else needed to reactivate the device appears to be stored in the device_activation
table (in the NS schema) and the device
table (in the AS schema).
If a device becomes deactivated due to a Redis cache issue, and we no longer have access to the Redis data, how can we determine the correct values for the uplink and downlink frame counters to reactivate the device — given that all other required information is still available in the database?