Data not being updated in Grafana dashboard even though sqlite db has the latest data.

Inspite of data being in the sqlite db, its not being shown in the Grafana dashboard.
Found this info in Grafana logs: “Database table locked, sleeping then retrying”
Please help.