Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105850

Mistakenly deleted configuration.yaml

$
0
0

I mistakenly deleted contents of configuration.yaml using Studio Code Server. I have not restarted HaOS yet and run a check and got the following errors:

➜  / ha core check                  
⣷ Processing... 
⣾ Processing... 
⣻ Processing... 
⡿ Processing... 
Processing... Done.

Error: Testing configuration at /config
INFO:homeassistant.helpers.storage:Migrating core.device_registry storage from 1.8 to 1.9
INFO:homeassistant.helpers.storage:Migrating core.entity_registry storage from 1.15 to 1.16
Fatal error while loading config: 'NoneType' object has no attribute 'items'
Failed config
  General Errors: 
    - 'NoneType' object has no attribute 'items'

Successful config (partial)

What have I done and how can I fix this?
Anyway to restore? Studio code server keeps reversions history?

Thanks.

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 105850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>