home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.75k stars 639 forks source link

missing all addons on addons store supervisor #2774

Closed davrte closed 3 years ago

davrte commented 3 years ago

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!
InvertedMinor commented 3 years ago

Same error here

21-04-01 07:32:20 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/ repository 21-04-01 07:32:21 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/ repository: Cmd('git') failed due to: exit code(128) cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/ /data/addons/git/9fd24f60 stderr: 'Cloning into '/data/addons/git/9fd24f60'... remote: Not Found fatal: repository 'https://github.com/hassio-addons/' not found '.

gurreri commented 3 years ago

hi too problem myself i don't see any add-ons. what can be solved?

gurreri commented 3 years ago

I have installed version 5.12 both 64 and 32 bit on raspeberry and I have the same problem. help

tanobcc commented 3 years ago

I have the same problem :-( no official add-ons (Home Assistant OS 5.12 64bit on Raspberry pi 4)

davrte commented 3 years ago

any news?

gurreri commented 3 years ago

oggi aveva per un po funzionato caricandoli pensavo fosse a posto invece riprovando ora non carica nessun add ons nenache ufficiale

julisa99 commented 3 years ago

I have the same issue. A few days ago I installed the "Home Assistant Operating System" and I have not been able to see any add-ons in the store.

21-03-29 05:03:49 ERROR (MainThread) [supervisor.store.git] Can't clone http://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128) cmdline: git clone --depth=1 --recursive --shallow-submodules -v http://github.com/hassio-addons/repository /data/addons/git/e399101c stderr: 'Cloning into '/data/addons/git/e399101c'... fatal: unable to access 'http://github.com/hassio-addons/repository/': Could not resolve host: github.com '.

21-03-29 05:45:26 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!

Versions I used:

core-2021.3.4
supervisor-2021.03.6 + supervisor-2021.03.8
Home Assistant OS 5.12
gurreri commented 3 years ago

ciao ho medesimo problema, non si vede nulla nello store

gurreri commented 3 years ago

non capisco se problema dipende sa hassio supervisor oppure dal router per qualche porta da aprire. cercando in internet non trovo nulla per risolvere il problema

davrte commented 3 years ago

Please, coul somebody help us?

davrte commented 3 years ago

a lot of users are facing the same issue...

davrte commented 3 years ago

@pvizeli do you have any idea on how to fix this issue?

bhaggs commented 3 years ago

Simply chiming in to say +1 to this issue. Began after upgrading from 5.10 to 5.11 running on rpi 4b. Running 5.13 and 2021.4.4 now with the same issue.

ljohnso16 commented 3 years ago

i reinstalled with 64bit vs 32bit and connected over wifi i was able to get the addons

On Thu, Apr 15, 2021 at 2:13 PM Bryan Haggerty @.***> wrote:

Simply chiming in to say +1 to this issue. Began after upgrading from 5.10 to 5.11 running on rpi 4b. Running 5.13 and 2021.4.4 now with the same issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/home-assistant/supervisor/issues/2774#issuecomment-820735216, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHQDPJJOPZCVBIBFDPHEDTTI5JI7ANCNFSM42E7VFOQ .

davrte commented 3 years ago

i reinstalled with 64bit vs 32bit and connected over wifi i was able to get the addons On Thu, Apr 15, 2021 at 2:13 PM Bryan Haggerty @.***> wrote: Simply chiming in to say +1 to this issue. Began after upgrading from 5.10 to 5.11 running on rpi 4b. Running 5.13 and 2021.4.4 now with the same issue. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2774 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHQDPJJOPZCVBIBFDPHEDTTI5JI7ANCNFSM42E7VFOQ .

What do you mean with 64bit vs 32?

tanobcc commented 3 years ago

Simply chiming in to say +1 to this issue. Began after upgrading from 5.10 to 5.11 running on rpi 4b. Running 5.13 and 2021.4.4 now with the same issue.

I confirm what has been said ... with version 5.10 no problem (with 5.12 and 5.13 the addons are not visible)

ljohnso16 commented 3 years ago

when i go to https://www.home-assistant.io/installation/raspberrypi scroll down and selected 64-bit instead of 32-bit https://imgur.com/GijqX2h

davrte commented 3 years ago

when i go to https://www.home-assistant.io/installation/raspberrypi scroll down and selected 64-bit instead of 32-bit https://imgur.com/GijqX2h

ok! currently i'm using the linux one (https://www.home-assistant.io/installation/linux) on wmware with a win10 host

NLVMike commented 3 years ago

same issue here, fresh installs of both the Home Assistant OS, and Supervised running on Debian 10 (all 64 bit, all running as vm's on ESXi 6.7) All experiencing the exact same issue. This has been reported for months, and largely ignored -- to the point where I'm about ready to give up entirely on running any addins at all on HomeAssistant. And let's try to keep the "learn linux, you noob!" comments out of this thread this time, please? I'm seeing the exact same errors as everyone else:

21-04-30 18:19:03 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-04-30 18:19:03 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository 21-04-30 18:19:08 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128) cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/repository /data/addons/git/a0d7b954 stderr: 'Cloning into '/data/addons/git/a0d7b954'... fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com '. 21-04-30 18:19:08 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / a0d7b954 21-04-30 18:19:08 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / a0d7b954 21-04-30 18:19:08 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/hassio-addons/repository 21-04-30 18:19:08 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-04-30 18:19:08 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core 21-04-30 18:19:08 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core 21-04-30 18:19:08 ERROR (MainThread) [supervisor.store] Can't load data from repository core 21-04-30 18:19:08 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove 21-04-30 18:19:08 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons 21-04-30 18:19:08 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files 21-04-30 18:19:08 INFO (MainThread) [supervisor.discovery] Loaded 0 messages 21-04-30 18:19:08 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions 21-04-30 18:19:08 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP

nadigo commented 3 years ago

I have the same issue (Debain 10, Docker installation)

21-05-03 14:29:13 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-05-03 14:29:18 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 -v --recursive --depth=1 --shallow-submodules --progress https://github.com/home-assistant/addons /data/addons/core. 21-05-03 14:29:18 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core 21-05-03 14:29:18 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core 21-05-03 14:29:18 ERROR (MainThread) [supervisor.store] Can't load data from repository core 21-05-03 14:29:18 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove

jaxbucsfan commented 3 years ago

Same issues as previously stated.

Started a few weeks ago. Manually added the default repository back, but as you can see from the image, shows up as Unknown.

image

Adding Logs from my last Supervisor Restart

21-05-03 19:49:02 INFO (MainThread) [supervisor.snapshots] Found 17 snapshot files 21-05-03 19:49:06 INFO (MainThread) [supervisor.misc.scheduler] Shutting down scheduled tasks 21-05-03 19:49:06 INFO (MainThread) [supervisor.api] Stopping API on 172.30.32.2 21-05-03 19:49:06 INFO (MainThread) [supervisor.hardware.monitor] Stopped Supervisor hardware monitor 21-05-03 19:49:06 INFO (MainThread) [supervisor.core] Supervisor is down - 100 21-05-03 19:49:06 INFO (MainThread) [main] Closing Supervisor 21-05-03 19:49:07 INFO (MainThread) [main] Initializing Supervisor setup 21-05-03 19:49:07 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry 21-05-03 19:49:07 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemux86-64 21-05-03 19:49:07 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/amd64-hassio-supervisor with version 2021.04.3 21-05-03 19:49:07 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-05-03 19:49:07 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE 21-05-03 19:49:07 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-05-03 19:49:07 INFO (MainThread) [main] Setting up Supervisor 21-05-03 19:49:07 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2 21-05-03 19:49:07 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor 21-05-03 19:49:13 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled. 21-05-03 19:49:13 INFO (MainThread) [supervisor.host.info] Updating local host information 21-05-03 19:49:13 INFO (MainThread) [supervisor.host.services] Updating service information 21-05-03 19:49:13 INFO (MainThread) [supervisor.host.network] Updating local network information 21-05-03 19:49:14 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information 21-05-03 19:49:14 INFO (MainThread) [supervisor.host] Host information reload completed 21-05-03 19:49:14 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'} 21-05-03 19:49:14 INFO (MainThread) [supervisor.host.services] Reloading local service hassio-apparmor.service 21-05-03 19:49:14 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-dns with version 2021.04.0 21-05-03 19:49:14 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf 21-05-03 19:49:14 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-audio with version 2021.04.0 21-05-03 19:49:15 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-cli with version 2021.04.1 21-05-03 19:49:15 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-observer with version 2020.10.1 21-05-03 19:49:15 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-multicast with version 2021.04.0 21-05-03 19:49:15 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 21-05-03 19:49:16 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 4 Home Assistant secrets 21-05-03 19:49:16 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/qemux86-64-homeassistant with version 2021.4.6 21-05-03 19:49:16 INFO (MainThread) [supervisor.hassos] No Home Assistant Operating System found 21-05-03 19:49:16 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-05-03 19:49:21 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 -v --recursive --depth=1 --shallow-submodules --progress https://github.com/home-assistant/addons /data/addons/core. 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core 21-05-03 19:49:21 ERROR (MainThread) [supervisor.store] Can't load data from repository core 21-05-03 19:49:21 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove 21-05-03 19:49:21 INFO (MainThread) [supervisor.addons] Found 2 installed add-ons 21-05-03 19:49:21 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/zwavejs2mqtt/amd64 with version 0.9.0 21-05-03 19:49:21 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-configurator with version 5.2.0 21-05-03 19:49:21 INFO (MainThread) [supervisor.snapshots] Found 17 snapshot files 21-05-03 19:49:21 INFO (MainThread) [supervisor.discovery] Loaded 1 messages 21-05-03 19:49:21 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-05-03 19:49:21 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-05-03 19:49:21 INFO (MainThread) [main] Running Supervisor 21-05-03 19:49:21 INFO (MainThread) [supervisor.jobs] 'HassOS.mark_healthy' blocked from execution, no Home Assistant OS available 21-05-03 19:49:21 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons 21-05-03 19:49:21 INFO (MainThread) [supervisor.core] Supervisor reboot detected 21-05-03 19:49:21 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled 21-05-03 19:49:21 INFO (MainThread) [supervisor.core] Supervisor is up and running 21-05-03 19:49:21 INFO (MainThread) [supervisor.host.info] Updating local host information 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-05-03 19:49:21 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-05-03 19:49:21 INFO (MainThread) [supervisor.host.services] Updating service information 21-05-03 19:49:21 INFO (MainThread) [supervisor.host.network] Updating local network information 21-05-03 19:49:22 INFO (MainThread) [supervisor.host] Host information reload completed 21-05-03 19:49:22 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-05-03 19:49:22 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-05-03 19:49:22 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core 21-05-03 19:49:22 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories! 21-05-03 19:49:22 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

nadigo commented 3 years ago

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

On Mon, May 3, 2021 at 3:47 PM jaxbucsfan @.***> wrote:

Same issues as previously stated.

Started a few weeks ago. Manually added the default repository back, but as you can see from the image, shows up as Unknown.

[image: image] https://user-images.githubusercontent.com/22081797/116924990-97c5f600-ac26-11eb-808a-0b339f9bbb0d.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/home-assistant/supervisor/issues/2774#issuecomment-831490907, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBNQ2VQS2CG2WHGHPE3TL34VLANCNFSM42E7VFOQ .

-- Nadav Goshen 347.753.7066

NLVMike commented 3 years ago

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.

jaxbucsfan commented 3 years ago

It you have an eero router you need to disable ‘advanced security’ under discover —> eero secure On Mon, May 3, 2021 at 3:47 PM jaxbucsfan @.***> wrote: Same issues as previously stated. Started a few weeks ago. Manually added the default repository back, but as you can see from the image, shows up as Unknown. [image: image] https://user-images.githubusercontent.com/22081797/116924990-97c5f600-ac26-11eb-808a-0b339f9bbb0d.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2774 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBNQ2VQS2CG2WHGHPE3TL34VLANCNFSM42E7VFOQ . -- Nadav Goshen 347.753.7066

I also have an Eero, Advanced Security has always been off, and is currently off.

davrte commented 3 years ago

i don't have a eero but the issue persist...

nadigo commented 3 years ago

From what I have seen there is a timezone mismatch in the supervision docker container, it could be that some dns spoofing routers are dropping these packages and therefore supervision can't resolve gothub.com I ant not wellversed in Docker so I don't know how to chk the timezone setting, but this is my assumptions. Any other ideas?

On Tue, May 4, 2021 at 8:43 AM davrte @.***> wrote:

i don't have a eero but the issue persist...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/home-assistant/supervisor/issues/2774#issuecomment-831912052, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOQZBMT7ZYHID3LFYVWDB3TL7TXHANCNFSM42E7VFOQ .

NLVMike commented 3 years ago

From what I have seen there is a timezone mismatch in the supervision docker container, it could be that some dns spoofing routers are dropping these packages and therefore supervision can't resolve gothub.com I ant not wellversed in Docker so I don't know how to chk the timezone setting, but this is my assumptions. Any other ideas?

RE: Some kind of time zone issue -- nope. Verified that all times for the homeassistant, hassio_supervisor, hassio_dns, hassio_core_configurator are all sync'd correctly, and all show the proper time zone.

RE: some kind of DNS problem. -- also nope -- all of the listed containers above are able to properly resolve all of the repository addresses I have listed. They can all also ping the addresses.

davrte commented 3 years ago

The funny thing is that i can update ha core and supervisor without any problem!!

InstigatorX commented 3 years ago

Any idea when this will be fixed/merged? I'm basically at a standstill with my HA installation because I can't add anything beyond the core stuff.

davrte commented 3 years ago

seems that nobody cares too much...

InstigatorX commented 3 years ago

@pvizeli this bug is a showstopper for many users. You can't add an add-ons of any kind to extend HA beyond whatever is OOB.

SpicyLimes commented 3 years ago

Original Post: Same Issue here - sounds like this might be an issue with the entire system since it was working fine prior to the most recent update.

Logs: 21-06-01 22:26:26 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 -v --recursive --depth=1 --shallow-submodules https://github.com/home-assistant/addons /data/addons/git/96a017aa stderr: 'Cloning into '/data/addons/git/96a017aa'... fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com


Update: I noticed that under the title of this issue, there is a line that says "May be fixed by #2901". After reviewing that page, it seems that a fix could be on the way...?

stemsmit commented 3 years ago

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.

SpicyLimes commented 3 years ago

Original Post: Home Assistant Core Update (2021.6.0) is available as of this morning. I am currently updating it and will report back if this problem has been fixed.


Update # 1: Unfortunately, the update to 2021.6.0 did not alleviate the issue. I am still not able to access the Add-On Store via Supervisor.


Update # 2: SUCCESS!! After reloading then restarting Supervisor, the Supervisor Add-On Store has now been restored. Hopefully everyone else is having the same success. Thanks for pushing the update!

stemsmit commented 3 years ago

After a bit more digging and switching to Home Assistant Supervised on Debian 10(On RPi 3b with HA OS prior) I was able to verify that in supervisor 2021.02.6 which is the version prior to the Alpine 3.13 update ( by updating this line to HASSIO_VERSION="2021.02.6" ) the HA addons were available. Unfortunately I believe there is an auto-update mechanism so the supervisor container somehow ended up getting back to the version 2021.05.4 shortly after installing the older version and the issue began again.

I created a script to handle uninstalling Home Assistant Supervised on Debian 10 and was able to uninstall and reinstall again to make sure. It does appear the container usage Alpine 3.13 could be the cause of this issue, that or the issue was introduced between versions 2021.02.6 and 2021.05.4.

All said I do find the route of HA Supervised on Debian 10 better since I can circumvent this issue all together by installing addons via command line( git clone <repo http url> /usr/share/hassio/addons/local/<repo folder name> then reload in Supervisor > Add-on Store (tab) > ⋮ (button) )

DancesWithMrBill commented 3 years ago

I just started with HA. The missing addons in supervisor have always been that way for me. This problem makes it very hard to learn what is going on. I do not have a snapshot of when addons were working. My question were would get the snapshot or reload all . I have the Home Assistant Blue (mine is black) I also the eero. Can you help me with this?

InstigatorX commented 3 years ago

@pvizeli this is still not resolved in Supervisor 6.0 (beta channel). I just updated and getting same error message. I've install fresh images on Pi3 (32 and 64-bit) and a supervisors Intel environment. They all give same error message below...

21-06-10 13:55:44 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-06-10 13:55:50 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 -v --recursive --depth=1 --shallow-submodules 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-06-10 13:55:50 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core 21-06-10 13:55:50 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core 21-06-10 13:55:50 ERROR (MainThread) [supervisor.store] Can't load data from repository core 21-06-10 13:55:50 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove

DancesWithMrBill commented 3 years ago

I'm going to try to load HA on VM and see if this works. I will bypass the erro, maybe that will work. The trouble is all my devices have been to the erro. Have you talked to support at erro?

jspanitz commented 3 years ago

@pvizeli this issue still exists. Not sure why all the reported issues keep getting closed without resolution.

bhaggs commented 3 years ago

I just updated to Home Assistant OS 6.0 and the add-on store has returned for me. I suggest giving that a try and see if people have similar results.

jspanitz commented 3 years ago

Problem still exists after update to OS 6.0 - Official add-ons are present for now, other add-ons still missing and can not be added - ex: adding https://github.com/home-assistant/addons results in log file below

21-06-11 20:43:55 INFO (MainThread) [supervisor.core] Start Home Assistant Core 21-06-11 20:43:55 INFO (SyncWorker_5) [supervisor.docker.interface] Starting homeassistant 21-06-11 20:43:56 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready 21-06-11 20:44:12 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP 21-06-11 20:44:12 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:44:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-06-11 20:44:35 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance 21-06-11 20:44:35 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 2 add-ons 21-06-11 20:44:37 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-almond with version 1.1.2 21-06-11 20:44:39 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.3.1 21-06-11 20:44:44 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled 21-06-11 20:44:44 INFO (MainThread) [supervisor.core] Supervisor is up and running 21-06-11 20:44:44 INFO (MainThread) [supervisor.host.info] Updating local host information 21-06-11 20:44:44 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-11 20:44:45 INFO (MainThread) [supervisor.host.services] Updating service information 21-06-11 20:44:45 INFO (MainThread) [supervisor.host.network] Updating local network information 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] WebSocket access from core_almond 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running 21-06-11 20:44:49 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information 21-06-11 20:44:49 INFO (MainThread) [supervisor.host] Host information reload completed 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-06-11 20:45:44 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files 21-06-11 20:45:44 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files 21-06-11 20:46:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-06-11 20:46:36 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 -v --recursive --depth=1 --shallow-submodules https://github.com/home-assistant/addons /data/addons/git/96a017aa stderr: 'Cloning into '/data/addons/git/96a017aa'... fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com '. 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / 96a017aa 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / 96a017aa 21-06-11 20:46:36 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/home-assistant/addons 21-06-11 20:46:36 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: 96a017aa 21-06-11 20:46:36 INFO (MainThread) [supervisor.store.git] Removing custom add-on repository https://github.com/home-assistant/addons 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

