Just did a new install of hass on new hardware to move from my venv environment. So far it’s been quite frustrating compared to venv as things just don’t work right. Right now, I am just stuck trying to get add-ons to show up. Started out 2021.4.0 and at first they all showed up - both official and others (unsure what they are called as they are just gone now). Was trying to get 2021.4.6 to show up and had issues but finally got it to pull down 2021.4.5 after a few reboots.
That’s when ALL updates disappeared. So I proceeded to try and grab 2021.4.6 again to see if that would resolve. Again a few reboots later and I was able to get it to pull it and install. That’s when the official add-ons showed back up.
But that’s it, I can’t get any other add-ons to show up. Tried setting a static IP with static DNS of 1.1.1.1 and 8.8.8.8 as some suggested, no luck. So dropped into command line and 1st thing I notive is I can’t ping github.com. Can’t ping google. Can ping and IP address. Can nsllookup on github.com. Can’t nslookup on any IP.
So this appears to be some DNS issue within the container. Is there any what to resolve this, I can’t imaging my install is at all unique and others have to have this issue.
Logs:
21-04-21 16:59:58 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/home-assistant/addons repo: Cmd('git') failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com'.
21-04-21 16:59:58 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.CORRUPT_REPOSITORY - ContextType.STORE / core
21-04-21 16:59:58 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_RESET - ContextType.STORE / core
21-04-21 16:59:58 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-744' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:105> exception=StoreGitError()>
Traceback (most recent call last):