home-assistant / addons

:heavy_plus_sign: Docker add-ons for Home Assistant
https://home-assistant.io/hassio/
Apache License 2.0
1.55k stars 1.5k forks source link

Unable to install Whisper add-on #3462

Closed stiltjack closed 7 months ago

stiltjack commented 8 months ago

Describe the issue you are experiencing

The initial start of the Whisper add-on fails.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Whisper

What is the version of the add-on?

1.0.2

Steps to reproduce the issue

  1. Download add-on
  2. Click start
  3. Install fails (or, if watchdog is on, fails repeatedly) ...

System Health information

System Information

version core-2024.2.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.63-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1391 Downloaded Repositories | 25 HACS Data | ok
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 11 August 2024 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | false remote_server | eu-central-1-7.ui.nabu.casa certificate_status | ready instance_id | 68b403b944d349988fff3d2ccd6966ef can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 11.5 -- | -- update_channel | stable supervisor_version | supervisor-2024.01.1 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 219.4 GB disk_used | 11.0 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Samba share (12.3.0), Terminal & SSH (9.9.0), RPC Shutdown (2.4), File editor (5.8.0), Samba Backup (5.2.0), ArgonOne Active Cooling (30a), Mosquitto broker (6.4.0), Silicon Labs Flasher (0.2.0), Zigbee2MQTT (1.35.3-1), Willow Application Server (0.2.0.3), Willow Autocorrect (0.1.1.1), Piper (1.4.0)
Dashboards dashboards | 14 -- | -- resources | 14 views | 31 mode | storage
Recorder oldest_recorder_run | 31 January 2024 at 11:23 -- | -- current_recorder_run | 11 February 2024 at 00:00 estimated_db_size | 260.01 MiB database_engine | sqlite database_version | 3.44.2

Anything in the Supervisor logs that might be useful for us?

24-02-10 23:01:58 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:01:58 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:03:58 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-10 23:13:01 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-10 23:13:01 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:13:11 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:13:12 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:15:12 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-10 23:20:17 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-02-10 23:20:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-02-10 23:20:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-02-10 23:20:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-02-10 23:20:18 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-02-10 23:21:28 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-02-10 23:21:34 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-02-10 23:24:15 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-10 23:24:15 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:24:25 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:24:26 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:26:26 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-10 23:35:28 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-10 23:35:28 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:35:39 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:35:40 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:37:40 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-10 23:46:42 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-10 23:46:42 INFO (SyncWorker_6) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:46:53 INFO (SyncWorker_6) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:46:54 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:48:54 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-10 23:51:35 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-02-10 23:54:53 INFO (MainThread) [supervisor.host.info] Updating local host information
24-02-10 23:54:54 INFO (MainThread) [supervisor.host.services] Updating service information
24-02-10 23:54:54 INFO (MainThread) [supervisor.host.network] Updating local network information
24-02-10 23:54:54 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-02-10 23:54:54 INFO (MainThread) [supervisor.host.manager] Host information reload completed
24-02-10 23:57:56 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-10 23:57:56 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:58:07 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:58:07 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-10 23:59:19 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-10 23:59:30 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-10 23:59:30 INFO (SyncWorker_3) [supervisor.docker.manager] Removing image homeassistant/aarch64-addon-whisper with latest
24-02-10 23:59:30 INFO (SyncWorker_3) [supervisor.docker.manager] Removing image homeassistant/aarch64-addon-whisper with 1.0.2
24-02-10 23:59:31 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/core_whisper
24-02-10 23:59:31 INFO (MainThread) [supervisor.addons.manager] Add-on 'core_whisper' successfully removed
24-02-10 23:59:46 INFO (SyncWorker_2) [supervisor.docker.manager] Restarting homeassistant
24-02-10 23:59:46 WARNING (MainThread) [supervisor.homeassistant.websocket] Connection is closed
24-02-11 00:00:09 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-02-11 00:00:25 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-02-11 00:00:25 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
24-02-11 00:00:25 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-11 00:00:38 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
24-02-11 00:00:40 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
24-02-11 00:01:07 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
24-02-11 00:01:07 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
24-02-11 00:02:05 INFO (MainThread) [supervisor.addons.addon] Creating Home Assistant add-on data folder /data/addons/data/core_whisper
24-02-11 00:02:05 INFO (MainThread) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-whisper with tag 1.0.2.
24-02-11 00:03:18 INFO (MainThread) [supervisor.addons.manager] Add-on 'core_whisper' successfully installed
24-02-11 00:14:55 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-11 00:16:55 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-11 00:20:18 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-02-11 00:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-02-11 00:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-02-11 00:20:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-02-11 00:20:19 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-02-11 00:21:36 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-02-11 00:25:57 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Whisper is unhealthy, restarting...
24-02-11 00:25:57 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-11 00:26:07 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-11 00:26:08 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-whisper with version 1.0.2
24-02-11 00:28:08 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Whisper to start, took more than 120 seconds
24-02-11 00:30:23 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_core_whisper application
24-02-11 00:30:33 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_core_whisper application
24-02-11 00:30:33 INFO (SyncWorker_4) [supervisor.docker.manager] Removing image homeassistant/aarch64-addon-whisper with latest
24-02-11 00:30:34 INFO (SyncWorker_4) [supervisor.docker.manager] Removing image homeassistant/aarch64-addon-whisper with 1.0.2
24-02-11 00:30:35 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/core_whisper
24-02-11 00:30:35 INFO (MainThread) [supervisor.addons.manager] Add-on 'core_whisper' successfully removed

Anything in the add-on logs that might be useful for us?

WARNING:wyoming_faster_whisper.download:Model hashes do not match
WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': '9674f22b7dee7b4d321a46f235ea6c7f', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '2245e55e09149bb93b3cbe31da869df8', 'config.json': 'e5a2f85afc17f73960204cad2b002633', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
INFO:__main__:Downloading FasterWhisperModel.TINY_INT8 to /data
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 136, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 78, in main
    model_dir = download_model(model, args.download_dir)
  File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/download.py", line 92, in download_model
    tar_gz.extractall(dest_dir)
  File "/usr/lib/python3.9/tarfile.py", line 2036, in extractall
    self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
  File "/usr/lib/python3.9/tarfile.py", line 2077, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
  File "/usr/lib/python3.9/tarfile.py", line 2150, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "/usr/lib/python3.9/tarfile.py", line 2199, in makefile
    copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
  File "/usr/lib/python3.9/tarfile.py", line 249, in copyfileobj
    raise exception("unexpected end of data")
tarfile.ReadError: unexpected end of data
[00:26:50] INFO: Service exited with code 1 (by signal 0)

Additional information

No response

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.