Can't ping github.com or www.github.com image

Manually added entries fixes name resolution issue image

image

Same ping / lookup to google.com works just find with no entries added: image

Trying to add repo after still fails but doesn't show in logs. Refresh repos shows: 21-06-11 21:01:35 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository 21-06-11 21:01:40 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 -v --update-shallow --depth=1 origin stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com'. 21-06-11 21:01:40 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.CORRUPT_REPOSITORY - ContextType.STORE / core 21-06-11 21:01:40 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_RESET - ContextType.STORE / core 21-06-11 21:01:40 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-1871' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:106> exception=StoreGitError()> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/store/git.py", line 155, in pull await self.sys_run_in_executor( File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, *self.kwargs) File "/usr/local/lib/python3.9/site-packages/git/remote.py", line 828, in fetch res = self._get_fetch_info_from_stderr(proc, progress) File "/usr/local/lib/python3.9/site-packages/git/remote.py", line 702, in _get_fetch_info_from_stderr proc.wait(stderr=stderr_text) File "/usr/local/lib/python3.9/site-packages/git/cmd.py", line 450, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git fetch -v --update-shallow --depth=1 origin stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com' 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 110, in update await self.git.pull() File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 107, in wrapper raise err File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 105, 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-06-11 21:01:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-11 21:01:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-11 21:04:53 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-06-11 21:04:57 ERROR (MainThread) [supervisor.store] https://github.com/home-assistant/addons is not a valid add-on repository 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.CORRUPT_REPOSITORY - ContextType.STORE / 96a017aa 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / 96a017aa 21-06-11 21:04:57 WARNING (MainThread) [supervisor.store.data] No repository information exists at /data/addons/git/96a017aa 21-06-11 21:04:57 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: 96a017aa 21-06-11 21:04:57 INFO (MainThread) [supervisor.store.git] Removing custom add-on repository https://github.com/home-assistant/addons 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-11 21:04:57 INFO (MainThread) [supervisor.resolution.fixups.store_execute_reset] Reset corrupt Store: core 21-06-11 21:04:57 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-06-11 21:04:58 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

