Integration: Onboarding process of HACS is back after every restart of HA

Created on 1 Apr 2020  路  22Comments  路  Source: hacs/integration

Version of HACS

Integration version: | 0.23.2
Frontend version: | 20200309184730
Repositories: | 470

Describe the bug

image

Since the last (or maybe the last before that) update of HACS and HA (i normally update to new versions of HA when they arrive, the onboarding screens of HACS keep appearing after every restart of HA (whether it is a complete restart of my RPi or just HA).

I run the latest version of HassOS and Supervisor (as well as HA 0.107.7), as screenshot below:
image

Debug log


Logs
```

All 22 comments

Make sure you have read the issue guidelines and that you filled out the entire template.

2020-04-01 13:19:58 DEBUG (MainThread) [hacs.data] Saving data
That one should store the state.
Can you upload all the files under .storage that has hacs in the name?

Note that after this restart I have not walked through the onboarding yet.

I guess that this parameter in hacs.hacs file:

{
"data": {
"compact": false,
"onboarding_done": false,
"view": "Grid"
},
"key": "hacs.hacs",
"version": "6"
}

Should change to true when done. I Guess it did麓nt before.

All the files looks correct, and it can write to them.
Can you do the onboarding now with debug active, and upload browser console logs + HA logs when you are done?

You have HACS defined both with YAML, and in the UI, remove the YAML configuration for HACS.

Ok, so just comment my hacs: line with token out in configuration.yaml and restart?

yes

It still loads from YAML:
2020-04-01 22:09:52 DEBUG (MainThread) [hacs] Configuration type: yaml
And UI:
2020-04-01 22:09:58 DEBUG (MainThread) [hacs] Configuration type: flow

Ok. I was also trying to set up from UI, but i can麓t set the token there. Will check yaml file again. Thanks for replying so quickly.

Only found the log entry for hacs, and my mistake, the menu item is not called HACS anymore. Forgot that. Community item is where it should be. Removing the log entry and restarting again.

Somehow this worked. Onbording value still true. However, i commented the debug log entry for hacs, so I can麓t verify the logs, will uncomment and confirm.

Yep, only one line for configuration type in the logs:

2020-04-01 22:09:58 DEBUG (MainThread) [hacs] Configuration type: flow

Thanks Joakim!

And I guess now that you only have one, it works as it should?

Correct. It works as it should. Thanks. Did you see my DM?

The email?
if so yes, I was in bed when I got that, but I _think_ this would do:
image

The files are still on github servers somewhere (probably), but that is out of my controll

Well, unfortunately I don麓t think so. If I already have the link, the file is still accessible, at least yesterday evening after you deleted the comments. I saw an old issue on github that attachments remained even if the comment was deleted. Didn麓t find a solution.

Only github staff can do anything then I guess, try reaching out to them

Are you in control of the Discord server as well?

Yes, I have a support ticket, but no progress yet.

Update on the support ticket, they have deleted the files. Puh :-) I麓m satisfied, if you want to close the issue it麓s fine with me @ludeeus .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noxhirsch picture noxhirsch  路  6Comments

JuanMTech picture JuanMTech  路  5Comments

jojoro1 picture jojoro1  路  10Comments

emics picture emics  路  8Comments

JPM-git picture JPM-git  路  8Comments