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.

missing all addons on addons store supervisor

See original GitHub issue

Describe the issue you are experiencing

Hi! Long story short: All the addons from the official store disappeared without any clear explanation. I’ve installed 5.11 a couple of weeks ago and everything was running fine (i’ve managed to install 3 addons and some integration), but one day the official addons were missing. I’ve tried to upgrade to 5.12 but nothing has changed.

Some other info: I’ve installed the 5.12 on the same nuc a lot of times trying to understand if was some wrong configuration by my side (debian and ubuntu, using kvm and virtual box). At the end i moved to win10 and vmware, and tried the last for version of ha os. With the 5.12 the issue was always the same, but with 5.11-10-9 the add-ons were working.

What is the used version of the Supervisor?

supervisor-2021.03.6

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Home Assistant Operating System

What is the version of your installed operating system?

5.12

What version of Home Assistant Core is installed?

core-2021.3.4

Steps to reproduce the issue

  1. open the addons panel in supervisor

Anything in the Supervisor logs that might be useful for us?

File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 100, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/store/git.py", line 195, in pull
    raise StoreGitError() from err
supervisor.exceptions.StoreGitError
21-03-28 09:09:45 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/addons /data/addons/core
  stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
'.
21-03-28 09:09:45 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-28 10:09:45 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/addons /data/addons/core
  stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
'.
21-03-28 10:09:45 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-28 11:09:45 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/addons /data/addons/core
  stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
'.
21-03-28 11:09:45 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-28 12:09:44 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/home-assistant/addons repo: Reference at 'HEAD' does not exist.
21-03-28 12:09:44 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-25926' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:105> exception=StoreGitError()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/git.py", line 152, in pull
    branch = self.repo.active_branch.name
  File "/usr/local/lib/python3.8/site-packages/git/repo/base.py", line 718, in active_branch
    return self.head.reference
  File "/usr/local/lib/python3.8/site-packages/git/refs/symbolic.py", line 270, in _get_reference
    sha, target_ref_path = self._get_ref_info(self.repo, self.path)
  File "/usr/local/lib/python3.8/site-packages/git/refs/symbolic.py", line 181, in _get_ref_info
    return cls._get_ref_info_helper(repo, ref_path)
  File "/usr/local/lib/python3.8/site-packages/git/refs/symbolic.py", line 164, in _get_ref_info_helper
    raise ValueError("Reference at %r does not exist" % ref_path)
ValueError: Reference at 'HEAD' does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/repository.py", line 109, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 102, in wrapper
    raise err
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 100, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/store/git.py", line 195, in pull
    raise StoreGitError() from err
supervisor.exceptions.StoreGitError
21-03-28 12:09:45 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/addons /data/addons/core
  stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
'.
21-03-28 12:09:45 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:47

github_iconTop GitHub Comments

2reactions
NLVMikecommented, May 3, 2021

It you have an eero router you need to disable ‘advanced security’ under discover —> eero secure

Nope. First of all, I already have eero secure advanced security disabled.

Secondly, I have a third instance of HomeAssistant (one that’s been slowly upgraded over the past year, as updates have come out) that is COMPLETELY UNAFFECTED by this issue. The repositories work great on that machine.

The two machines I’ve tried to setup since then, though, are totally broken with respect to the supervisor being able to manage addons. The only way to get any addon even installed is to take a snapshot from a working machine, and restore it to the newer machines.

To reiterate, this is NOT a problem with the eero. I have three instances of HA that I’m working with. The first, oldest one is a bit messy, but addons show up properly. Because it’s otherwise kind of chaotic, my thought was to start fresh with a new VM, but neither a HASSOS machine nor a Supervised Debian 10 64 bit installation are able to do anything with addons. They are all three on the same network.

1reaction
stemsmitcommented, Jun 3, 2021

I opened a bash instance in the hassio_supervisor docker container and I can ping google.com and facebook.com but I cannot ping github.com(I get the output “bad address”) which seems a bit selective. Looking into this a bit more it seems like this could be related to alpinelinux/docker-alpine#155 which could be the potential cause since it appears the supervisor uses alpine 3.13.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add-on icons are gone and also add-on store is no longer ...
The icons have gone because the addon does not exist in your addon store anymore. So… 1 - Supervisor-> Addons
Read more >
Add-ons missing from supervisor add-on store : r/homeassistant
Hi I have an odd issue with my home assistant. Normally when I go into the addons menu and add-on store there was...
Read more >
Are your Home Assistant Community add-ons missing?
Use the following URL to add this repository:https://github.com/hassio- addons /repository.
Read more >
Home Assistant Community Add-ons
Home Assistant allows anyone to create add-on repositories to share their add-ons for Home Assistant easily. This repository is one of those repositories, ......
Read more >
How To Update Addons in Dragonflight Pre-Patch ... - Wowhead
Unfortunately, there's not a one-stop shop for Addon Managers, ... If you're looking for an Addon Manager to update or install all things ......
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