Closed acmfx closed 1 year ago
Will try and recompile to see if there's a fix
@acmfx this has been rebuild and pushed to https://github.com/troykelly/hassio-addons Docker hub is updating as we speak ( https://hub.docker.com/r/troykelly/amd64-addon-letslexicon ) When you get a chance can you test to see if the update works for you and let me know?
Hey @troykelly, thanks for doing the rebuild! Just gave it a try and I got this (and only this) log message:
s6-overlay-suexec: fatal: can only run as pid 1
I tried doing a little digging around and found this: https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/ (add init: false
to config.json, maybe some other stuff?)
It's been so long - I think the containers have to be built differently now. I will try and find some time today.
@acmfx completely redone... I've just done some testing here and looks like it's working. Let me know how you fare
important
Make sure you are using the new data keys... Use the reference here.
You will be after dreamhost_auth_token
I guess.
email: hello@home-assistant.io
domains:
- home-assistant.io
dns:
provider: dreamhost
dreamhost_auth_token: 35704b6a-3a62-11ed-a261-0242ac120002
@troykelly that did the trick! I've got my home assistant instance up and running on internal-only dns with a let's encrypt cert. Thank you thank you for all the effort!
I'm getting an error when using the add-on to try and get a cert for a dreamhost-managed domain. here's the trace that occurs when deploying the challenge:
I dug around a little bit and it looks like the root cause is the from this line: File "/usr/local/lib/python3.9/site-packages/lexicon/providers/dreamhost.py", line 104, in _authenticate payload = self._get("domain-list_domains") Dreamhost's API is no longer 'domain-list_domains', but is now 'dns-list_records'. Fortunately, it looks like Lexicon has updated this: https://github.com/AnalogJ/lexicon/blob/master/lexicon/providers/dreamhost.py#L103
Would it be possible to rebuild and republish the add-on docker image with an updated Lexicon dependency?
Hope you see this, thanks so much for putting this add-on together!