Cannot access HACS after update to 0.20.6 (blank page)
mmatesic01 opened this issue · 9 comments
Version of HACS
0.20.6
Describe the bug
A clear and concise description of what the bug is.
Upgraded from 0.20.4 to 0.20.6
I cannot access anymore even when downgrading to lower version. Clicking on the "C" icon I see only blank white field. I did the successful integration (again) in HA, but I have the same result.
Debug log
https://xxxxxxxxxxxxx.duckdns.org/hacs_frontend/20200104130551.js:1:1 Uncaught SyntaxError: Identifier 'config' has already been declared
Add your logs here.
Make sure you have read the issue guidelines and that you filled out the entire template.
clear your cache
Make sure you have read the issue guidelines and that you filled out the entire template.
Hi, clearing cache on browser did not help.
I still get the error.
"http://192.168.XXX.XXX:8123/hacs_frontend/20200104130551.js:1:1 Uncaught SyntaxError: Identifier 'config' has already been declared"
I tried on several devices, table,PC, phone...every time is the same.
Shorter log with 0.20.6 below. It looks fine, but still I cannot see the HACS interface.
Maybe the integration into HA is not OK. Although I have made a new GitHub token and proces looked of integration initialization looked fine.
Version: 0.20.6
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------
2020-01-04 19:53:48 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Checking repository.
2020-01-04 19:53:51 INFO (MainThread) [hacs.repository.integration.hacs.integration] Registration complete
2020-01-04 19:53:52 INFO (MainThread) [hacs.data] Restore started
2020-01-04 19:53:52 INFO (MainThread) [hacs.data] Restore done
2020-01-04 19:53:58 DEBUG (MainThread) [hacs] 4328
2020-01-04 19:53:58 DEBUG (MainThread) [hacs] 2020-01-04 19:30:16
2020-01-04 19:53:58 INFO (MainThread) [hacs] Loading known repositories
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.factory] No tasks to execute
2020-01-04 19:54:07 DEBUG (MainThread) [hacs] Starting recuring background task for installed repositories
2020-01-04 19:54:07 DEBUG (MainThread) [hacs] 4315
2020-01-04 19:54:07 DEBUG (MainThread) [hacs] 2020-01-04 19:30:16
2020-01-04 19:54:07 INFO (MainThread) [hacs.factory] Processing 12 tasks
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.integration.RobHofmann.HomeAssistant-GreeClimateComponent] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.custom-cards.dual-gauge-card] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-media-player] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-graph-card] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.ljmerza.light-entity-card] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.benct.lovelace-multiple-entity-row] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.benct.lovelace-xiaomi-vacuum-card] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.maykar.lovelace-swipe-navigation] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.bramkragten.weather-card] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.theme.seangreen2.slate_theme] Getting repository information
2020-01-04 19:54:07 DEBUG (MainThread) [hacs.repository.plugin.maykar.custom-header] Getting repository information
2020-01-04 19:54:17 INFO (MainThread) [hacs.factory] Task processing of 12 tasks completed in 11 seconds
2020-01-04 19:54:18 DEBUG (MainThread) [hacs.data] Saving data
2020-01-04 19:54:18 DEBUG (MainThread) [hacs] Recuring background task for installed repositories done
2020-01-04 19:54:18 DEBUG (MainThread) [hacs.data] Saving data
2020-01-04 19:54:56 ERROR (MainThread) [frontend.js.latest.201912041] https://xxxxxxxx.duckdns.org/hacs_frontend/20200104130551.js:1:1 Uncaught SyntaxError: Identifier 'config' has already been declared
You have issues in the frontend, those logs are for the backend.
Since I do not see it, it must be an issue with other things you are loading (custom modules/custom cards).
config
is not even a top definition in the HACS frontend.
if you are not doing anything with extra_module_url
a clear of the cache should solve it.
Can you try to change the hacs_frontend
version to 20200104192235
in the manifest.json
file (custom_components/hacs/manifest.json
) and then restart Home Assistant to see if that helps?
When Home Assistant is restarted clear your cache, and make sure it says Frontend version: 20200104192235
under "About"
Changing to 20200104192235 and restarting HA solved the issue. Thank you.
cool