Problem after restore - History graph problem

Hi All,

After restore my system ( [Raspberry Pi 3 B+ ), all me entitis (sensors, switch , etc).
There is no history only a straight line.
sensors update correctly and displaying in real time the information and can communicate. Just does not show the history, the most strange.

someone has an idea? 1

Solved by deleting the Database file.