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.

Fresh Install, Previously Working GitHub Key "Please check your config."

See original GitHub issue

Version of HACS

I downloaded the latest version of HACS as indicated by the installation instructions.

Describe the bug

So basically, the GitHub key worked on an old install of HA (same version 0.95.4, different OS). Now it is not working, I put followed the instructions the same as I did before when it worked. I do see a few errors, and in the notifications I see the following:

The following components and platforms could not be set up:

hacs
Please check your config.

Debug log

2019-07-09 08:47:43 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.140236765327256] Sending {'id': 19, 'type': 'result', 'success': True, 'result': [{'notification_id': 'invalid_config', 'message': 'The following components and platforms could not be set up:\n\n - [hacs](https://home-assistant.io/components/hacs/)\n\nPlease check your config.', 'status': 'unread', 'title': 'Invalid config', 'created_at': datetime.datetime(2019, 7, 9, 12, 47, 35, 353526, tzinfo=<UTC>)}]}

2019-07-09 08:47:45 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.140236764725488] Sending {'id': 5, 'type': 'result', 'success': True, 'result': None}
2019-07-09 08:47:45 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.140236764725488] Sending {'id': 6, 'type': 'result', 'success': True, 'result': [<state sun.sun=above_horizon; next_dawn=2019-07-10T09:07:38+00:00, next_dusk=2019-07-10T01:00:08+00:00, next_midnight=2019-07-10T05:03:46+00:00, next_noon=2019-07-09T17:03:32+00:00, next_rising=2019-07-10T09:39:30+00:00, next_setting=2019-07-10T00:28:12+00:00, elevation=33.66, azimuth=87.56, rising=True, friendly_name=Sun @ 2019-07-09T08:47:35.043540-04:00>, <state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:

 - [hacs](https://home-assistant.io/components/hacs/)

Please check your config. @ 2019-07-09T08:47:35.349991-04:00>

2019-07-09 08:48:52 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: No setup function defined.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
danner26commented, Jul 9, 2019

Interesting, not sure what happened there, but the init file only contained something like project init file. I just removed the whole hacs directory, pulled down the latest per the documentation, and it worked perfectly. Thanks for the help.

1reaction
danner26commented, Jul 9, 2019

Interesting, not sure what happened there, but the init file only contained something like project init file. I just removed the whole hacs directory, pulled down the latest per the documentation, and it worked perfectly. Thanks for the help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a new SSH key to your GitHub account
To configure your account on GitHub.com to use your new (or existing) SSH key, ... For more information, see "Checking for existing SSH...
Read more >
Why doesn't my SSH key work for connecting to github?
First, double check that your git ssh connection is working: ssh -T git@github.com · If the remotes indicate https at the beginning, then...
Read more >
[2022] How to Set Up your SSH key for GitHub on Windows 10
Step 1 — Installing Git. Open any terminal and check if you already have Git installed by typing: git --version. If you are...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
To contribute to the WSL docs, see the Microsoft Docs contributor guide ... where new content is saved Picture of system settings to...
Read more >
10 Set up keys for SSH - Happy Git and GitHub for the useR
It's best practice to protect your private key with a passphrase. This can make setup and usage harder, so if you're not up...
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