Error after upgrading corteza

Hello,

I have upgraded my corteza system from 2022.9 to 2023.3 and the corteza server could not start, and the logs displayed the following lines :

2023-06-17T15:04:27.930479283Z could not start Corteza: could not upgrade primary store: could not scan rows for ComposeModule: sql: Scan error on column index 5, name “config”: can not scan JSON into *types.ModuleConfig: json: cannot unmarshal object into Go struct field DiscoveryResult.discovery.public.result of type []struct { Lang string “json:"lang"”; Fields []string “json:"fields"” }

How could you help me please?

If you can either start with a fresh DB and then add your configuration on top of that.
Otherwise this edge case (discovery settings provision), will have to wait for a patch to be handled.