bbohannan commented 3 years ago

Same error for me.

On Jun 11, 2021, at 2:51 PM, jspanitz @.***> wrote:

Problem still exists after update to OS 6.0 - Official add-ons are present for now, other add-ons still missing and can not be added - ex: adding https://github.com/home-assistant/addons results in log file below

21-06-11 20:43:55 INFO (MainThread) [supervisor.core] Start Home Assistant Core 21-06-11 20:43:55 INFO (SyncWorker_5) [supervisor.docker.interface] Starting homeassistant 21-06-11 20:43:56 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready 21-06-11 20:44:12 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP 21-06-11 20:44:12 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:44:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-06-11 20:44:35 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance 21-06-11 20:44:35 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 2 add-ons 21-06-11 20:44:37 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-almond with version 1.1.2 21-06-11 20:44:39 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.3.1 21-06-11 20:44:44 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled 21-06-11 20:44:44 INFO (MainThread) [supervisor.core] Supervisor is up and running 21-06-11 20:44:44 INFO (MainThread) [supervisor.host.info] Updating local host information 21-06-11 20:44:44 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-11 20:44:44 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-11 20:44:45 INFO (MainThread) [supervisor.host.services] Updating service information 21-06-11 20:44:45 INFO (MainThread) [supervisor.host.network] Updating local network information 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] WebSocket access from core_almond 21-06-11 20:44:49 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running 21-06-11 20:44:49 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information 21-06-11 20:44:49 INFO (MainThread) [supervisor.host] Host information reload completed 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-11 20:44:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-06-11 20:45:44 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files 21-06-11 20:45:44 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files 21-06-11 20:46:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository 21-06-11 20:46:36 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 -v --recursive --depth=1 --shallow-submodules https://github.com/home-assistant/addons /data/addons/git/96a017aa stderr: 'Cloning into '/data/addons/git/96a017aa'... fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com '. 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / 96a017aa 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / 96a017aa 21-06-11 20:46:36 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/home-assistant/addons 21-06-11 20:46:36 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: 96a017aa 21-06-11 20:46:36 INFO (MainThread) [supervisor.store.git] Removing custom add-on repository https://github.com/home-assistant/addons 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-11 20:46:36 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

