Code Monkey home page Code Monkey logo

hassio-addons's People

Contributors

mrmichaelrb avatar tomk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hassio-addons's Issues

No subdomain?

I don't want to use a subdomain with this utility, I want it to update the base domain's IP. But the subdomain says it's required, not optional.
Thoughts?

Feature request: Subject Alternative Names support

This is a great add-on! I have been using a PowerShell script with Posh-ACME module to request and renew Lets Encrypt certs, but I still need to manually upload the cert files. One of my HASS instances uses Let's Encrypt with a second SAN. This add-on seems like it would help by automatically renewing my Lets Encrypt cert and adding it to HASS, but in my scenario, I would also need a SAN as well. Would it be possible to add SAN support to this add-on?

I use this add-on for another HASs instance that doesn't need a SAN, and it works great!

Multiple domains

Is there a way to manage multiple domains with this addon? (I have a business and a personal domain, both of which should point to the same reverse proxy)

can't install addon in HA

Dear Michael,

I'm tried to install from your repository from HA Supervisor without luck, btw i report the error logs.

The command '/bin/ash -o pipefail -c apk add --no-cache openssl && curl -s -o /usr/bin/dehydrated "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated" && chmod a+x /usr/bin/dehydrated' returned a non-zero code: 1

Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[31m21-11-13 18:26:37 ERROR (SyncWorker_4) [supervisor.docker.addon] Can't build 423ea876/armv7-addon-godaddy_dns:1.0.3: The command '/bin/ash -o pipefail -c apk add --no-cache openssl   && curl -s -o /usr/bin/dehydrated     "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated"   && chmod a+x /usr/bin/dehydrated' returned a non-zero code: 1#033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[31m21-11-13 18:26:37 ERROR (SyncWorker_4) [supervisor.docker.addon] Can't build 423ea876/armv7-addon-godaddy_dns:1.0.3: The command '/bin/ash -o pipefail -c apk add --no-cache openssl   && curl -s -o /usr/bin/dehydrated     "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated"   && chmod a+x /usr/bin/dehydrated' returned a non-zero code: 1#033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[31m21-11-13 18:26:37 ERROR (SyncWorker_4) [supervisor.docker.addon] Build log: 
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[31m21-11-13 18:26:37 ERROR (SyncWorker_4) [supervisor.docker.addon] Build log:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: Step 1/12 : ARG BUILD_FROM
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: Step 2/12 : FROM $BUILD_FROM
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:  ---> a6b4abf955c9
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: Step 3/12 : ARG DEHYDRATED_VERSION
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:  ---> Using cache
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:  ---> 95438535cecf
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: Step 4/12 : RUN apk add --no-cache openssl   && curl -s -o /usr/bin/dehydrated     "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated"   && chmod a+x /usr/bin/dehydrated
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:  ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:  ---> Running in 538faa4a9170
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[91m4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[91mWARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: Permission denied
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[91m4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: 4155057040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: Step 1/12 : ARG BUILD_FROM
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[91mWARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: Permission denied
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[91mERROR: unable to select packages:
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:   openssl (no such package):
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]:     required by: world[openssl]
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: Removing intermediate container 538faa4a9170
Nov 13 17:26:37 raspberrypi hassio-supervisor[1760]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: Step 2/12 : FROM $BUILD_FROM
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:  ---> a6b4abf955c9
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: Step 3/12 : ARG DEHYDRATED_VERSION
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:  ---> Using cache
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:  ---> 95438535cecf
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: Step 4/12 : RUN apk add --no-cache openssl   && curl -s -o /usr/bin/dehydrated     "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated"   && chmod a+x /usr/bin/dehydrated
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:  ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:  ---> Running in 538faa4a9170
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[91m4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[91mWARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: Permission denied
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[91m4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 4155057040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[91mWARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: Permission denied
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[91mERROR: unable to select packages:
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:   openssl (no such package):
Nov 13 17:26:37 raspberrypi 076ad9822276[663]:     required by: world[openssl]
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: 
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: Removing intermediate container 538faa4a9170
Nov 13 17:26:37 raspberrypi 076ad9822276[663]: #033[0m
Nov 13 17:26:37 raspberrypi c6d789aa38b3[663]: #033[31m2021-11-13 18:26:37 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/423ea876_godaddy_dns/install - The command '/bin/ash -o pipefail -c apk add --no-cache openssl   && curl -s -o /usr/bin/dehydrated     "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated"   && chmod a+x /usr/bin/dehydrated' returned a non-zero code: 1#033[0m

Best Regards
Let me know

Can't install the plugin

Hi Michael,

Not sure it is something specific to my environment or some recent changes to Home Assistant - can't install the plugin. Errors in the log:

22-01-15 13:14:59 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/mrmichaelrb/hassio-addons repository
22-01-15 13:15:01 INFO (MainThread) [supervisor.store] Loading add-ons from store: 66 all - 2 new - 0 remove
22-01-15 13:15:01 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-01-15 13:15:01 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-01-15 13:15:17 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/423ea876_godaddy_dns
22-01-15 13:15:17 INFO (SyncWorker_1) [supervisor.docker.addon] Starting build for 423ea876/amd64-addon-godaddy_dns:1.0.3
22-01-15 13:15:23 ERROR (SyncWorker_1) [supervisor.docker.addon] Can't build 423ea876/amd64-addon-godaddy_dns:1.0.3: The command '/bin/ash -o pipefail -c apk add --no-cache openssl && curl -s -o /usr/bin/dehydrated "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated" && chmod a+x /usr/bin/dehydrated' returned a non-zero code: 1
22-01-15 13:15:23 ERROR (SyncWorker_1) [supervisor.docker.addon] Build log:
Step 1/12 : ARG BUILD_FROM
Step 2/12 : FROM $BUILD_FROM
---> bc9cabb4596e
Step 3/12 : ARG DEHYDRATED_VERSION
---> Running in 3a49357c511a
Removing intermediate container 3a49357c511a
---> caffde16250f
Step 4/12 : RUN apk add --no-cache openssl && curl -s -o /usr/bin/dehydrated "https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated" && chmod a+x /usr/bin/dehydrated
---> Running in 197e7cbc1313
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
140006463986504:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: Permission denied

140006463986504:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: Permission denied

ERROR:
unable to select packages:

openssl (no such package):
required by: world[openssl]
Removing intermediate container 197e7cbc1313

Wondering if you could give any clues to potential reason?

Cheers

Still in DEV?

Is the godaddy dns addon still in dev (will it ever be updated) because it seems like it no longer works. I have successfully use it in past and recently came back to it because nginx proxy (w/ letsencrypt) no longer works with godaddy. I am receiving api error. The key&secret are entered in addon config, I dont recall having to enter them in secrets file or creating acme challenge txt file for this addon. I am ust missing something or does this have the same issues as nginx proxy / godaddy?

{"code":"UNABLE_TO_AUTHENTICATE","message":"Unauthorized : Could not authenticate API key/secret"}

error running container

After configuring this addon i'm getting the following error in the logs:

s6-overlay-suexec: fatal: can only run as pid 1

unfortunately no other information currently

[Google DNS] entry is deleted, but not created

The add-on appears to successfully delete the A record (because it is missing in my cloud console), but then fails when executing the create request.

Subsequent attempts then fail the delete request because the record is already missing.

Screenshot_20221211-090931.png

Correct syntax format for more_lftp_settings.

Hello, the plugin seems to work, however I need active connection to my ftp server and I cannot figure out the correct syntax for more_lftp_settings: set ftp:passive-mode false;
A the moment the plugin either throws an error and when I changed the syntax in some forms, it ran, but without any success. I think that the problem is the mode of transfer as the plugin is able to create folders, but it doesn't upload any files and throws the max-retries exceeded error.
Any help is highly appreciated!
Thanks

Wildcard certificate request?

Hi,

I am trying to request a wildcard certificate (I need to cover two subdomains so multiple domains in the cert will work as well) if I just use * in hostname field, I am getting below error. Tried to find out if I can modify domains.txt but can't find it unfortunately. Any help appreciated.

[10:32:28] INFO: Renewing certificate for domain: *.mydomain.com

INFO: Using main config file /data/workdir/config

Processing *.mydomain.com
ERROR: Please define a valid alias for your *.mydomain.com wildcard-certificate. See domains.txt-documentation for more details.
[10:32:29] WARNING: Renewal failed for domain: *.mydomain.com

Unable to read private key file

s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun google_cloud_dns (no readiness notification)
s6-rc: info: service legacy-services successfully started
pkcs12: Can't open "/data/workdir/gcp.pem" for writing, No such file or directory
[15:43:07] FATAL: Unable to read private key file /config/google-ha-serviceacct.p12
[22:43:07] WARNING: Halt add-on
s6-rc: info: service legacy-services: stopping
[22:43:07] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

I've confirmed /config/google-ha-serviceacct.p12 exists via terminal.

Config:

lets_encrypt:
  accept_terms: false
  certfile: fullchain.pem
  keyfile: privkey.pem
  renewal_period: 5184000
  dns_delay: 60
project: [redacted]
zone: [redacted]
email: ha-letsencrypt@[redacted].iam.gserviceaccount.com
keyfile: google-ha-serviceacct.p12
keyfile_password: notasecret
domain: [redacted]
ttl: 600
scan_interval: 300

Recent versions of HASSIO cause error after installing "LFTP Mirror": s6-overlay-suexec: fatal: can only run as pid 1

Installing this addon results in error:
s6-overlay-suexec: fatal: can only run as pid 1

Updated everythign in Home Assistant to current versions as of 01-01-2023:
Home Assistant 2022.12.8
Supervisor 2022.12.1
Operating System 9.4
Frontend 20221213.1 - latest

Internet search found pages that talk about how this error was caused by a change the base images to use the new s6-Overlay V3 (https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images//)

Unfortunately, nothing I read helped me resolve this issue.

HASSIO is running in VMware ESXi 6.7 if it matters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.