I installed a fresh hassbian today since I couldn’t upgrade from v0.51 due to python issues. Anyways, I set up as usual as per bruh automation https://www.youtube.com/watch?v=BIvQ8x_iTNE for letsencrypt and duckdns.org. Copy over my old files and now HASS won’t boot. I ran the check config script and got the following error:
Failed config
http:
- Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/etc/letsencrypt/live/MYDOMAIN.duckdns.org/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/etc/letsencrypt/live/MYDOMAIN.duckdns.org/privkey.pem'. (See /home/homeassistant/.homeassistant/configuration.yaml, line 37). Please check the docs at https://home-assistant.io/components/http/
- android_ip_webcam: [source /home/homeassistant/.homeassistant/configuration.yaml:84]
- host: 192.168.1.118
Can someone please help explain why my keys are not working? I ran letsencrypt and it went well with no issues, the directory is in my pi but still no luck…
Coincidentally, I just updated my certificate for the first time since installing HA. Guess what, I’m seeing the exact same thing as you now! It is indeed a permission issue. I have to make sure the new cert is accessible by user homeassistant.
Forgive me, I’m a bit of a noob in linux, forcing myself to learn by using Hassbian.
When I did sudo su -s /bin/bash homeassistant , it asked for a password. What password do I use? I tried my password for logging into my RP under user pi, i tired my password logging into HA via web GUI.
Fixed, I missed a critical step, sudo chmod -R 777 /etc/letsencrypt
That solved the problem however, I still can’t access web GUI.
Edit: Rebooted the Pi, GUI loaded up, missing a lot of stuff like phillips hue and switches, sonoff switches but I guess that might be the gap from 0.51 to now 0.69.1
So I just did the Hassbian upgrade 8/24/18 and couldn’t log in to my web interface after the upgrade. Come to find out, I had an old entry under http: ‘use_x_forwarded_for: True’ with nothing after. I simply commented that one line out and the web interface allowed me to log in.