Hi all,
Today my https certificate expired
(I check automatically the status of the certificate with crontab command:
“0 1 * * * /home/homeassistant/dehydrated/dehydrated -c | tee /home/homeassistant/dehydrated/update.log”)
This is the log:
# INFO: Using main config file /home/homeassistant/dehydrated/config
Unknown hook this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script
Processing MYDNS.duckdns.org
Unknown hook this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Mar 28 12:21:26 2021 GMT (Less than 30 days). Renewing!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 1 authorizations URLs from the CA
+ Handling authorization for MYDNS.duckdns.org
+ 1 pending challenge(s)
+ Deploying challenge tokens...
OK
+ Responding to challenge for MYDNS.duckdns.org authorization...
Unknown hook invalid_challenge
+ Cleaning challenge tokens...
OK
+ Challenge validation has failed :(
So I tried to renew the certificate writing:
/home/homeassistant/dehydrated/dehydrated -c
Now I see:
Unknown hook this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Jun 26 12:24:21 2021 GMT (Longer than 30 days). Skipping renew!
So I suppose that the certificate is ok… I rebooted raspebrry but now I can’t reach the webpage of HA…
I tried:
https://mydomain.duckdns.org:8123 and https://mylocalip:8123
but nothing…
On the duckdns webpage I see the correct IP upadated and if I try:
sudo systemctl status home-assistant@homeassistant
I see:
[email protected] - Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-03-28 15:56:04 CEST; 16min ago
Main PID: 1300 (hass)
Tasks: 11 (limit: 2063)
CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
└─1300 /srv/homeassistant/bin/python3.8 /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook, alexa
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: auth, http, person
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, config, http, onboa
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend, cloud
mar 28 15:56:24 raspberrypiHA hass[1300]: 2021-03-28 15:56:24 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: Could not set up all dependencies.
Could anyone helpme… I have the home completely offline…