Added troubleshooting section

Note about how to (usually) resolve issues with certbot permissions
This commit is contained in:
DubhAd 2018-04-04 21:24:16 +01:00 committed by GitHub
parent 460fce6a10
commit 39b5a4275a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,3 +95,13 @@ If you want to use Home Assistant to host or serve static files then create a di
<p class='note'>
If you've had to create the `www/` folder for the first time, you'll need to restart Home Assistant.
</p>
## {% linkable_title Troubleshooting %}
### {% linkable_title LetsEncrypt - not a file for dictionary value %}
If you're getting the error message `Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate'].` then it's most likely down to a permissions problem. Some installs of certbot are too locked down, and the following will resolve this:
```bash
$ sudo chmod a+x /etc/letsencrypt/live /etc/letsencrypt/keys /etc/letsencrypt/archive
```