The upgrade of the unit broke due killing all client connections. opkg got a SIGHUP and didn't write out the state files. Do not kill the client connections on upgrade.
It is possible that the key is truncated, remove it in this case.