Add-on store failing

Hi there,

had to reinstall Home Assistant from zero and after quite a lot of attempts (installation was failing for no apparent reason) I made it but I cannot install any add-on since this is failing (no add-on displayed).

On System Log I have this:

20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/cec_scan/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/nginx_proxy/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mariadb/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ada/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/google_assistant/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core
20-05-11 09:40:02 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-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json
20-05-11 09:40:02 INFO (MainThread) [supervisor.store] Load add-ons from store: 0 all - 0 new - 0 remove
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
20-05-11 09:40:02 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-05-11 09:40:02 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-05-11 09:40:02 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 1
20-05-11 09:40:02 INFO (MainThread) [main] Run Supervisor
20-05-11 09:40:02 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-05-11 09:40:02 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on /
20-05-11 09:40:02 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘initialize’ start 0 add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘system’ start 0 add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘services’ start 0 add-ons
20-05-11 09:40:02 INFO (SyncWorker_8) [supervisor.docker.interface] Start homeassistant/raspberrypi4-homeassistant
20-05-11 09:41:09 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-11 09:41:09 INFO (MainThread) [supervisor.addons] Phase ‘application’ start 0 add-ons
20-05-11 09:41:09 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled
20-05-11 09:41:09 INFO (MainThread) [supervisor.hwmon] Started Supervisor hardware monitor
20-05-11 09:41:09 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-05-11 09:41:09 INFO (MainThread) [supervisor.host.info] Update local host information
20-05-11 09:41:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-05-11 09:41:09 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.services] Update service information
20-05-11 09:41:10 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-05-11 09:41:10 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-05-11 10:05:12 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-05-11 10:05:12 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-05-11 10:05: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: ‘fatal: .git/index: index file smaller than expected’.
20-05-11 10:05:12 ERROR (MainThread) [supervisor.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: .git/index: index file smaller than expected’.
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/rpc_shutdown/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/letsencrypt/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/almond/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/homematic/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/deconz/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dhcp_server/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dnsmasq/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/check_config/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ssh/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/git_pull/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/duckdns/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/zwave/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/tellstick/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/cec_scan/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/nginx_proxy/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mariadb/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ada/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/google_assistant/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core
20-05-11 10:05:12 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-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json
20-05-11 10:05:12 INFO (MainThread) [supervisor.store] Load add-ons from store: 0 all - 0 new - 0 remove
20-05-11 10:05:38 INFO (SyncWorker_16) [supervisor.docker.interface] Restart homeassistant/raspberrypi4-homeassistant
20-05-11 10:06:06 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance

I just came to report the same problem. On a fresh install of Homeassistant in a RPi 3, flashing an SD card with balenaEtcher and following step by step the setup process, I can’t get the addon store to work, and my log is very similar. It complains about every repository.json of every addon.

same here… on a fresh hassio NUC install.

Same problem to me.
Error log:
Can't read json from /data/addons/core/check_config/config.json: Expecting value: line 1 column 1 (char 0)
System: HassOS 4.11

Seems like I have same problem

Yeah same here

I’ve had it once before. Fixed it by copying addons/core over from another HA instance. But not everyone has more than one HA running.

I have a brand (spankin’) new Home Assistant install (HassOS 4.13)–image created with Balena–then put into my R Pi 4 B. I have the same issue with trying to access the Add-Ons. Supervisor screen spins, then when I look at the log I get the same errors shown above in others’ posts. Is there a fix for this yet?

very same problem here

I found this:
[reddit. com/r/homeassistant/comments/eggwxm/hassio_addon_store_not_adding_repos/]
Which lead me to this:
https://hacs.xyz/docs/installation/manual
I found the newest HACS file–according to the install link above–here:

But this is where my lack of understanding (yup, I’m a newbie) fails me.
I tried to follow the install steps

  • I unzipped the file to the get [HACS] subdirectory

  • Step 3 is where I hit a wall. I powered down HA, then put the micro SD into a USB dongle to look at the subdirectories on my Win10 laptop. I cannot find any subdirectory with a [configurations.yaml] file. This is where I stopped. Any thoughts out there about what I’m missing?