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

Core repo missing - Can't read config.json from core repository #1969

Closed riksmithuk closed 4 years ago

riksmithuk commented 4 years ago
arch | armv6l
-- | --
chassis | embedded
dev | false
docker | true
docker_version | 19.03.11
hassio | true
host_os | HassOS 4.12
installation_type | Home Assistant OS
os_name | Linux
os_version | 4.19.127
python_version | 3.8.3
supervisor | 235
timezone | Europe/London
version | 0.114.3
virtualenv | false

System | HassOS 4.12
Deployment | production
Version | 235
20-08-25 17:23:31 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/letsencrypt/config.json from repository core
20-08-25 17:23:31 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-08-25 17:23:31 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/samba/config.json from repository core
20-08-25 17:23:31 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-08-25 17:23:31 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/mosquitto/config.json from repository core
20-08-25 17:23:32 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-08-25 17:23:32 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/google_assistant/config.json from repository core
20-08-25 17:23:32 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/e724ce20/repository.json: [Errno 2] No such file or directory: '/data/addons/git/e724ce20/repository.json'
20-08-25 17:23:32 WARNING (MainThread) [supervisor.store.data] Can't read repository information from /data/addons/git/e724ce20/repository.json
20-08-25 17:23:36 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-08-25 17:23:36 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/e724ce20 repository
20-08-25 17:23:36 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/almond/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/homematic/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/cec_scan/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/mariadb/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/git_pull/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/dhcp_server/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/check_config/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/deconz/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/configurator/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/ada/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/zwave/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:36 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/ssh/config.json from repository core
20-08-25 17:23:36 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/duckdns/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/rpc_shutdown/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/nginx_proxy/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/dnsmasq/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/tellstick/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/letsencrypt/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/samba/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/mosquitto/config.json from repository core
20-08-25 17:23:37 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-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/core/google_assistant/config.json from repository core
20-08-25 17:23:37 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/e724ce20/repository.json: [Errno 2] No such file or directory: '/data/addons/git/e724ce20/repository.json'
20-08-25 17:23:37 WARNING (MainThread) [supervisor.store.data] Can't read repository information from /data/addons/git/e724ce20/repository.json
20-08-25 17:23:39 INFO (MainThread) [supervisor.store] Load add-ons from store: 45 all - 45 new - 0 remove
20-08-25 17:23:39 INFO (MainThread) [supervisor.addons] Found 1 installed add-ons
20-08-25 17:23:39 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to hassioaddons/ssh-armhf with version 7.4.1
20-08-25 17:23:40 INFO (MainThread) [supervisor.snapshots] Found 3 snapshot files
20-08-25 17:23:40 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-08-25 17:23:40 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-08-25 17:23:40 INFO (MainThread) [supervisor.misc.secrets] Load Home Assistant secrets: 1
20-08-25 17:23:42 INFO (MainThread) [__main__] Run Supervisor
20-08-25 17:23:42 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-08-25 17:23:42 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on /
20-08-25 17:23:42 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
20-08-25 17:23:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' start 0 add-ons
20-08-25 17:23:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' start 0 add-ons
20-08-25 17:23:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' start 1 add-ons
20-08-25 17:23:57 INFO (SyncWorker_0) [supervisor.docker.addon] Start Docker add-on hassioaddons/ssh-armhf with version 7.4.1
20-08-25 17:24:03 INFO (SyncWorker_0) [supervisor.docker.interface] Start homeassistant
20-08-25 17:24:13 INFO (MainThread) [supervisor.homeassistant] Wait until Home Assistant is ready
20-08-25 17:24:19 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-08-25 17:30:08 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-08-25 17:32:07 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-08-25 17:32:07 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' start 0 add-ons
20-08-25 17:32:07 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
20-08-25 17:32:07 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
20-08-25 17:32:07 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-08-25 17:32:07 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-25 17:32:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-25 17:32:08 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-25 17:32:13 INFO (MainThread) [supervisor.host.services] Update service information
20-08-25 17:32:13 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-08-25 17:32:17 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-08-25 17:32:17 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-08-25 17:32:17 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-08-25 19:30:18 INFO (MainThread) [supervisor.api.security] /addons access from a0d7b954_ssh
20-08-25 19:32:07 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-25 19:35:18 INFO (MainThread) [supervisor.api.security] /supervisor/repair access from a0d7b954_ssh

Description of problem:

The core addons are missing from the add-on store, but the "community add-ons" load ok. The logs show errors reading the .json for each of the missing add-ons (included above)

By reviewing Terminal ha addons i can see that the core repo is "known" but it can't seem to load it (image below) - the URL is "null"

image

pvizeli commented 4 years ago

fix with next rel

lumper5 commented 4 years ago

I'm seeing this with Sup 247 on RaspPi 4b 8gb. Still waiting for "next release"?

Alexs784 commented 3 years ago

I'm seeing this with Sup 247 on RaspPi 4b 8gb. Still waiting for "next release"?

+1

thornsworld commented 3 years ago

+1

pvizeli commented 3 years ago
ha supervisor options --channel beta
ha supervisor reload
ha supervisor update