Supervisor: Can’t read repository information from /data/addons/git/a0d7b954/repository.json

I followed those instructions exactly. I do not have the Add-Ons store. Clicking it causes HA to spin and generate a bunch of errors.
First, my install

Now the errors w/respect to the Add-On store:


Including:
74 lines of error that include
"20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/…

Looks like you have a broken install

Okay, What does that mean (your response is essentially non-information)? I downloaded from the HA image from Installation - Home Assistant for the 32 bit R Pi 4b. Is there a better place? More up-to-date? I flashed the micro SD card using Balena, as instructed. I have HA running on my Pi with the exception of the Add-On store. Any real help?

My first attempt to get help was on another community thread, which seems to have died except for those having the same problem as me:

1 Like

Well you provided a truncated image of the log file which makes it harder to help you :wink: The text file may have had further useful information further up, but we’ll never know.

Is that a fresh SD card, or one you’ve been using for a while?

Have you checked for known issues - like ths one - and either opened a new issue if there isn’t one, or added information to any existing one?

Indeed it is a new SD card. I apologize for not providing the entire log I’m happy to. It will be at the end of this post. Being new to this community, I’m not well-informed on protocols. For example, I first found writings on Add-On store failing here: Add-on store failing. There were many new users posting of the same experience as mine as far back as May, but there seemed to be no responses regarding solutions. I did add my experience to that thread. I was not aware of the known issues repository. The issue you rightly point out is 3 weeks old, but only the original post is part of the thread, no further responses.

I’d simply like to get the initial install to fully function before moving forward.

----------------------------------LOG---------------------------------
09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/rpc_shutdown/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/almond/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/almond/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/tellstick/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/tellstick/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/letsencrypt/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/letsencrypt/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/git_pull/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/git_pull/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mosquitto/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/configurator/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ssh/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ssh/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/check_config/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/check_config/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/homematic/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/homematic/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/duckdns/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/duckdns/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/samba/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/dhcp_server/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dhcp_server/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/zwave/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/zwave/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/a0d7b954/repository.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json

20-09-16 16:58:55 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository

20-09-16 16:58:55 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/google_assistant/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/google_assistant/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/deconz/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/deconz/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mariadb/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mariadb/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ada/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ada/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/cec_scan/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/cec_scan/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/dnsmasq/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dnsmasq/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/nginx_proxy/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/nginx_proxy/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/rpc_shutdown/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/rpc_shutdown/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/almond/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/almond/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/tellstick/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/tellstick/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/letsencrypt/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/letsencrypt/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/git_pull/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/git_pull/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mosquitto/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/configurator/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ssh/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ssh/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/check_config/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/check_config/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/homematic/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/homematic/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/duckdns/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/duckdns/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/samba/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/dhcp_server/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dhcp_server/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/zwave/config.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/zwave/config.json from repository core

20-09-16 16:58:55 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/a0d7b954/repository.json: Expecting value: line 1 column 1 (char 0)

20-09-16 16:58:55 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json

20-09-16 16:58:55 INFO (MainThread) [supervisor.store] Load add-ons from store: 0 all - 0 new - 0 remove

20-09-16 16:58:55 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons

All I can suggest is that you add details to that issue so the developers can investigate.

That other thread has some horribly misleading information - HACS is totally unrelated.

I’ll split your posts here into a fresh thread and give it a more relevant title in the hope that somebody sees it who can help you.

my2cents: I fixed by re-burning the same image on the same SD using the same balena etcher (32 bit R-Pi3). Don’t know what the cause might be

Thanks for letting me know. I’ve just returned from the store w/a new SD to try again. I’ll let you know.

Thanks for your help.

So, I’ve had the exact same experience as stevevg: I had a spare SD. I flashed it with Balena. Started it and now I can see all the Add-Ons. Possibly a Balena issue?

I had a similar error:

20-11-05 08:39:18 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/a0d7b954/nginxproxymanager/config.json: Expecting value: line 1 column 1 (char 0)
20-11-05 08:39:18 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/a0d7b954/nginxproxymanager/config.json from repository a0d7b954

and also this error:

20-11-05 10:36:51 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: index uses  extension, which we do not understand
fatal: index file corrupt'.

which led me to the root cause, a corrupt git repo (fatal: index file corrupt).
In my case I was able to fix the problem by deleting and re adding the Community Add-ons repo https://github.com/hassio-addons/repository via the web UI
image

There’s probably a way to do that via git commands for Core Add-ons.
My SD card probably got corrupt after a hard reset.

1 Like

The above by chocomega worked well… Go to

Navigate to ->Supervisor->Add on store … Top right of the screen, click the elipsis->repositories

This will load the manage add on repositories… Delete the existing repository… then add a new one

The screen should refresh instantly and fix :slight_smile:

Not working for me unfortunately. I can’t install the repository, as I get an “already exists” error. At the same time, it is not listed under “repositories”… :frowning:

The BETA-Repository will also not install, with the same error message!!!

Any ideas?

Just installed a new HA and restored from back-up. Now it is working again. Thanks to PROXMOX not a big deal!!!