Can't ping github.com or www.github.com image

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jspanitz commented 3 years ago

And hourly it in my sup log:

21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core 21-06-12 14:44:34 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories! 21-06-12 14:44:34 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-06-12 14:44:34 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-06-12 14:44:47 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 21-06-12 14:45:00 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository 21-06-12 14:45:04 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-12 14:45:04 INFO (MainThread) [supervisor.store] Loading add-ons from store: 23 all - 0 new - 0 remove 21-06-12 15:30:19 INFO (MainThread) [supervisor.snapshots] Found 7 snapshot files 21-06-12 15:30:19 INFO (MainThread) [supervisor.snapshots] Found 7 snapshot files

jspanitz commented 3 years ago

Opened a new issue since this one is closed and there's no way to reopen that I can tell. Please post and add comments on new issue so we can maybe, just maybe, finally get some traction on this major issue. https://github.com/home-assistant/supervisor/issues/2955

@bbohannan @bhaggs @DancesWithMrBill @InstigatorX @SpicyLimes @stemsmit @davrte @dalycitymike @nadigo @jaxbucsfan @ljohnso16 @tanobcc @gurreri @julisa99 @InvertedMinor

davrte commented 3 years ago

the problem has not changed. From my supervisor log: [13:48:58] INFO: Starting local supervisor watchdog...

