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.

Installed Components Not Listed After HA Restart

See original GitHub issue

Version of HACS

0.15.10

Describe the bug

Installed components don’t appear to be saved. Following an HA restart, all installed components, excluding HACS itself, vanish in the Overview tab.

Content of the hacs.installed file is this both before and after components are installed:

{
    "data": {},
    "schema": "5"
}

Debug log

2019-10-22 06:51:23 DEBUG (MainThread) [hacs.http] Endpoint (store) called
2019-10-22 06:51:27 INFO (MainThread) [engineio.client] Sending packet PING data None
2019-10-22 06:51:27 INFO (MainThread) [engineio.client] Received packet PONG data None
2019-10-22 06:51:49 DEBUG (MainThread) [hacs.http] Endpoint (repository) called
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 4]
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:51 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 4]
2019-10-22 06:51:52 INFO (MainThread) [engineio.client] Sending packet PING data None
2019-10-22 06:51:53 INFO (MainThread) [engineio.client] Received packet PONG data None
2019-10-22 06:51:53 DEBUG (MainThread) [hacs.api] Endpoint (repository_install) called
2019-10-22 06:51:55 DEBUG (MainThread) [hacs.repository.plugin.nervetattoo.simple-thermostat] Downloading simple-thermostat.js
2019-10-22 06:51:55 DEBUG (MainThread) [hacs.download.downloader] Donwloading https://github.com/nervetattoo/simple-thermostat/releases/download/0.28.0/simple-thermostat.js
2019-10-22 06:51:55 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data updated","2-f4019b556f8f10bb6412f5dade628923"]
2019-10-22 06:51:55 INFO (MainThread) [socketio.client] Received event "device-data updated" [/]
2019-10-22 06:51:55 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data removed",[{"ok":true,"id":"b4e44d1e060045b2e28fe30fc282a5b1","rev":"2-b2ddac052a23dafa25237e480c749e58"}]]
2019-10-22 06:51:55 INFO (MainThread) [socketio.client] Received event "device-data removed" [/]
2019-10-22 06:51:56 INFO (MainThread) [engineio.client] Received packet MESSAGE data 2["device-data removed",{"cache-control":"must-revalidate","connection":"close","content-type":"application/json","date":"Tue, 22 Oct 2019 12:51:54 GMT","x-cloudant-action":"cloudantnosqldb.data-document.write","x-cloudant-cost-write":"1","x-couch-request-id":"562df8a11f","x-frame-options":"DENY","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-cloudant-request-class":"write","x-cloudant-backend":"bm-cc-us-south-20","via":"1.1 lb1.bm-cc-us-south-20 (Glum/1.82.3)","statusCode":201,"uri":"https://78a8cc5e-04af-4d62-9a35-0a08d6e56224-bluemix:b9773c947dee3c33b981fcb9a009d2f66bb3119a4df34e3236ddfeed65c9a544@78a8cc5e-04af-4d62-9a35-0a08d6e56224-bluemix.cloudant.com/ambient-prod-2/_bulk_docs"}]
2019-10-22 06:51:56 INFO (MainThread) [socketio.client] Received event "device-data removed" [/]
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.download.save] Saving /config/www/community/simple-thermostat/simple-thermostat.js
2019-10-22 06:51:58 INFO (MainThread) [hacs.repository.plugin.nervetattoo.simple-thermostat] download of simple-thermostat.js complete
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Saving data
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.hacs, created in /tmp/hacs_backup/hacs.hacs
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup for /config/.storage/hacs.installed, created in /tmp/hacs_backup/hacs.installed
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Save failed!
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.data] Number of installed repositories does not match the number of stored repositories [1 vs 5]
2019-10-22 06:51:58 DEBUG (MainThread) [hacs.http] Endpoint (repository) called
2019-10-22 06:52:02 DEBUG (MainThread) [hacs.http] Endpoint (overview) called

Before: hacs

After: hacs1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ludeeuscommented, Oct 22, 2019

That issue should be gone in the new (experimental) UI.

1reaction
garyakcommented, Oct 22, 2019

Updated to 0.15.11. Elements now remain on the overview tab. Background taskbar is a bit sticky on Firefox. I know, I know, different issue 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS installed components not loading after update
Hi everybody,. I did not update HA for quite a while. Now I did, as well as all plugins, components and so on....
Read more >
Getting an "integration not found"-error on HA 0.111.4 ... - GitHub
Now I've read that another user who had this error when installing a costum component solved it by "restarting the service via the...
Read more >
Error: "vSphere HA agent cannot be correctly installed or ...
When ESXi host cannot install or configure to join the vSphere HA agent, VMs may not vMotion to it or may not restart...
Read more >
Install using the command line - Citrix Product Documentation
Prevents a restart after installation. (For most core components, a restart is not enabled by default.) /noresume.
Read more >
Troubleshoot Tableau Server on Linux
This will shut down any processes that are running, and restart Tableau Server. Cannot start Tableau Server after installation. Tableau Server might not...
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