History and Logs Lagging by 6 Days

I seem to have lost history and log files in real time. I’ve tried removing the db and restarting and then suddenly found some history from 6 days ago, but is showing todays events? Does anyone have an idea of what I have done?

.I’m currently running Hass.io on raspberry PI3B and Home Assistant 0.100.3. relative newbie too

Yeah, you turned on the “Lounge Speaker Lights” on Oct 18th around 11:42 PM

1 Like

I’ve managed to solve the history and logs issue. Using the Terminal in non protection mode I entered
date -s yyyy.mm.dd-hh.mm.ss and restarted the system. the date is now syncing correctly