How to correct config issues or default install

I installed hassio on Ubuntu with docker, not the hass.io image. All was working and then I accidentally restored from a snapshot with a bad line in the configuration.yaml. Bad enough that hassio won’t start. No samba or web interface. I can see the errors using the “docker logs homeassistant” command. Is there anyway to fix this? I’m even ok with “defaulting” the install and starting from scratch, but I can’t figure out how.

root@haunit:/srv# docker logs homeassistant
2018-01-23 23:53:03 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-23 23:53:03 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:02:55 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:02:55 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:12:55 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:12:55 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:22:55 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:22:55 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:32:55 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14
2018-01-24 00:32:55 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/configuration.yaml", line 93, column 14

On my hass.io ubuntu setup the /config directory is mapped to /usr/share/hassio/homeassistant/.
So you should be able to edit the configuration.yaml there.

1 Like

Ahaha! thank you so much! I been looking all over! I could not find anything to guide me there. I have been looking at where the script service is run from and nothing led me there!

Thank you! Hopefully this helps others in the future. Now back to work! :slight_smile: