Liese
(Jörg)
November 23, 2020, 9:23am
1
Hi, I have a block of error messages, where I find 2 issues on Github and 1 forum post related to.
My error messages in Supervisor log are:
20-11-23 06:52:20 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/hassio-addons/repository repo: Cmd('git') failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: 'error: object file .git/objects/1c/ddf4051e305b0b3952943108f865d75a2d7b2f is empty
fatal: loose object 1cddf4051e305b0b3952943108f865d75a2d7b2f (stored in .git/objects/1c/ddf4051e305b0b3952943108f865d75a2d7b2f) is corrupt'.
20-11-23 06:52:21 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/a0d7b954/motioneye/config.json: Expecting value: line 1 column 1 (char 0)
20-11-23 06:52:21 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/a0d7b954/motioneye/config.json from repository a0d7b954
The last line is a warning only.
Since the top line is the 1st message I would like to take care about that line 1st.
There are following issues mentioned:
opened 08:45AM - 07 Mar 20 UTC
closed 08:48AM - 07 Mar 20 UTC
# Problem/Motivation
I'm seing this in my Sypervisor -> System -> System log:…
```
20-03-07 07:50:10 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-03-07 07:50:12 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/hassio-addons/repository repo: Cmd('git') failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: 'error: inflate: data stream error (incorrect header check)
error: unable to unpack 189898b6ae4a20c3519a4b7cacfe6f2fe7718904 header
fatal: loose object 189898b6ae4a20c3519a4b7cacfe6f2fe7718904 (stored in .git/objects/18/9898b6ae4a20c3519a4b7cacfe6f2fe7718904) is corrupt
error: remote did not send all necessary objects'.
```
Is this due to a problem on my side?
If so, how do I fix it?
Here @frenck mentioned:
Remove the repository from the add-on store…
Does that mean, I have to de-install all add-ons? and reinstall afterwards again?
opened 09:02AM - 06 Feb 20 UTC
closed 06:20AM - 14 Apr 20 UTC
stale
**Home Assistant release with the issue:**
0.104.2
**Operating environment (… HassOS/Generic):**
Supervisor 195 / HassOS 3.8
**Hardware HassOS is running**
Odroid C2 with 8GB eMMC module
**AddOns installed**
AdGuard-Home / Configurator / WireGuard / Zerotier One / chrony
**Description of problem:**
I did a fresh install, which gave me Supervisor 195 / HassOS 3.8 a while ago.
Since that HassOS does not update HassOS/Supervisor/HomeAssistant/AddOns.
According to logs it cant resolve _github.com_ anymore.
But i use the AdGuard-AddOn in my network and everthing works perfect with resolving DNS-requests.
I also switched off all addon's and restarted the Odroid, but the same errors still occur.
Some others seem to have the same problem:
https://community.home-assistant.io/t/updater-problem-exit-code-128-could-not-resolve-host-github-com/165391
**Home-Assistant-Logs**
empty
**Supervisor logs:**
> 20-02-06 06:08:17 INFO (MainThread) [hassio.host.info] Update local host information
20-02-06 06:08:17 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-02-06 06:08:17 INFO (MainThread) [hassio.host.services] Update service information
20-02-06 06:08:17 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-02-06 06:08:17 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-02-06 06:08:17 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-02-06 07:28:17 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-06 07:28:22 WARNING (MainThread) [hassio.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]
20-02-06 08:14:57 INFO (MainThread) [hassio.host.info] Update local host information
20-02-06 08:14:57 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-02-06 08:14:57 INFO (MainThread) [hassio.host.services] Update service information
20-02-06 08:14:57 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-02-06 08:14:57 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-02-06 08:14:57 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-02-06 08:28:17 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-02-06 08:28:17 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-02-06 08:28:22 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/home-assistant/hassio-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/hassio-addons/': Could not resolve host: github.com'.
20-02-06 08:28:22 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/hassio-addons/repository 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/hassio-addons/repository/': Could not resolve host: github.com'.
20-02-06 08:28:22 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 0 new - 0 remove
Here a complete different approach has been tried with the DNS name server.
I added already 8.8.8.8, but no solution for me…
Forum post
Hello,
I am running a raspian system with pihole and hassio as seperate docker containers.
My hassio system log shows the following repeating error:
20-01-21 07:01:04 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/hassio-addons/repository 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/hassio-addons/repository/': Could not resolve host: github.com'.
and the w…
Has anyone a suggestion, what to do next?
I have running quite some custom-components and 3 add-ons (with Deconz being one of it.
If I have to deinstall Deconz - I might have problems with reconfiguring all sensors/entities I have connected to the Conbee II…
Regards,
Jörg