Hi All,
I had my certificate updated with lets encrypt and through the log everything seems fine. When i go to a browser or the app, they still see the old date though, which even prevents the app from working.
I tried renewing the cert again, but lets encrypt says it is not needed. I also restarted from home assistant itself and even restarted the whole pi.
I found the issue…it was 100% user error (and the mess afterwards to). I checked the config.yaml and suddenly realized the names of public and private key there were different from the configuration in lets encrypt.
so while i was with friends on new years eve…and chatting …i decided to pop in in my mobile phone, edit the config.yaml and restart (because that’s what you do right!), but made a typo and that causes issues… The web interface never came back up. HA was working btw, just the web interface was dead
In order to fix that , I had to boot my PI into an old raspberry PI image, plug in the HA sd-card, and use Vi to fix my mistake.
Explanation: HA os is on a linux ext4 partition, so there are tools to read from windows, but to edit is more of challenge. Lesson learned here! … AKA have a way to read and edit linux partitions in case you mess up…or backup regularly and download the back up…or just don’t try and "ill quickly fix this on my mobile in the kitchen …away from my place …on new years eve…cus shell be right ? Right?
I am not sure where to put that last tip here, but i feel it’s useful: If you ever need direct access to you HA sd card after a crash, the easiest way to do it is to have a linux machine (real or virtual) available somehow to be able to read the ext4 partition. That way you can go in, edit files, but also pull the automated backup created every time you did an update.