The recorder could not start, Can't seem to fix it!

So I was hoping many others had the same problem due to a recent update, and that i would be able to find a fix doing a quick search, but that doesn’t seem to be the case.

About a week or two ago, I had a bunch of updates ready to install, one of them being cloudflare. I installed them, and all seemed to work fine. At some point I tried to access my HA remotely and it didn’t work.

When I looked into it I noticed the cloudflare addon kept crashing. If I manually 'started it", with in seconds it would crash. Even though I have watchdog to turn it back on after it crashes, it wouldn’t turn back on.

Figured I didn’t use it remotely too often, so figured I would just wait until the next update and hopefully that would resolve the issue.

Well a few days after that I noticed my automations were not working. When I looked into it I noticed two notifications:

"

Recorder

The recorder could not start, check [the logs](....config/logs)"

and

"

Invalid config

The following integrations and platforms could not be set up:

* [history](https://www.home-assistant.io/integrations/history) ([Show logs](http://10.69./config/logs?filter=history))
* [energy](https://www.home-assistant.io/integrations/energy) ([Show logs](http://10.69./config/logs?filter=energy))
* [logbook](https://www.home-assistant.io/integrations/logbook) ([Show logs](http://10.6/config/logs?filter=logbook))
* [usage_prediction](https://www.home-assistant.io/integrations/usage_prediction) ([Show logs](http://10.69./config/logs?filter=usage_prediction))
* [default_config](https://www.home-assistant.io/integrations/default_config) ([Show logs](http://10.69./config/logs?filter=default_config))
* [alexa_media](https://github.com/alandtse/alexa_media_player/wiki) ([Show logs](http://10.69./config/logs?filter=alexa_media))

Please check your config and [logs](http://10.69.onfig/logs).

Ok so figured best thing to do is use a backup. I rolled back to Feb 8th. Pretty sure it was working find then, and pretty sure it is a backup from BEFORE doing the clouldflare update since I see it listed as an update I can install now.

Well as soon as I rolled back to Feb 8th, I got the same problems with the recorder not starting and integrations not being able to start up.

I didn’t play with any of the settings, so it basically “broke” itself, and for some reason when I restore to previous versions, the problem seems to be there.

Any ideas on what I can do next? How I can trouble shoot ?

Any ideas on how I can even start to troubleshoot this issue?

Turns out it was an “only me” problem. I had corrupted / mismatched container layers, not sure how that happened.

To solve my issue I first had to get rid of MariaDB, then I had to log in to the HA console (via proxmox in my case), and after login I ran “ha supervisor repair” and that did the trick for me.