Device activation data error when server lost power

Hi brocaar,
I met a problem run the chirpstack server on a arm-v7 chip. I used a device joined the server and it works when the server restart by shell command “sudo reboot”. But if i shut down the power directly and turn the power again, the device activation data becomes the value last time it restart by shell commad “sudo reboot”.
I checked the postgresql, the last data is correct , but the activation showed in web is the next to the last one( here I rebooted the server with shell command). The Device Address and Network session key are wrong , Application session key is right.

Could that be fixed?

You have probably not configured Redis for persistence?

Thank you very much. It works well now.

1 Like

I have the same problem, tell me please, how you fix that?