question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get HACS working

See original GitHub issue

System Health details

System Health

version core-2022.2.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.91
arch x86_64
timezone Europe/Amsterdam
Home Assistant Cloud
logged_in true
subscription_expiration February 20, 2022, 1:00 AM
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server eu-west-2-2.ui.nabu.casa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 7.2
update_channel stable
supervisor_version supervisor-2022.01.1
docker_version 20.10.9
disk_total 30.8 GB
disk_used 11.0 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons ESPHome (2022.1.3), Check Home Assistant configuration (3.9.0), Mosquitto broker (6.0.1), Studio Code Server (4.1.0), Node-RED (10.4.0), Terminal & SSH (9.3.0), Grafana (7.4.1), SSH & Web Terminal (10.0.2), Home Assistant Google Drive Backup (0.105.2), Portainer (2.0.0), Frigate NVR (2.3)
Lovelace
dashboards 5
resources 0
views 3
mode storage

Checklist

  • I’m running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/issues
  • This issue is related to the backend (integration part) of HACS.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue

I had HACS running but never did anything with it so far. Now I’m following documentation that tells me to go into HACS. I went in there, saw a message saying I needed to update it and ran the update. At the end, it told me to reboot Home Assistant, which I did. Now HACS is gone.

I tried reinstalling, but that doesn’t seem to work either.

~ $ wget -O - https://get.hacs.xyz | bash -
--2022-02-06 21:32:15--  https://get.hacs.xyz/
Resolving get.hacs.xyz (get.hacs.xyz)... 188.114.96.0, 188.114.97.0, 2a06:98c1:3121::, ...
Connecting to get.hacs.xyz (get.hacs.xyz)|188.114.96.0|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/hacs/get/main/get [following]
--2022-02-06 21:32:16--  https://raw.githubusercontent.com/hacs/get/main/get
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2473 (2.4K) [text/plain]
Saving to: 'STDOUT'

-                       100%[============================>]   2.42K  --.-KB/s    in 0s      

2022-02-06 21:32:16 (15.9 MB/s) - written to stdout [2473/2473]

INFO: Trying to find the correct directory...
INFO: Found Home Assistant configuration directory at '/root/config'
INFO: Changing to the custom_components directory...
INFO: Downloading HACS
--2022-02-06 21:32:16--  https://github.com/hacs/integration/releases/latest/download/hacs.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/hacs/integration/releases/download/1.22.0/hacs.zip [following]
--2022-02-06 21:32:16--  https://github.com/hacs/integration/releases/download/1.22.0/hacs.zip
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/172733314/39c6b5cc-6d04-4c0c-b991-5233e7743f45?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220206T203031Z&X-Amz-Expires=300&X-Amz-Signature=42e62042054399261baea2acdcdf6611c67dc7c2dee0956aeaaeb890cc55ffa5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=172733314&response-content-disposition=attachment%3B%20filename%3Dhacs.zip&response-content-type=application%2Foctet-stream [following]
--2022-02-06 21:32:16--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/172733314/39c6b5cc-6d04-4c0c-b991-5233e7743f45?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220206T203031Z&X-Amz-Expires=300&X-Amz-Signature=42e62042054399261baea2acdcdf6611c67dc7c2dee0956aeaaeb890cc55ffa5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=172733314&response-content-disposition=attachment%3B%20filename%3Dhacs.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 935552 (914K) [application/octet-stream]
Saving to: 'hacs.zip'

hacs.zip                100%[============================>] 913.62K  --.-KB/s    in 0.06s   

2022-02-06 21:32:16 (15.7 MB/s) - 'hacs.zip' saved [935552/935552]

WARN: HACS directory already exist, cleaning up...
INFO: Creating HACS directory...
INFO: Unpacking HACS...
INFO: Removing HACS zip file...
INFO: Installation complete.

INFO: Remember to restart Home Assistant before you configure it

After rebooting, it doesn’t load.

Reproduction steps

  1. Install hacs according to website link
  2. reboot
  3. it’s not loading …

Debug logs

2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret telegram_api_key retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret telegram_chat_id retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret telegram_chat_id retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret camera_backyard retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret camera_front_left retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 DEBUG (SyncWorker_0) [homeassistant.util.yaml.loader] Secret camera_front_right retrieved from secrets.yaml in folder /config
2022-02-06 21:33:33 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-02-06 21:33:45 ERROR (MainThread) [homeassistant.components.image_processing] Error while setting up doods platform for image_processing
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd9642cde20>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='172.17.0.3', port=8080): Max retries exceeded with url: /detectors (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd9642cde20>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/doods/image_processing.py", line 96, in setup_platform
doods = PyDOODS(url, auth_key, timeout)
File "/usr/local/lib/python3.9/site-packages/pydoods/__init__.py", line 13, in __init__
self.get_detectors()
File "/usr/local/lib/python3.9/site-packages/pydoods/__init__.py", line 20, in get_detectors
response = requests.get(self.url + "/detectors", **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='172.17.0.3', port=8080): Max retries exceeded with url: /detectors (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd9642cde20>: Failed to establish a new connection: [Errno 113] Host is unreachable'))


### Diagnostics dump

I can't get it working so hacs logs don't work as the integration won't load

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ludeeuscommented, Feb 6, 2022

Okey, then good luck 👍

0reactions
ludeeuscommented, Feb 8, 2022

Maybe you also have a broken custom components directory. See https://github.com/hacs/integration/issues/2498

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hacs not showing up in integrations list - Configuration
I am working on a new install, new PI with image created from ... No Hacs intergration whatever I do, I can't get...
Read more >
Issues - HACS
Issues. First lets start out by stating that ALL issues should be reported here. What should be in the issue? When you create...
Read more >
Install HACS 2022 (Home Assistant How To) - YouTube
Your browser can't play this video. ... URL for HACS wget -O - https:// get. hacs.xyz | bash - (Use Ctrl+Shift+V) ▭ VIDEO...
Read more >
Home Assistant | My Hacs is not working anymore - Facebook
hello to all! I need help with local tuya integration. I have HA to IP range 192.168.1.xxx and the devices in 192.168.86.xx Ip...
Read more >
How to install & use Home Assistant Community Store (HACS)
Working Home Assistant (you can check this tutorial of mine if you still ... That doesn't mean it is not tested at all,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found