Can Access my Configuration.yaml

Greetings,

I had my Home Assistant set up on a Raspbery Pi 3 before and it was working quite well. Unfortunately I have to move house and relocate… Things got so busy, but to cut it short, I managed to get the time to starting up again.
The new Has.io seems pretty user friendly than before. The whole system is way easier to install and Im really looking forward to having it up and running again.
Unfortunately, I am having a stumble accessing my configuration.yaml file. for some reasons, these is the only thing written on it:

Configure a default setup of Home Assistant (frontend, api, etc)

default_config:

Uncomment this if you are using SSL/TLS, running in Docker container, etc.

http:

base_url: example.duckdns.org:8123

Text to speech

tts:

  • platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

I dont kow where to start from here. Hopefully somewone could point me to the right way as I really wanted to have this awesome system in my new house.

Thanks in advance

Please format your code properly. Use three backticks (```) above and below your code.

Either way, what do you mean by “having trouble accessing configuration.yaml”? What you posted appears to be from a fresh install. If you had Home Assistant set up before (and installed it using Hass.io), then you can/should have made a snapshot of your previous installation and copied to your new setup before doing a fresh install.

Thanks for your reply,

It was almost 3 years ago. I got the whole thing running and my devices connected. But I can’t configure the Configuration.yaml file. I tried pasting the old ones, but it doesn’t change at all. sorry I’m new to this forum.

This is the log when you start configurator add on:
17:47:55] INFO: Add-on running
nginx: [alert] detected a LuaJIT version which is not OpenResty’s; many optimizations will be disabled and performance will be compromised (see githubcom/openresty/luajit2 for OpenResty’s LuaJIT or, even better, consider using the OpenResty releases from openrestyorg/en/downloadhtml)
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from link(rc: 2, reason: module ‘resty.core’ not found:
no field package.preload[‘resty.core’]
no file ‘./resty/core.lua’
no file ‘/usr/share/luajit-2.1.0-beta3/resty/core.lua’
no file ‘/usr/local/share/lua/5.1/resty/core.lua’
no file ‘/usr/local/share/lua/5.1/resty/core/init.lua’
no file ‘/usr/share/lua/5.1/resty/core.lua’
no file ‘/usr/share/lua/5.1/resty/core/init.lua’
no file ‘/usr/share/lua/common/resty/core.lua’
no file ‘/usr/share/lua/common/resty/core/init.lua’
no file ‘./resty/core.so’
no file ‘/usr/local/lib/lua/5.1/resty/core.so’
2019/11/11 17:47:55 [notice] 23#23: using the “epoll” event method
2019/11/11 17:47:55 [notice] 23#23: nginx/1.16.1
2019/11/11 17:47:55 [notice] 23#23: OS: Linux 4.14.98-v7
2019/11/11 17:47:55 [notice] 23#23: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/11/11 17:47:55 [notice] 23#23: start worker processes
no file ‘/usr/lib/lua/5.1/resty/core.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’
no file ‘./resty.so’
no file ‘/usr/local/lib/lua/5.1/resty.so’
no file ‘/usr/lib/lua/5.1/resty.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’)
2019/11/11 17:47:55 [notice] 23#23: start worker process 30

thanks for your time. really appreciate it

What doesn’t change at all? Am I correct in assuming you can open the Configurator add-on and access your files?

So what’s the problem?

Start with the documentation and integrations page. Add your devices and configurations.

Sure you can.

where are you pasting “old ones”? What do you mean? Have you read the current documentation?

Yeah I’m completely lost. Not sure what the problem is, OP.

Hi Tediore,

I did manage to install the add on. I can access the configuration.yaml but it gives me a different blocks and codes. I am expecting a block that starts with “homeassistant”as what the instructions was saying. I tried to input it manually but nothing seems to change. But I get the ones that i posted in the beginning. I wonder where i got myself wrong.

Stop following out of date tutorials.

Use the documentation.

Where you went wrong is relying on old information.

Use the home assistant documentation and look up each thing in your current configuration and you’ll find the reason behind homeassistant: not working… because it’s already there.

Just because your config file looks different than an old video or tutorial doesn’t mean it’s wrong or you didn’t install it correctly. It just means that the video or tutorial was created before a bunch of changes were made to the system which also means it is out of date.

Actually, I don’t think it’s completely their fault.

If you go to the “getting started” (“installation”) section of the docs and look at the right side columns you’ll see the link to the “advanced configuration”. In there it still has a reference to the “homeassistant:” section and says “Find the homeassistant: configuration block, which should be the first thing in configuration.yaml .”

It looks like the docs are wrong (or at least misleading) and don’t mention the new “default_config:” there yet.

It says here:


Unless I’m looking at the wrong installation instructions.
I only get these, that’s why i feel a bit lost.

I only Got these

yes!
can you please point me to the right direction? I’m sure Im doing something wrong.
Thanks in advance

But you’re not.

Just open the GUI, set your location and follow the documentation on adding your Integrations

That’s a good point. I submitted a PR with edits to that page with updated information.

1 Like