Grafana Influx DB parsing query error

Hello everyone,

I hope someone can help me.

I switched from an Sd card to an SSD and after the backup was installed, everything worked again.
Unfortunately Grafana did not. I get the following error message:

InfluxDB returned error: error parsing query: found FROM, expected identifier, string, number, bool at line 1, char 9

No more data is displayed on the dashboard. I have reinstalled Grafana, checked users and authorizations, but unfortunately it does not work.
When creating the data source and after pressing save and test, it is successful. When creating a dashboard, however, this error message appears.

Translated with (free version)