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.

Updateting from 1.13.2 -> 1.14.1 does not work

See original GitHub issue

System Health details

Each time I try to update HACS it self, it waits for a long time and after som eminutes Im asked to reboot Home Assistant, but after rebooting, HACS is still not updated and ask me to update.

I have published the log for you and there is an unhandled exception.

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 have tried to update HACS from 1.13.2 to 1.14.1 using the but it does not work. After updating Im asked to rebot Home Assistant, but after rebooting, HACS is still not updated.

I have tried to update using ssh too and it fails too. billede

Reproduction steps

Debug logs

2021-08-27 09:26:14 DEBUG (MainThread) [queueman.manager] Starting queue execution for 1 tasks
2021-08-27 09:26:14 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:26:14 INFO (MainThread) [homeassistant.components.automation.map_fractal_media_to_hassio] Map Fractal Media to HassIO: Executing step call service
2021-08-27 09:26:17 DEBUG (SyncWorker_0) [pyeloverblik.eloverblik] Got short lived token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlblR5cGUiOiJDdXN0b21lckFQSV9EYXRhQWNjZXNzIiwidG9rZW5pZCI6IjE3ZWIzNGJiLTU3OWItNDEzMi04YTIyLTRjMGIzNjNiOGY2OSIsIndlYkFwcCI6WyJDdXN0b21lckFwaSIsIkN1c3RvbWVyQXBpIiwiQ3VzdG9tZXJBcHAiXSwianRpIjoiMTdlYjM0YmItNTc5Yi00MTMyLThhMjItNGMwYjM2M2I4ZjY5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZWlkZW50aWZpZXIiOiJQSUQ6OTIwOC0yMDAyLTItMzkyNjM3NTg5NDY1IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZ2l2ZW5uYW1lIjoiQ2hyaXN0aWFuIExpbmRlZ2FhcmQgSmVuc2VuIiwibG9naW5UeXBlIjoiS2V5Q2FyZCIsInBpZCI6IjkyMDgtMjAwMi0yLTM5MjYzNzU4OTQ2NSIsInR5cCI6IlBPQ0VTIiwidXNlcklkIjoiMTg3MDIiLCJleHAiOjE2MzAxMzU1NzcsImlzcyI6IkVuZXJnaW5ldCIsInRva2VuTmFtZSI6IkhBIiwiYXVkIjoiRW5lcmdpbmV0In0.xtHfPOb_KQoEb0aIBIB6TKMsQa9LzIbvtV4Rc_LGGeY
2021-08-27 09:26:23 WARNING (SyncWorker_0) [custom_components.eloverblik] Exception: <class 'requests.exceptions.ReadTimeout'>
2021-08-27 09:26:42 INFO (Dummy-9) [homeassistant.components.zwave] Z-Wave network is ready for use. All awake nodes have been queried. Sleeping nodes will be queried when they awake
2021-08-27 09:26:42 INFO (MainThread) [homeassistant.components.zwave] Z-Wave ready after 43 seconds
2021-08-27 09:26:42 INFO (SyncWorker_10) [homeassistant.components.zwave] Z-Wave polling interval set to 60000 ms
2021-08-27 09:27:14 INFO (MainThread) [backoff] Backing off async_download_file(...) for 0.9s (asyncio.exceptions.TimeoutError)
2021-08-27 09:27:15 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:28:15 INFO (MainThread) [backoff] Backing off async_download_file(...) for 0.5s (asyncio.exceptions.TimeoutError)
2021-08-27 09:28:15 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:29:15 INFO (MainThread) [backoff] Backing off async_download_file(...) for 3.2s (asyncio.exceptions.TimeoutError)
2021-08-27 09:29:18 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:30:00 INFO (Dummy-9) [homeassistant.components.zwave] Z-Wave network is complete. All nodes on the network have been queried
2021-08-27 09:30:03 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [139773369671008] Connection closed by client
2021-08-27 09:30:03 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 485, in start
    resp, reset = await task
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 440, in _handle_request
    reset = await self.finish_response(request, resp, start_time)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 591, in finish_response
    await prepare_meth(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_fileresponse.py", line 115, in prepare
    st = await loop.run_in_executor(None, filepath.stat)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/pathlib.py", line 1222, in stat
    return self._accessor.stat(self)
FileNotFoundError: [Errno 2] No such file or directory: '/config/custom_components/hacs/iconset.js'
2021-08-27 09:30:03 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 485, in start
    resp, reset = await task
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 440, in _handle_request
    reset = await self.finish_response(request, resp, start_time)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 591, in finish_response
    await prepare_meth(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_fileresponse.py", line 115, in prepare
    st = await loop.run_in_executor(None, filepath.stat)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/pathlib.py", line 1222, in stat
    return self._accessor.stat(self)
FileNotFoundError: [Errno 2] No such file or directory: '/config/custom_components/hacs/iconset.js'
2021-08-27 09:30:17 DEBUG (SyncWorker_11) [homeassistant.util.yaml.loader] Loading /config/secrets.yaml
2021-08-27 09:30:17 DEBUG (SyncWorker_11) [homeassistant.util.yaml.loader] Secret influxdb_password retrieved from secrets.yaml in folder /config
2021-08-27 09:30:17 DEBUG (SyncWorker_11) [homeassistant.util.yaml.loader] Secret zwave_network_key retrieved from secrets.yaml in folder /config
2021-08-27 09:30:17 DEBUG (SyncWorker_11) [homeassistant.util.yaml.loader] Secret sikkerthjem_code retrieved from secrets.yaml in folder /config
2021-08-27 09:30:18 INFO (MainThread) [backoff] Backing off async_download_file(...) for 6.0s (asyncio.exceptions.TimeoutError)
2021-08-27 09:30:24 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:30:25 DEBUG (MainThread) [custom_components.hacs] Running release_notes for hacs/integration
2021-08-27 09:30:25 DEBUG (MainThread) [custom_components.hacs] Saving data
2021-08-27 09:30:25 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.hacs'. Content did not change
2021-08-27 09:30:27 DEBUG (MainThread) [custom_components.hacs] Running install for hacs/integration
2021-08-27 09:30:27 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting repository information
2021-08-27 09:30:27 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 1.14.1
2021-08-27 09:30:28 INFO (MainThread) [custom_components.hacs] Running pre installation steps
2021-08-27 09:30:28 INFO (MainThread) [custom_components.hacs] Pre installation steps completed
2021-08-27 09:30:28 INFO (MainThread) [custom_components.hacs] Running installation steps
2021-08-27 09:30:28 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting repository information
2021-08-27 09:30:28 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 1.14.1
2021-08-27 09:30:29 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> ref: tags/1.14.1 ---  tag: 1.14.1.
2021-08-27 09:30:29 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> ref: tags/1.14.1 ---  tag: 1.14.0.
2021-08-27 09:30:29 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> ref: tags/1.14.1 ---  tag: 1.13.2.
2021-08-27 09:30:29 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> ref: tags/1.14.1 ---  tag: 1.13.1.
2021-08-27 09:30:29 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> ref: tags/1.14.1 ---  tag: 1.13.0.
2021-08-27 09:30:29 DEBUG (MainThread) [queueman.manager] Checking out tasks to execute
2021-08-27 09:30:29 DEBUG (MainThread) [queueman.manager] Starting queue execution for 1 tasks
2021-08-27 09:30:29 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:31:24 ERROR (MainThread) [backoff] Giving up async_download_file(...) after 5 tries (asyncio.exceptions.TimeoutError)
2021-08-27 09:31:24 DEBUG (MainThread) [queueman.manager] Queue execution finished for 1 tasks finished in 310.53 seconds
2021-08-27 09:31:24 ERROR (MainThread) [custom_components.hacs] Download was not completed
2021-08-27 09:31:24 DEBUG (SyncWorker_4) [custom_components.hacs] Restored /config/custom_components/hacs, from backup /tmp/hacs_backup/hacs
2021-08-27 09:31:24 DEBUG (SyncWorker_5) [custom_components.hacs] Backup dir /tmp/hacs_backup/ cleared
2021-08-27 09:31:24 INFO (MainThread) [custom_components.hacs] Installation steps completed
2021-08-27 09:31:24 INFO (MainThread) [custom_components.hacs] Running post installation steps
2021-08-27 09:31:24 INFO (MainThread) [custom_components.hacs] Post installation steps completed
2021-08-27 09:31:24 DEBUG (MainThread) [custom_components.hacs] Saving data
2021-08-27 09:31:24 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.hacs'. Content did not change
2021-08-27 09:31:29 INFO (MainThread) [backoff] Backing off async_download_file(...) for 0.3s (asyncio.exceptions.TimeoutError)
2021-08-27 09:31:30 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:32:30 INFO (MainThread) [backoff] Backing off async_download_file(...) for 1.8s (asyncio.exceptions.TimeoutError)
2021-08-27 09:32:31 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:33:31 INFO (MainThread) [backoff] Backing off async_download_file(...) for 2.8s (asyncio.exceptions.TimeoutError)
2021-08-27 09:33:34 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:34:34 INFO (MainThread) [backoff] Backing off async_download_file(...) for 6.4s (asyncio.exceptions.TimeoutError)
2021-08-27 09:34:41 DEBUG (MainThread) [custom_components.hacs] Downloading https://github.com/hacs/integration/releases/download/1.14.1/hacs.zip
2021-08-27 09:35:41 ERROR (MainThread) [backoff] Giving up async_download_file(...) after 5 tries (asyncio.exceptions.TimeoutError)
2021-08-27 09:35:41 DEBUG (MainThread) [queueman.manager] Queue execution finished for 1 tasks finished in 311.33 seconds
2021-08-27 09:35:41 ERROR (MainThread) [custom_components.hacs] Download was not completed
2021-08-27 09:35:41 ERROR (MainThread) [custom_components.hacs] Download was not completed
2021-08-27 09:35:41 INFO (MainThread) [custom_components.hacs] Installation steps completed
2021-08-27 09:35:41 INFO (MainThread) [custom_components.hacs] Running post installation steps
2021-08-27 09:35:41 INFO (MainThread) [custom_components.hacs] Post installation steps completed
2021-08-27 09:35:41 DEBUG (MainThread) [custom_components.hacs] Saving data
2021-08-27 09:35:41 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.hacs'. Content did not change
2021-08-27 09:35:41 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.repositories'. Content did not change
2021-08-27 09:36:00 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Rocologocommented, Aug 27, 2021

Thanks!!! disabling IPV6 in HA Supervisor solved the problem and HACS was updated immediately

1reaction
Rocologocommented, Aug 27, 2021

Yes I see this now.

I have not network issues, but yes I cant download the hacs.zip file from my HA computer. I will have to investigate this, but this is definitely not your problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug #18371: Images not loading correctly after ... - Foreman
I just did an RPM based upgrade from 1.13.2 to 1.14.1 and now I have some broken images/etc in the UI. I have...
Read more >
Istio Operator Error Loops · Issue #39599 - GitHub
Istio cluster itself is fine, ingressgateway and Istio proxy are updated, but Istio Operator keep looping error and usage memory keep increased.
Read more >
Minecraft doesn't work on iOS after update to 1.13.0
Go to Settings > iPhone/iPad Storage -> Find Minecraft and click it. Select Offload App and let it offload the app and all...
Read more >
Upgrading Specific Versions | Consul - HashiCorp Developer
If you operate Consul service mesh using Nomad 1.4.2 or earlier, do not upgrade to Consul 1.14 ... If upgrading to version 1.13.2...
Read more >
Universal - ViaVersion | Page 199 - High Performance Minecraft
the 1.14.2 does not work with version 2.1.1 - base version is spigot 1.8.8 ... trying to update my 1.13.2 server to 1.14.2, ......
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