21-06-13 13:49:01 INFO (MainThread) [main] Initializing Supervisor setup

21-06-13 13:49:01 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry

21-06-13 13:49:03 INFO (MainThread) [main] Setting up Supervisor

21-06-13 13:49:19 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 -v --recursive --depth=1 --shallow-submodules 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-06-13 13:49:19 ERROR (MainThread) [supervisor.store] Can't load data from repository core

21-06-13 13:49:23 INFO (MainThread) [main] Running Supervisor

21-06-13 13:50:28 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!`

SpicyLimes commented 3 years ago

I am not 100% sure why my Add-On Store failed in the previous revision/update, but I was able to get it working after the previous update and a restart of Supervisor. However, even after this most recent update, the Add-On Store is still working for me.

While I believe it had to do with syncing the correct time between the different "working parts" of the whole HA OS, I cannot confirm this since I was also having issues at the time with my ASUS Router (running ASUS WRT Merlin) concurrently running an instance of Pi-Hole and Unbound on a separate Raspberry Pi.

If I may make a recommendation to the users still having issues: Take a deep dive into your router's time syncing settings (as well as any DNS Resolvers that you also may have) to ensure that everything between HA OS and your network are reading the same timezone and time in general. I know this it's a long shot, and you may have already reviewed this, but it's a start. I will say that the support for this issue has left me feeling a bit... uneasy since no one from the HA Team has chimed in to provide... well.. any type of assurance that it was being worked on. I know this is a free piece of software for all to use, but when it comes down to it we should at least be given some type of guidance on the resolution and/or potential work-around.

Either way, I (and I can assume that everyone that has posted here) do appreciate all the hard work that has gone into HA and I thank the hard-working folks that have put their time into it and it's continued updates.

davrte commented 3 years ago

I am not 100% sure why my Add-On Store failed in the previous revision/update, but I was able to get it working after the previous update and a restart of Supervisor. However, even after this most recent update, the Add-On Store is still working for me.

While I believe it had to do with syncing the correct time between the different "working parts" of the whole HA OS, I cannot confirm this since I was also having issues at the time with my ASUS Router (running ASUS WRT Merlin) concurrently running an instance of Pi-Hole and Unbound on a separate Raspberry Pi.

If I may make a recommendation to the users still having issues: Take a deep dive into your router's time syncing settings (as well as any DNS Resolvers that you also may have) to ensure that everything between HA OS and your network are reading the same timezone and time in general. I know this it's a long shot, and you may have already reviewed this, but it's a start. I will say that the support for this issue has left me feeling a bit... uneasy since no one from the HA Team has chimed in to provide... well.. any type of assurance that it was being worked on. I know this is a free piece of software for all to use, but when it comes down to it we should at least be given some type of guidance on the resolution and/or potential work-around.

Either way, I (and I can assume that everyone that has posted here) do appreciate all the hard work that has gone into HA and I thank the hard-working folks that have put their time into it and it's continued updates.

you comment is excellent! i have the same feelings and opinions