Skip to content

Instantly share code, notes, and snippets.

@dlangille

dlangille/hass Secret

Created Aug 27, 2022
Embed
What would you like to do?
homeassistant definitely needs sqlite
homeassistant@homeassistant:/srv/homeassistant $ /srv/homeassistant/bin/hass --ignore-os-check -v -v -v -v
2022-08-26 14:09:12.575 INFO (MainThread) [homeassistant.bootstrap] Config directory: /home/homeassistant/.homeassistant
2022-08-26 14:09:12.584 INFO (SyncWorker_0) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2022-08-26 14:09:12.585 INFO (SyncWorker_1) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2022-08-26 14:09:12.585 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2022-08-26 14:09:12.586 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds
2022-08-26 14:09:12.591 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2022-08-26 14:09:12.592 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds
2022-08-26 14:09:12.600 INFO (SyncWorker_0) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2022-08-26 14:09:12.601 INFO (SyncWorker_0) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2022-08-26 14:09:12.601 INFO (SyncWorker_0) [homeassistant.loader] Loaded script from homeassistant.components.script
2022-08-26 14:09:12.602 INFO (SyncWorker_0) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2022-08-26 14:09:12.602 INFO (SyncWorker_0) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2022-08-26 14:09:12.604 INFO (SyncWorker_2) [homeassistant.loader] Loaded http from homeassistant.components.http
2022-08-26 14:09:12.605 INFO (SyncWorker_0) [homeassistant.loader] Loaded application_credentials from homeassistant.components.application_credentials
2022-08-26 14:09:12.606 INFO (SyncWorker_1) [homeassistant.loader] Loaded blueprint from homeassistant.components.blueprint
2022-08-26 14:09:12.607 INFO (SyncWorker_3) [homeassistant.loader] Loaded trace from homeassistant.components.trace
2022-08-26 14:09:12.608 INFO (SyncWorker_2) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2022-08-26 14:09:12.609 INFO (SyncWorker_3) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2022-08-26 14:09:12.610 INFO (SyncWorker_0) [homeassistant.loader] Loaded bluetooth from homeassistant.components.bluetooth
2022-08-26 14:09:12.611 INFO (SyncWorker_2) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2022-08-26 14:09:12.611 INFO (SyncWorker_3) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2022-08-26 14:09:12.612 INFO (SyncWorker_1) [homeassistant.loader] Loaded counter from homeassistant.components.counter
2022-08-26 14:09:12.613 INFO (SyncWorker_0) [homeassistant.loader] Loaded dhcp from homeassistant.components.dhcp
2022-08-26 14:09:12.614 INFO (SyncWorker_2) [homeassistant.loader] Loaded energy from homeassistant.components.energy
2022-08-26 14:09:12.615 INFO (SyncWorker_1) [homeassistant.loader] Loaded history from homeassistant.components.history
2022-08-26 14:09:12.616 INFO (SyncWorker_0) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2022-08-26 14:09:12.617 INFO (SyncWorker_2) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2022-08-26 14:09:12.618 INFO (SyncWorker_1) [homeassistant.loader] Loaded api from homeassistant.components.api
2022-08-26 14:09:12.618 INFO (SyncWorker_0) [homeassistant.loader] Loaded config from homeassistant.components.config
2022-08-26 14:09:12.620 INFO (SyncWorker_3) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2022-08-26 14:09:12.621 INFO (SyncWorker_2) [homeassistant.loader] Loaded diagnostics from homeassistant.components.diagnostics
2022-08-26 14:09:12.621 INFO (SyncWorker_1) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2022-08-26 14:09:12.622 INFO (SyncWorker_0) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2022-08-26 14:09:12.623 INFO (SyncWorker_3) [homeassistant.loader] Loaded analytics from homeassistant.components.analytics
2022-08-26 14:09:12.624 INFO (SyncWorker_1) [homeassistant.loader] Loaded person from homeassistant.components.person
2022-08-26 14:09:12.625 INFO (SyncWorker_2) [homeassistant.loader] Loaded image from homeassistant.components.image
2022-08-26 14:09:12.626 INFO (SyncWorker_3) [homeassistant.loader] Loaded repairs from homeassistant.components.repairs
2022-08-26 14:09:12.627 INFO (SyncWorker_1) [homeassistant.loader] Loaded search from homeassistant.components.search
2022-08-26 14:09:12.628 INFO (SyncWorker_2) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2022-08-26 14:09:12.629 INFO (SyncWorker_0) [homeassistant.loader] Loaded homeassistant_alerts from homeassistant.components.homeassistant_alerts
2022-08-26 14:09:12.630 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean
2022-08-26 14:09:12.630 INFO (SyncWorker_2) [homeassistant.loader] Loaded input_button from homeassistant.components.input_button
2022-08-26 14:09:12.631 INFO (SyncWorker_3) [homeassistant.loader] Loaded input_datetime from homeassistant.components.input_datetime
2022-08-26 14:09:12.632 INFO (SyncWorker_1) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2022-08-26 14:09:12.633 INFO (SyncWorker_2) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
2022-08-26 14:09:12.634 INFO (SyncWorker_3) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text
2022-08-26 14:09:12.635 INFO (SyncWorker_1) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2022-08-26 14:09:12.636 INFO (SyncWorker_1) [homeassistant.loader] Loaded map from homeassistant.components.map
2022-08-26 14:09:12.637 INFO (SyncWorker_3) [homeassistant.loader] Loaded media_source from homeassistant.components.media_source
2022-08-26 14:09:12.638 INFO (SyncWorker_1) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2022-08-26 14:09:12.638 INFO (SyncWorker_2) [homeassistant.loader] Loaded tag from homeassistant.components.tag
2022-08-26 14:09:12.639 INFO (SyncWorker_0) [homeassistant.loader] Loaded my from homeassistant.components.my
2022-08-26 14:09:12.640 INFO (SyncWorker_1) [homeassistant.loader] Loaded network from homeassistant.components.network
2022-08-26 14:09:12.641 INFO (SyncWorker_2) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2022-08-26 14:09:12.642 INFO (SyncWorker_0) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2022-08-26 14:09:12.643 INFO (SyncWorker_1) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2022-08-26 14:09:12.644 INFO (SyncWorker_1) [homeassistant.loader] Loaded timer from homeassistant.components.timer
2022-08-26 14:09:12.644 INFO (SyncWorker_1) [homeassistant.loader] Loaded usb from homeassistant.components.usb
2022-08-26 14:09:12.645 INFO (SyncWorker_0) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2022-08-26 14:09:12.646 INFO (SyncWorker_3) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2022-08-26 14:09:12.649 INFO (MainThread) [homeassistant.bootstrap] Domains to be set up: {'image', 'trace', 'automation', 'map', 'application_credentials', 'lovelace', 'tag', 'device_automation', 'dhcp', 'input_select', 'my', 'history', 'network', 'energy', 'webhook', 'system_health', 'input_text', 'search', 'input_boolean', 'counter', 'api', 'blueprint', 'ssdp', 'bluetooth', 'script', 'input_button', 'analytics', 'scene', 'mobile_app', 'usb', 'frontend', 'homeassistant_alerts', 'sun', 'auth', 'onboarding', 'http', 'person', 'default_config', 'zone', 'config', 'cloud', 'system_log', 'input_number', 'zeroconf', 'logbook', 'repairs', 'recorder', 'websocket_api', 'timer', 'input_datetime', 'diagnostics', 'media_source', 'tts'}
2022-08-26 14:09:13.091 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "/srv/homeassistant/bin/hass", line 8, in <module>
sys.exit(main())
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/__main__.py", line 191, in main
exit_code = runner.run(runtime_conf)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/runner.py", line 119, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/runner.py", line 101, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py", line 143, in async_setup_hass
await async_from_config_dict(config_dict, hass) is not None
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py", line 256, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py", line 532, in _async_set_up_integrations
recorder.async_initialize_recorder(hass)
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/recorder.py", line 22, in async_initialize_recorder
from homeassistant.components.recorder import const, models
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/__init__.py", line 31, in <module>
from .core import Recorder
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/core.py", line 11, in <module>
import sqlite3
File "/usr/local/lib/python3.9/sqlite3/__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.9/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment