Prometheus database broken, how can I repair Grafana?


I recently deleted some prometheus database file by accident on Ubuntu, I tried upgrading grafana from 10.2 to 10.3, it didn’t fix anything. Do I have to reinstall Grafana if so, how can I keep my datas because I don’t want to recreate all the dashboards and database I have created already. Thank you

I reinstalled the plugins itself and it worked out