History and Logbook not showing in sidebar

I’ve created a new instance of HA in VirtualBox and History and Logbook are not showing up in the sidebar.

They’re not available to add either.

Any setting that I’m missing?

How can I restore these options?

It was my mariaDB config!