Hass.io web interface will not start after reboot

I get the following in the logs when I check the terminal. Does anyone know how I can solve this?

I already restored a snapshot of a working installation from yesterday, but that also did not help. :frowning:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 397, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 371, in main
    args = get_arguments()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 103, in      get_arguments
    import homeassistant.config as config_util
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 857, in get_code
  File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode
ValueError: bad marshal data (invalid reference)
Traceback (most recent call last):
   File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 397, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 371, in main
    args = get_arguments()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/__main__.py", line 103, in      get_arguments
    import homeassistant.config as config_util
   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 724, in exec_module
   File "<frozen importlib._bootstrap_external>", line 857, in get_code
   File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode
ValueError: bad marshal data (invalid reference)

EDIT: Did a image restore that I made earlier. Lost some data, but the system is still a test setup. So not a really big problem.

That’s a corrupted python file. Backup or replace was your only option. Something must have borked during a restart.

Yeah, restored an complete sd card image. It’s running again.

I could not find the corrupted file using ssh. Where was I supposed to look? Find it pretty hard to find the files as it all seems to live in a docker container?