Banana Pi - armbian
hardware info on main page.
Links
armbian, armbian for Banana Pi,
more links
Home Assistant install armbian, autostart using systemd,
local links
Work log
2024-10-13: mmcblk0p1 - Home Assistant - upgrade - first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2024-10-13 03:13:31.685 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds. 2024-10-13 03:13:40.753 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2024-10-13 03:16:59.797 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 1 - moving forward 2024-10-13 03:17:14.596 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds. 2024-10-13 03:17:20.846 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2024-10-13 03:17:20.847 WARNING (MainThread) [homeassistant.setup] Setup of application_credentials is taking over 10 seconds. 2024-10-13 03:17:21.234 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2024-10-13 03:17:25.057 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds. 2024-10-13 03:17:25.809 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 10.1.161.5 for mill Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 1085, in create_connection raise exceptions[0] File "/usr/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection sock = await self._connect_sock( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock await self.sock_connect(sock, address) File "/usr/lib/python3.11/asyncio/selector_events.py", line 634, in sock_connect return await fut ^^^^^^^^^ File "/usr/lib/python3.11/asyncio/selector_events.py", line 674, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') OSError: [Errno 113] Connect call failed ('10.1.161.5', 80) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 504, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mill/__init__.py", line 68, in async_setup_entry if not await mill_data_connection.connect(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/mill_local/__init__.py", line 77, in connect return await self.get_status() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/mill_local/__init__.py", line 81, in get_status self._status = await self._get_request("status") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/mill_local/__init__.py", line 122, in _get_request async with self.websession.get( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in __aenter__ self._resp = await self._coro ^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/client.py", line 578, in _request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect proto = await self._create_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 1235, in _create_direct_connection raise last_exc File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection transp, proto = await self._wrap_create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/aiohttp/connector.py", line 1000, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 10.1.161.5:80 ssl:default [Connect call failed ('10.1.161.5', 80)] 2024-10-13 03:17:31.769 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2024-10-13 03:17:31.771 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform tellstick is taking over 10 seconds. 2024-10-13 03:17:33.791 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'TimeoutError'> 2024-10-13 03:18:03.528 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: version, season, mill, sun, mqtt, integration 2024-10-13 03:22:00.283 ERROR (MainThread) [homeassistant.components.mqtt.device_trigger] Config for device trigger Prologue-TH-9-2-76 Prologue-TH-9-2-76-BTN conflicts with existing device trigger, cannot set up trigger, got: {'automation_type': 'trigger', 'type': 'button_short_release', 'subtype': 'button_1', 'topic': 'rtl_433/rtl433/devices/Prologue-TH/9/2/76/button', 'device': {'identifiers': ['Prologue-TH-9-2-76'], 'name': 'Prologue-TH-9-2-76', 'model': 'Prologue-TH', 'manufacturer': 'rtl_433', 'connections': []}, 'qos': 0, 'encoding': 'utf-8', 'payload': None, 'value_template': None} 2024-10-13 03:22:59.807 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward 2024-10-13 03:22:59.811 WARNING (MainThread) [homeassistant.bootstrap] Support for the running Python version 3.11.2 is deprecated and will be removed in Home Assistant 2024.4; Please upgrade Python to 3.12 2024-10-13 03:22:59.923 WARNING (SyncWorker_3) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2024-10-13 03:23:03.632 ERROR (MainThread) [aiodhcpwatcher] Cannot watch for dhcp packets without a functional packet filter: libpcap is not available. Cannot compile filter ! 2024-10-13 03:26:05.706 ERROR (MainThread) [homeassistant.components.mqtt.device_trigger] Config for device trigger Prologue-TH-9-1-82 Prologue-TH-9-1-82-BTN conflicts with existing device trigger, cannot set up trigger, got: {'automation_type': 'trigger', 'type': 'button_short_release', 'subtype': 'button_1', 'topic': 'rtl_433/rtl433/devices/Prologue-TH/9/1/82/button', 'device': {'identifiers': ['Prologue-TH-9-1-82'], 'name': 'Prologue-TH-9-1-82', 'model': 'Prologue-TH', 'manufacturer': 'rtl_433', 'connections': []}, 'qos': 0, 'encoding': 'utf-8', 'payload': None, 'value_template': None}
still installing stuff behind the scenes.
2024-10-12: mmcblk0p1 - Home Assistant - upgrade
tingo@kg-bpi:~$ !1995 source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ which pip3 /home/tingo/.venv/homeassistant/bin/pip3 (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.11/site-packages (2024.1.2) Collecting homeassistant Downloading homeassistant-2024.3.3-py3-none-any.whl (35.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.4/35.4 MB 877.7 kB/s eta 0:00:00 Collecting aiohttp==3.9.3 Downloading aiohttp-3.9.3.tar.gz (7.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 1.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done [..] Compiling asn1_derive v0.15.5 Running `rustc --crate-name asn1_derive --edition=2021 /home/tingo/.cargo/registry/src/github.com-1285ae84e5963aae/asn1_derive-0.15.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=dfb2d7c5b7ff11c2 -C extra-filename=-dfb2d7c5b7ff11c2 --out-dir /tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps -L dependency=/tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps/libproc_macro2-2d816d5a4e8b047b.rlib --extern quote=/tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps/libquote-8cca86d1ce46319b.rlib --extern syn=/tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps/libsyn-448b65a3a7175705.rlib --extern proc_macro --cap-lints allow` error: failed to write /tmp/pip-install-ux4y4w42/cryptography_79c3eac48c20487aadc42a692b07bc96/src/rust/target/release/deps/rmetaxL7sWl/lib.rmeta: No space left on device (os error 28) [..] error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylib` failed with code 101 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cryptography Successfully built aiohttp bcrypt ciso8601 Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
re-try
(homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.11/site-packages (2024.1.2) Collecting homeassistant Using cached homeassistant-2024.3.3-py3-none-any.whl (35.4 MB) [..] Building wheel for cryptography (pyproject.toml) ... done Created wheel for cryptography: filename=cryptography-42.0.5-cp311-cp311-linux_armv7l.whl size=3728940 sha256=ac03d85ca01e6f97789ff2cafea1006046a07f426e118cd5f89a614c8e59cf16 Stored in directory: /home/tingo/.cache/pip/wheels/6f/37/2f/31555d15c59c23207790db7d7735f64835d8639c17a8182edf Successfully built cryptography [..] Successfully installed Jinja2-3.1.3 acme-2.8.0 aiohttp-3.9.3 aiohttp-zlib-ng-0.3.1 async-interrupt-1.1.1 attrs-23.2.0 awesomeversion-24.2.0 bcrypt-4.1.2 ciso8601-2.3.1 cryptography-42.0.5 hass-nabucasa-0.78.0 home-assistant-bluetooth-1.12.0 homeassistant-2024.3.3 httpx-0.27.0 orjson-3.9.15 pyOpenSSL-24.0.0 python-slugify-8.0.4 typing-extensions-4.12.2
2024-10-06: mmcblk0p1 - reboot, Armbian 24.8.4 based on Debian 12.7 is in armbian
h tingo@kg-bpi:~$ cat /etc/os-release PRETTY_NAME="Armbian 24.8.4 bookworm" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.armbian.com" SUPPORT_URL="https://forum.armbian.com" BUG_REPORT_URL="https://www.armbian.com/bugs" ARMBIAN_PRETTY_NAME="Armbian 24.8.4 bookworm"
Debian
tingo@kg-bpi:~$ cat /etc/debian_version 12.7
kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 6.6.44-current-sunxi #1 SMP Sat Aug 3 06:54:42 UTC 2024 armv7l GNU/Linux
2024-10-06: mmcblk0p1 - apt upgrade
tingo@kg-bpi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apache2-bin armbian-config armbian-firmware base-files bash bind9-dnsutils bind9-host bind9-libs bsdextrautils bsdutils composer curl distro-info-data dnsutils fdisk ffmpeg git git-man initramfs-tools initramfs-tools-core less libaom3 libapache2-mod-php8.2 libarchive13 libavcodec-dev libavcodec59 libavdevice-dev libavdevice59 libavfilter-dev libavfilter8 libavformat-dev libavformat59 libavutil-dev libavutil57 libblkid1 libbluetooth3 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcjson1 libcryptsetup12 libcurl3-gnutls libcurl4 libdav1d6 libde265-0 libexpat1 libexpat1-dev libfdisk1 libfreetype6 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgit2-1.5 libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls30 libgssapi-krb5-2 libisl23 libk5crypto3 libkrb5-3 libkrb5support0 libmount1 libndp0 libnss-myhostname libpam-systemd libpostproc-dev libpostproc56 libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libseccomp2 libsmartcols1 libssl-dev libssl3 libswresample-dev libswresample4 libswscale-dev libswscale6 libsystemd-shared libsystemd0 libudev1 libuuid1 libuv1 libvpx7 linux-dtb-current-sunxi linux-image-current-sunxi linux-u-boot-bananapi-current locales mksh mount nano openssh-client openssh-server openssh-sftp-server openssl php-composer-class-map-generator php-composer-pcre php-composer-xdebug-handler php-symfony-console php-symfony-deprecation-contracts php-symfony-filesystem php-symfony-finder php-symfony-process php-symfony-service-contracts php-symfony-string php8.2 php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd php8.2-intl php8.2-mbstring php8.2-opcache php8.2-readline php8.2-sqlite3 php8.2-xml php8.2-zip python3-software-properties python3.11 python3.11-dev python3.11-minimal python3.11-venv rfkill software-properties-common systemd systemd-sysv tar tzdata u-boot-tools udev usbutils usrmerge util-linux util-linux-extra wpasupplicant 139 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 218 MB of archives. After this operation, 69.8 MB of additional disk space will be used. [..] update-initramfs: Generating /boot/initrd.img-6.6.44-current-sunxi W: No zstd in /usr/bin:/sbin:/bin, using gzip update-initramfs: Converting to u-boot format Processing triggers for php8.2-fpm (8.2.24-1~deb12u1) ... Processing triggers for libapache2-mod-php8.2 (8.2.24-1~deb12u1) ... Warning: Could not load Apache 2.4 maintainer script helper.
2024-01-11: mmcblk0p1 - Home Assistant upgraded to version 2024.1.2 last night, the upgrade went on as I slept too.
2024-01-10: mmcblk0p1 - apt - install openblas-dev
tingo@kg-bpi:~$ sudo apt install libopenblas-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libopenblas-pthread-dev libopenblas0 libopenblas0-pthread The following NEW packages will be installed: libopenblas-dev libopenblas-pthread-dev libopenblas0 libopenblas0-pthread 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 4,522 kB of archives. After this operation, 22.8 MB of additional disk space will be used. [..] Setting up libopenblas-dev:armhf (0.3.21+ds-4) ... Processing triggers for libc-bin (2.36-9+deb12u3) ...
apt - install ffmpeg
tingo@kg-bpi:~$ sudo apt install ffmpeg Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: ffmpeg-doc The following NEW packages will be installed: ffmpeg 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,800 kB of archives. After this operation, 2,236 kB of additional disk space will be used. [..] Setting up ffmpeg (7:5.1.4-0+deb12u1) ... Processing triggers for man-db (2.11.2-2) ...
2024-01-10: mmcblk0p1 - Home Assistant - upgrade. First I stop it on the running machine. Then
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate
next is
(homeassistant) tingo@kg-bpi:~$ TMPDIR='/usr/tmp' pip3 install --upgrade homeassistant [..] Successfully installed PyJWT-2.8.0 PyYAML-6.0.1 aiohttp-3.9.1 aiohttp-fast-url-dispatcher-0.3.0 aiohttp-zlib-ng-0.1.3 attrs-23.1.0 awesomeversion-23.11.0 bleak-0.21.1 bleak-retry-connector-3.4.0 bluetooth-adapters-0.17.0 bluetooth-auto-recovery-1.2.3 bluetooth-data-tools-1.19.0 cryptography-41.0.7 habluetooth-2.0.2 home-assistant-bluetooth-1.11.0 homeassistant-2024.1.2 httpcore-1.0.2 httpx-0.26.0 lru-dict-1.3.0 orjson-3.9.9 packaging-23.2 typing-extensions-4.9.0 ulid-transform-0.9.0 usb-devices-0.4.5 yarl-1.9.4 zlib-ng-0.4.0
and we shall see how it goes. It finished without incident after a (long) while. Let me try to start this thing
(homeassistant) tingo@kg-bpi:~$ hass --open-ui [..] 2024-01-10 21:15:05.697 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg' FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg' 2024-01-10 21:19:04.977 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward 2024-01-10 21:19:05.051 WARNING (SyncWorker_7) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2024-01-10 21:19:05.233 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade from schema version: 41 to: 42 2024-01-10 21:19:05.533 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 42 done [..]
in the background it is installing things, compiling and so on. Better let it sit for some time.
2023-12-29: mmcblk0p1 - reboot, Armbian 23.11.1 is in
tingo@kg-bpi:~$ cat /etc/debian_version 12.2
kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l GNU/Linux
2023-12-29: mmcblk0p1 - apt - upgrade
tingo@kg-bpi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: armbian-config armbian-firmware base-files curl distro-info-data libbluetooth3 libcurl3-gnutls libcurl4 libde265-0 libgnutls30 libnghttp2-14 libnss-myhostname libpam-systemd libperl5.36 libssh-gcrypt-4 libsystemd-shared libsystemd0 libtiff6 libudev1 linux-dtb-current-sunxi linux-image-current-sunxi linux-u-boot-bananapi-current openssh-client openssh-server openssh-sftp-server perl perl-base perl-modules-5.36 php-symfony-console php-symfony-filesystem php-symfony-finder php-symfony-process php-symfony-string python3-distro-info systemd systemd-sysv tzdata udev 38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 125 MB of archives. After this operation, 145 MB of additional disk space will be used. [..] Processing triggers for initramfs-tools (0.142) ... update-initramfs: Generating /boot/initrd.img-6.1.63-current-sunxi W: No zstd in /usr/bin:/sbin:/bin, using gzip update-initramfs: Converting to u-boot format
2023-11-19: mmcblk0p1 - reboot, now we've got Armbian 23.8.3 bookworm, based on
tingo@kg-bpi:~$ cat /etc/debian_version 12.1
kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 6.1.53-current-sunxi #3 SMP Wed Sep 13 07:43:05 UTC 2023 armv7l GNU/Linux
2023-11-19: mmcblk0p1 - apt - upgrade
tingo@kg-bpi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: armbian-config armbian-firmware base-files bind9-dnsutils bind9-host bind9-libs curl dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common debian-archive-keyring debianutils dnsutils iperf3 libavcodec-dev libavcodec59 libavdevice-dev libavdevice59 libavfilter-dev libavfilter8 libavformat-dev libavformat59 libavutil-dev libavutil57 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcurl3-gnutls libcurl4 libdbus-1-3 libgssapi-krb5-2 libhwy1 libiperf0 libk5crypto3 libkrb5-3 libkrb5support0 libmosquitto1 libnss-myhostname libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpostproc-dev libpostproc56 librsvg2-2 libssl-dev libssl3 libswresample-dev libswresample4 libswscale-dev libswscale6 libsystemd-shared libsystemd0 libudev1 libvpx7 libwebp7 libwebpmux3 libx11-6 libx11-data libx11-xcb1 libxml2 libxpm4 linux-dtb-current-sunxi linux-image-current-sunxi linux-u-boot-bananapi-current locales mosquitto openssh-client openssh-server openssh-sftp-server openssl sudo systemd systemd-sysv udev 80 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 99.6 MB of archives. After this operation, 113 MB of additional disk space will be used. [..] Processing triggers for initramfs-tools (0.142) ... update-initramfs: Generating /boot/initrd.img-6.1.53-current-sunxi W: No zstd in /usr/bin:/sbin:/bin, using gzip update-initramfs: Converting to u-boot format Processing triggers for libc-bin (2.36-9+deb12u3) ... Processing triggers for man-db (2.11.2-2) ...
apt - autoremove
tingo@kg-bpi:~$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt - autoclean
tingo@kg-bpi:~$ sudo apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done
2023-07-26: mmcblk0p1 - bolt - install exasmple themes
tingo@kg-bpi:/var/www/sites/logb$ composer require bolt/themes Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update bolt/themes > Bolt\ComposerScripts\ProjectEventHandler::preUpdate Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Writing lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead. Package symfony/web-server-bundle is abandoned, you should avoid using it. No replacement was suggested. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating optimized autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class drupol/composer-packages: Regenerating classes... drupol/composer-packages: Done. 116 packages you are using are looking for funding. Use the `composer fund` command to find out more! Run composer recipes at any time to see the status of your Symfony recipes. > Bolt\ComposerScripts\ProjectEventHandler::postUpdate ! [NOTE] Running composer "post-update-cmd" scripts No changes to 'bundles.php' required. Processed 0 files. Updated: 0, deleted: 0, skipped: 0. // Clearing the cache for the dev environment with debug true [OK] Cache for the "dev" environment (debug=true) was successfully cleared. Trying to install assets as relative symbolic links. --- ------------------------ ------------------ Bundle Method / Error --- ------------------------ ------------------ ✔ ApiPlatformBundle relative symlink ✔ BabDevPagerfantaBundle relative symlink ✔ TranslationBundle relative symlink --- ------------------------ ------------------ [OK] All assets were successfully installed. Installing Bolt assets as hard copies. --- -------- ---------------- Folder Method / Error --- -------- ---------------- ✔ assets copied --- -------- ---------------- [OK] All assets were successfully installed. [OK] Up-to-date! No migrations to execute. ⚙️ Bolt ======= Bolt version: 5.1.24 * Install type: Packaged distribution * Database: sqlite 3.40.1 (with JSON) * PHP version: 8.2.7 * Symfony version: v5.4.25 * Operating System: Linux - 5.15.93-sunxi * Memory limit: 1024M No security vulnerability advisories found Using version ^3.6 for bolt/themes
followed by
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:copy-theme bolt/themes Installing Bolt themes as hard copies. --- ----------- ---------------- Theme Method / Error --- ----------- ---------------- ✔ base-2021 copied ✔ base-2018 copied ✔ skeleton copied --- ----------- ---------------- [OK] All themes were successfully installed.
2023-07-26: mmcblk0p1 - bolt - Ok, I'm starting from scratch with a new bolt installation for now
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:setup Created database /var/www/sites/logb/var/data/bolt.sqlite for connection named default [..] [OK] Bolt was set up successfully! Start a web server, and open your Bolt site in a browser. // You can start a webserver by running the following command: php bin/console server:start 8000 --docroot=/var/www/sites/logb
2023-07-23: mmcblk0p1 - bolt - hmm, this is interesting
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:help Command "doctrine:help" is not defined. Did you mean one of these? doctrine:cache:clear-collection-region doctrine:cache:clear-entity-region doctrine:cache:clear-metadata doctrine:cache:clear-query doctrine:cache:clear-query-region doctrine:cache:clear-result doctrine:database:create doctrine:database:drop doctrine:database:import doctrine:ensure-production-settings doctrine:fixtures:load doctrine:mapping:convert doctrine:mapping:import doctrine:mapping:info doctrine:migrations:current doctrine:migrations:diff doctrine:migrations:dump-schema doctrine:migrations:execute doctrine:migrations:generate doctrine:migrations:latest doctrine:migrations:list doctrine:migrations:migrate doctrine:migrations:rollup doctrine:migrations:status doctrine:migrations:sync-metadata-storage doctrine:migrations:up-to-date doctrine:migrations:version doctrine:query:dql doctrine:query:sql doctrine:schema:create doctrine:schema:drop doctrine:schema:update doctrine:schema:validate
try list
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:migrations:list +-----------------------------------------------+--------------+-------------+----------------+------------------------------------------------------------------------------+ | Migration Versions | | +-----------------------------------------------+--------------+-------------+----------------+------------------------------------------------------------------------------+ | Migration | Status | Migrated At | Execution Time | Description | +-----------------------------------------------+--------------+-------------+----------------+------------------------------------------------------------------------------+ | Bolt\DoctrineMigrations\Version20201210105836 | not migrated | | | Bolt 4.2 Migration: bolt_reset_password and bolt_column.avatar | | Bolt\DoctrineMigrations\Version20211123103530 | not migrated | | | Bolt 5.1 Migration: bolt_user_auth_token.user_id is not a unique constraint. | +-----------------------------------------------+--------------+-------------+----------------+------------------------------------------------------------------------------+
hmm, what about schema?
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:schema:validate Mapping ------- [OK] The mapping files are correct. Database -------- [ERROR] The database schema is not in sync with the current mapping file.
and this
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:migrations:status +----------------------+-------------------------+------------------------------------------------------------------------+ | Configuration | +----------------------+-------------------------+------------------------------------------------------------------------+ | Storage | Type | Doctrine\Migrations\Metadata\Storage\TableMetadataStorageConfiguration | | | Table Name | doctrine_migration_versions | | | Column Name | version | |-------------------------------------------------------------------------------------------------------------------------| | Database | Driver | Doctrine\DBAL\Driver\PDO\SQLite\Driver | | | Name | /var/www/sites/logb/var/data/bolt.sqlite | |-------------------------------------------------------------------------------------------------------------------------| | Versions | Previous | 0 | | | Current | 0 | | | Next | Bolt\DoctrineMigrations\Version20201210105836 | | | Latest | Bolt\DoctrineMigrations\Version20211123103530 | |-------------------------------------------------------------------------------------------------------------------------| | Migrations | Executed | 0 | | | Executed Unavailable | 0 | | | Available | 2 | | | New | 2 | |-------------------------------------------------------------------------------------------------------------------------| | Migration Namespaces | DoctrineMigrations | /var/www/sites/logb/migrations | | | Bolt\DoctrineMigrations | /var/www/sites/logb/vendor/bolt/core/migrations | +----------------------+-------------------------+------------------------------------------------------------------------+
based on comments in issue 3021, I should run bin/console doctrine:schema:update --force
and bin/console doctrine:migrations:migrate
let me try that
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:schema:update --force [WARNING] Not passing the "--complete" option to "doctrine:schema:update" is deprecated and will not be supported when using doctrine/dbal 4 Updating database schema... In AbstractSQLiteDriver.php line 55: An exception occurred while executing 'INSERT INTO bolt_taxonomy (id, slug, sortorder, name) SELECT id, slug, sortorder, name FROM __temp__bolt_taxon omy': SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_taxonomy.type In Exception.php line 18: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_taxonomy.type In PDOConnection.php line 55: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_taxonomy.type doctrine:schema:update [--em EM] [--complete] [--dump-sql] [-f|--force]
I have a backup, so try it again
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:schema:update --complete --force Updating database schema... In AbstractSQLiteDriver.php line 55: An exception occurred while executing 'INSERT INTO bolt_log (id, level, created_at, message) SELECT id, level, date, message FROM __temp__bolt_log': SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_log.level_name In Exception.php line 18: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_log.level_name In PDOConnection.php line 55: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: bolt_log.level_name doctrine:schema:update [--em EM] [--complete] [--dump-sql] [-f|--force]
try it anyway
tingo@kg-bpi:/var/www/sites/logb$ bin/console doctrine:migrations:migrate WARNING! You are about to execute a migration in database "/var/www/sites/logb/var/data/bolt.sqlite" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]: > yes [notice] Migrating up to Bolt\DoctrineMigrations\Version20211123103530 [warning] Migration Bolt\DoctrineMigrations\Version20211123103530 was executed but did not result in any SQL statements. [notice] finished in 878.4ms, used 36M memory, 2 migrations executed, 2 sql queries
hmm, try list-users now
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:list-users ---- ----------- ---------- ------- ------- ID Full Name Username Email Roles ---- ----------- ---------- ------- -------
aha - no users.
2023-07-23: mmcblk0p1 - bolt - after setting up the .env.local file correctly (and making sure the database is correctly named) bolt still complains it has no database
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:info ⚙️ Bolt ======= Bolt version: 5.1.24 * Install type: Packaged distribution * Database: Unknown - no database connection () * PHP version: 8.2.7 * Symfony version: v5.4.25 * Operating System: Linux - 5.15.93-sunxi * Memory limit: 1024M
apt - install php8.2-sqlite3 - does that help
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:info ⚙️ Bolt ======= Bolt version: 5.1.24 * Install type: Packaged distribution * Database: sqlite 3.40.1 - Tables not initialised (with JSON) * PHP version: 8.2.7 * Symfony version: v5.4.25 * Operating System: Linux - 5.15.93-sunxi * Memory limit: 1024M
but still something is not right
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:list-users In AbstractSQLiteDriver.php line 59: An exception occurred while executing 'SELECT t0.id AS id_1, t0.display_name AS display_name_2, t0.username AS username_3, t0.email AS email_4, t0.pa ssword AS password_5, t0.roles AS roles_6, t0.lastseen_at AS lastseen_at_7, t0.last_ip AS last_ip_8, t0.locale AS locale_9, t0.backend_theme AS backe nd_theme_10, t0.status AS status_11, t0.avatar AS avatar_12 FROM bolt_user t0 ORDER BY t0.username ASC LIMIT 50': SQLSTATE[HY000]: General error: 1 no such table: bolt_user In Exception.php line 18: SQLSTATE[HY000]: General error: 1 no such table: bolt_user In PDOConnection.php line 141: SQLSTATE[HY000]: General error: 1 no such table: bolt_user bolt:list-users [--max-results [MAX-RESULTS]] [--send-to [SEND-TO]]
try cache clear
tingo@kg-bpi:/var/www/sites/logb$ bin/console cache:clear // Clearing the cache for the dev environment with debug true [OK] Cache for the "dev" environment (debug=true) was successfully cleared.
repeat list users
tingo@kg-bpi:/var/www/sites/logb$ bin/console bolt:list-users In AbstractSQLiteDriver.php line 59: An exception occurred while executing 'SELECT t0.id AS id_1, t0.display_name AS display_name_2, t0.username AS username_3, t0.email AS email_4, t0.pa ssword AS password_5, t0.roles AS roles_6, t0.lastseen_at AS lastseen_at_7, t0.last_ip AS last_ip_8, t0.locale AS locale_9, t0.backend_theme AS backe nd_theme_10, t0.status AS status_11, t0.avatar AS avatar_12 FROM bolt_user t0 ORDER BY t0.username ASC LIMIT 50': SQLSTATE[HY000]: General error: 1 no such table: bolt_user In Exception.php line 18: SQLSTATE[HY000]: General error: 1 no such table: bolt_user In PDOConnection.php line 141: SQLSTATE[HY000]: General error: 1 no such table: bolt_user bolt:list-users [--max-results [MAX-RESULTS]] [--send-to [SEND-TO]]
2023-07-23: mmcblk0p1 - bolt - ty composer update one more time
tingo@kg-bpi:/var/www/sites/logb$ composer update > Bolt\ComposerScripts\ProjectEventHandler::preUpdate Loading composer repositories with package information Restricting packages listed in "symfony/symfony" to "^5.1" Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead. Package symfony/web-server-bundle is abandoned, you should avoid using it. No replacement was suggested. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating optimized autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class drupol/composer-packages: Regenerating classes... drupol/composer-packages: Done. 116 packages you are using are looking for funding. Use the `composer fund` command to find out more! Run composer recipes at any time to see the status of your Symfony recipes. > Bolt\ComposerScripts\ProjectEventHandler::postUpdate ! [NOTE] Running composer "post-update-cmd" scripts No changes to 'bundles.php' required. Processed 0 files. Updated: 0, deleted: 0, skipped: 0. // Clearing the cache for the dev environment with debug true [OK] Cache for the "dev" environment (debug=true) was successfully cleared. Trying to install assets as relative symbolic links. --- ------------------------ ------------------ Bundle Method / Error --- ------------------------ ------------------ ✔ ApiPlatformBundle relative symlink ✔ BabDevPagerfantaBundle relative symlink ✔ TranslationBundle relative symlink --- ------------------------ ------------------ [OK] All assets were successfully installed. Installing Bolt assets as hard copies. --- -------- ---------------- Folder Method / Error --- -------- ---------------- ✔ assets copied --- -------- ---------------- [OK] All assets were successfully installed. ⚙️ Bolt ======= Bolt version: 5.1.24 * Install type: Packaged distribution * Database: Unknown - no database connection () * PHP version: 8.2.7 * Symfony version: v5.4.25 * Operating System: Linux - 5.15.93-sunxi * Memory limit: 1024M No security vulnerability advisories found
2023-07-23: mmcblk0p1 - bolt - I renamed the bolt 3.7.x directory to get it out of the way, let me try to install bolt 5.x
tingo@kg-bpi:/var/www/sites$ composer create-project bolt/project logb Creating a "bolt/project" project at "./logb" Installing bolt/project (2.3.20) - Downloading bolt/project (2.3.20) - Installing bolt/project (2.3.20): Extracting archive Created project in /var/www/sites/logb Class Bolt\ComposerScripts\ProjectEventHandler is not autoloadable, can not call pre-install-cmd script Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - laminas/laminas-code is locked to version 4.7.1 and an update of this package was not requested. - laminas/laminas-code 4.7.1 requires php >=7.4, <8.2 -> your php version (8.2.7) does not satisfy that requirement. Problem 2 - laminas/laminas-code 4.7.1 requires php >=7.4, <8.2 -> your php version (8.2.7) does not satisfy that requirement. - friendsofphp/proxy-manager-lts v1.0.13 requires laminas/laminas-code ~3.4.1|^4.0 -> satisfiable by laminas/laminas-code[4.7.1]. - friendsofphp/proxy-manager-lts is locked to version v1.0.13 and an update of this package was not requested.
ok, see if composer update works now
tingo@kg-bpi:/var/www/sites/logb$ composer update Class Bolt\ComposerScripts\ProjectEventHandler is not autoloadable, can not call pre-update-cmd script Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 91 updates, 1 removal - Removing nategood/commando (0.4.0) - Upgrading api-platform/core (v2.7.6 => v2.7.13) - Locking bobdenotter/commando (1.0.1) - Upgrading bobdenotter/configuration-notices (1.4.0 => 1.4.1) - Upgrading bobdenotter/yaml-migrations (1.1.1 => 1.2.0) - Upgrading bolt/core (5.1.20 => 5.1.24) - Upgrading bolt/redactor (2.1.4 => 2.1.5) - Upgrading bolt/themes (3.6.0 => 3.6.1) - Upgrading brick/math (0.10.2 => 0.11.0) - Upgrading composer/ca-bundle (1.3.5 => 1.3.6) - Upgrading composer/class-map-generator (1.0.0 => 1.1.0) - Upgrading composer/composer (2.5.1 => 2.5.8) - Upgrading doctrine/annotations (1.14.2 => 1.14.3) - Upgrading doctrine/data-fixtures (1.6.3 => 1.6.6) - Upgrading doctrine/doctrine-fixtures-bundle (3.4.2 => 3.4.4) - Upgrading doctrine/doctrine-migrations-bundle (3.2.2 => 3.2.4) - Upgrading doctrine/inflector (2.0.6 => 2.0.8) - Upgrading doctrine/orm (2.14.1 => 2.14.3) - Upgrading doctrine/persistence (2.5.6 => 2.5.7) - Upgrading egulias/email-validator (3.2.5 => 3.2.6) - Upgrading fakerphp/faker (v1.21.0 => v1.23.0) - Upgrading friendsofphp/proxy-manager-lts (v1.0.13 => v1.0.16) - Upgrading guzzlehttp/psr7 (2.4.3 => 2.5.0) - Upgrading knplabs/knp-menu (v3.3.0 => v3.4.0) - Upgrading laminas/laminas-code (4.7.1 => 4.11.0) - Upgrading league/glide (1.7.1 => 1.7.2) - Upgrading monolog/monolog (2.8.0 => 2.9.1) - Upgrading nelmio/cors-bundle (2.2.0 => 2.3.1) - Upgrading nesbot/carbon (2.65.0 => 2.68.1) - Upgrading nikic/php-parser (v4.15.3 => v4.16.0) - Upgrading php-translation/extractor (2.1.0 => 2.1.1) - Upgrading psr/http-factory (1.0.1 => 1.0.2) - Upgrading psr/http-message (1.0.1 => 1.1) - Upgrading psr/link (1.1.1 => 2.0.1) - Upgrading ramsey/collection (1.3.0 => 2.0.0) - Upgrading ramsey/uuid (4.7.3 => 4.7.4) - Upgrading react/promise (v2.9.0 => v2.10.0) - Upgrading seld/jsonlint (1.9.0 => 1.10.0) - Upgrading sensio/framework-extra-bundle (v6.2.9 => v6.2.10) - Upgrading symfony/asset (v5.4.13 => v5.4.21) - Upgrading symfony/cache (v5.4.18 => v5.4.25) - Upgrading symfony/config (v5.4.11 => v5.4.21) - Upgrading symfony/console (v5.4.17 => v5.4.24) - Upgrading symfony/debug-bundle (v5.4.11 => v5.4.21) - Upgrading symfony/dependency-injection (v5.4.17 => v5.4.25) - Upgrading symfony/doctrine-bridge (v5.4.17 => v5.4.25) - Upgrading symfony/dotenv (v5.4.5 => v5.4.22) - Upgrading symfony/error-handler (v5.4.17 => v5.4.24) - Upgrading symfony/event-dispatcher (v5.4.17 => v5.4.22) - Upgrading symfony/event-dispatcher-contracts (v3.0.2 => v3.3.0) - Upgrading symfony/expression-language (v5.4.14 => v5.4.21) - Upgrading symfony/filesystem (v5.4.13 => v6.3.1) - Upgrading symfony/finder (v5.4.17 => v5.4.21) - Upgrading symfony/flex (v2.2.4 => v2.3.1) - Upgrading symfony/form (v5.4.17 => v5.4.24) - Upgrading symfony/framework-bundle (v5.4.17 => v5.4.25) - Upgrading symfony/http-client (v5.4.17 => v5.4.25) - Upgrading symfony/http-foundation (v5.4.17 => v5.4.25) - Upgrading symfony/http-kernel (v5.4.18 => v5.4.25) - Upgrading symfony/intl (v5.4.15 => v6.3.1) - Upgrading symfony/mailer (v5.4.17 => v5.4.22) - Upgrading symfony/mime (v5.4.17 => v5.4.23) - Upgrading symfony/monolog-bridge (v5.4.17 => v5.4.22) - Upgrading symfony/options-resolver (v5.4.11 => v6.3.0) - Upgrading symfony/password-hasher (v5.4.11 => v5.4.21) - Upgrading symfony/process (v5.4.11 => v5.4.24) - Upgrading symfony/property-access (v5.4.15 => v5.4.22) - Upgrading symfony/property-info (v5.4.17 => v6.3.0) - Upgrading symfony/routing (v5.4.17 => v5.4.25) - Upgrading symfony/security-bundle (v5.4.17 => v5.4.22) - Upgrading symfony/security-core (v5.4.15 => v5.4.22) - Upgrading symfony/security-csrf (v5.4.11 => v5.4.21) - Upgrading symfony/security-guard (v5.4.13 => v5.4.22) - Upgrading symfony/security-http (v5.4.17 => v5.4.23) - Upgrading symfony/serializer (v5.4.17 => v5.4.25) - Upgrading symfony/stopwatch (v5.4.13 => v5.4.21) - Upgrading symfony/string (v5.4.17 => v5.4.22) - Upgrading symfony/translation (v5.4.14 => v5.4.24) - Upgrading symfony/twig-bridge (v5.4.17 => v5.4.22) - Upgrading symfony/twig-bundle (v5.4.17 => v5.4.21) - Upgrading symfony/validator (v5.4.17 => v5.4.25) - Upgrading symfony/var-dumper (v5.4.17 => v5.4.25) - Upgrading symfony/var-exporter (v5.4.17 => v5.4.21) - Upgrading symfony/web-link (v5.4.3 => v6.3.0) - Upgrading symfony/web-profiler-bundle (v5.4.17 => v5.4.24) - Upgrading symfony/webpack-encore-bundle (v1.16.1 => v1.17.1) - Upgrading symfony/yaml (v5.4.17 => v5.4.23) - Upgrading symfonycasts/reset-password-bundle (v1.16.0 => v1.17.0) - Upgrading twig/extra-bundle (v3.5.0 => v3.6.1) - Upgrading twig/html-extra (v3.5.0 => v3.6.0) - Upgrading twig/intl-extra (v3.5.0 => v3.6.0) - Upgrading twig/twig (v3.5.0 => v3.6.1) - Upgrading webonyx/graphql-php (v14.11.9 => v14.11.10) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 182 installs, 0 updates, 0 removals - Downloading symfony/flex (v2.3.1) - Downloading composer/package-versions-deprecated (1.11.99.5) - Downloading symfony/polyfill-mbstring (v1.27.0) - Downloading symfony/polyfill-ctype (v1.27.0) - Downloading composer/ca-bundle (1.3.6) - Downloading twig/twig (v3.6.1) - Downloading symfony/polyfill-php80 (v1.27.0) - Downloading symfony/polyfill-intl-normalizer (v1.27.0) - Downloading symfony/deprecation-contracts (v2.5.2) - Downloading symfony/polyfill-php73 (v1.27.0) - Downloading psr/log (2.0.0) - Downloading symfony/polyfill-php81 (v1.27.0) - Downloading symfony/filesystem (v6.3.1) - Downloading symfony/finder (v5.4.21) - Downloading psr/container (1.1.2) - Downloading symfony/service-contracts (v2.5.2) - Downloading symfony/process (v5.4.24) - Downloading symfony/polyfill-intl-grapheme (v1.27.0) - Downloading symfony/string (v5.4.22) - Downloading symfony/console (v5.4.24) - Downloading seld/signal-handler (2.0.1) - Downloading seld/phar-utils (1.2.1) - Downloading seld/jsonlint (1.10.0) - Downloading react/promise (v2.10.0) - Downloading justinrainbow/json-schema (5.2.12) - Downloading composer/pcre (3.1.0) - Downloading composer/xdebug-handler (3.0.3) - Downloading composer/spdx-licenses (1.5.7) - Downloading composer/semver (3.3.2) - Downloading composer/class-map-generator (1.1.0) - Downloading composer/composer (2.5.8) - Downloading drupol/composer-packages (2.0.0) - Downloading kevinlebrun/colors.php (0.4.1) - Downloading bobdenotter/commando (1.0.1) - Downloading bobdenotter/configuration-notices (1.4.1) - Downloading bobdenotter/weatherwidget (1.1.15) - Downloading bolt/article (2.1.4) - Downloading bolt/assets (5.1.20) - Downloading ezyang/htmlpurifier (v4.16.0) - Downloading xemlock/htmlpurifier-html5 (v0.1.11) - Downloading webonyx/graphql-php (v14.11.10) - Downloading webmozart/assert (1.11.0) - Downloading webimpress/safe-writer (2.2.0) - Downloading symfony/intl (v6.3.1) - Downloading twig/intl-extra (v3.6.0) - Downloading symfony/polyfill-php72 (v1.27.0) - Downloading symfony/polyfill-intl-idn (v1.27.0) - Downloading symfony/mime (v5.4.23) - Downloading twig/html-extra (v3.6.0) - Downloading symfony/translation-contracts (v2.5.2) - Downloading symfony/twig-bridge (v5.4.22) - Downloading symfony/http-foundation (v5.4.25) - Downloading psr/event-dispatcher (1.0.0) - Downloading symfony/event-dispatcher-contracts (v3.3.0) - Downloading symfony/event-dispatcher (v5.4.22) - Downloading symfony/var-dumper (v5.4.25) - Downloading symfony/error-handler (v5.4.24) - Downloading symfony/http-kernel (v5.4.25) - Downloading symfony/config (v5.4.21) - Downloading symfony/twig-bundle (v5.4.21) - Downloading symfony/routing (v5.4.25) - Downloading symfony/dependency-injection (v5.4.25) - Downloading symfony/var-exporter (v5.4.21) - Downloading psr/cache (2.0.0) - Downloading symfony/cache-contracts (v2.5.2) - Downloading symfony/cache (v5.4.25) - Downloading symfony/framework-bundle (v5.4.25) - Downloading twig/extra-bundle (v3.6.1) - Downloading tightenco/collect (v8.83.27) - Downloading symfonycasts/reset-password-bundle (v1.17.0) - Downloading symfony/yaml (v5.4.23) - Downloading symfony/asset (v5.4.21) - Downloading symfony/webpack-encore-bundle (v1.17.1) - Downloading symfony/web-server-bundle (v4.4.44) - Downloading symfony/web-profiler-bundle (v5.4.24) - Downloading symfony/validator (v5.4.25) - Downloading symfony/translation (v5.4.24) - Downloading symfony/stopwatch (v5.4.21) - Downloading symfony/serializer (v5.4.25) - Downloading symfony/password-hasher (v5.4.21) - Downloading symfony/security-core (v5.4.22) - Downloading symfony/security-csrf (v5.4.21) - Downloading symfony/property-info (v6.3.0) - Downloading symfony/property-access (v5.4.22) - Downloading symfony/security-http (v5.4.23) - Downloading symfony/security-guard (v5.4.22) - Downloading symfony/security-bundle (v5.4.22) - Downloading monolog/monolog (2.9.1) - Downloading symfony/monolog-bridge (v5.4.22) - Downloading symfony/monolog-bundle (v3.8.0) - Downloading doctrine/lexer (1.2.3) - Downloading egulias/email-validator (3.2.6) - Downloading symfony/mailer (v5.4.22) - Downloading symfony/http-client-contracts (v2.5.2) - Downloading symfony/http-client (v5.4.25) - Downloading symfony/polyfill-intl-icu (v1.27.0) - Downloading symfony/options-resolver (v6.3.0) - Downloading symfony/form (v5.4.24) - Downloading symfony/expression-language (v5.4.21) - Downloading symfony/dotenv (v5.4.22) - Downloading symfony/debug-bundle (v5.4.21) - Downloading squirrelphp/twig-php-syntax (v1.7) - Downloading siriusphp/validation (3.1.0) - Downloading siriusphp/upload (3.0.1) - Downloading doctrine/annotations (1.14.3) - Downloading sensio/framework-extra-bundle (v6.2.10) - Downloading doctrine/event-manager (1.2.0) - Downloading doctrine/collections (1.8.0) - Downloading doctrine/cache (2.2.0) - Downloading doctrine/persistence (2.5.7) - Downloading doctrine/instantiator (1.5.0) - Downloading doctrine/inflector (2.0.8) - Downloading doctrine/dbal (2.13.9) - Downloading doctrine/common (3.4.3) - Downloading doctrine/orm (2.14.3) - Downloading scienta/doctrine-json-functions (4.5.0) - Downloading psr/simple-cache (1.0.1) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/type-resolver (1.6.2) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading php-translation/common (3.2.0) - Downloading php-translation/symfony-storage (2.3.1) - Downloading nikic/php-parser (v4.16.0) - Downloading php-translation/extractor (2.1.1) - Downloading nyholm/nsa (1.3.0) - Downloading php-translation/symfony-bundle (0.12.8) - Downloading nesbot/carbon (2.68.1) - Downloading nelmio/cors-bundle (2.3.1) - Downloading psr/http-message (1.1) - Downloading nelexa/zip (4.0.2) - Downloading league/mime-type-detection (1.11.0) - Downloading league/flysystem (1.1.10) - Downloading ralouphie/getallheaders (3.0.3) - Downloading psr/http-factory (1.0.2) - Downloading guzzlehttp/psr7 (2.5.0) - Downloading intervention/image (2.7.2) - Downloading league/glide (1.7.2) - Downloading league/glide-symfony (1.1.1) - Downloading knplabs/knp-menu (v3.4.0) - Downloading knplabs/knp-menu-bundle (v3.2.0) - Downloading ramsey/collection (2.0.0) - Downloading brick/math (0.11.0) - Downloading ramsey/uuid (4.7.4) - Downloading nette/utils (v3.2.9) - Downloading symfony/doctrine-bridge (v5.4.25) - Downloading doctrine/sql-formatter (1.1.3) - Downloading doctrine/doctrine-bundle (2.7.2) - Downloading knplabs/doctrine-behaviors (2.5.0) - Downloading jasny/twig-extensions (v1.3.0) - Downloading fakerphp/faker (v1.23.0) - Downloading embed/embed (v3.4.18) - Downloading laminas/laminas-code (4.11.0) - Downloading friendsofphp/proxy-manager-lts (v1.0.16) - Downloading doctrine/migrations (3.4.2) - Downloading doctrine/doctrine-migrations-bundle (3.2.4) - Downloading doctrine/data-fixtures (1.6.6) - Downloading doctrine/doctrine-fixtures-bundle (3.4.4) - Downloading cocur/slugify (v4.3.0) - Downloading bolt/common (3.0.7) - Downloading bobdenotter/yaml-migrations (1.2.0) - Downloading beberlei/doctrineextensions (v1.3.0) - Downloading pagerfanta/pagerfanta (v2.7.3) - Downloading babdev/pagerfanta-bundle (v2.11.0) - Downloading willdurand/negotiation (3.1.0) - Downloading psr/link (2.0.1) - Downloading symfony/web-link (v6.3.0) - Downloading api-platform/core (v2.7.13) - Downloading bolt/core (5.1.24) - Downloading bolt/newswidget (1.3.0) - Downloading bolt/redactor (2.1.5) - Downloading bolt/themes (3.6.1) - Downloading nelmio/security-bundle (v2.12.0) - Downloading phpstan/phpstan (0.12.100) - Downloading phpstan/phpstan-doctrine (0.12.44) - Downloading phpstan/phpstan-symfony (0.12.44) - Downloading symplify/easy-coding-standard (9.4.70) - Installing symfony/flex (v2.3.1): Extracting archive - Installing composer/package-versions-deprecated (1.11.99.5): Extracting archive - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive - Installing composer/ca-bundle (1.3.6): Extracting archive - Installing twig/twig (v3.6.1): Extracting archive - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive - Installing symfony/polyfill-php73 (v1.27.0): Extracting archive - Installing psr/log (2.0.0): Extracting archive - Installing symfony/polyfill-php81 (v1.27.0): Extracting archive - Installing symfony/filesystem (v6.3.1): Extracting archive - Installing symfony/finder (v5.4.21): Extracting archive - Installing psr/container (1.1.2): Extracting archive - Installing symfony/service-contracts (v2.5.2): Extracting archive - Installing symfony/process (v5.4.24): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive - Installing symfony/string (v5.4.22): Extracting archive - Installing symfony/console (v5.4.24): Extracting archive - Installing seld/signal-handler (2.0.1): Extracting archive - Installing seld/phar-utils (1.2.1): Extracting archive - Installing seld/jsonlint (1.10.0): Extracting archive - Installing react/promise (v2.10.0): Extracting archive - Installing justinrainbow/json-schema (5.2.12): Extracting archive - Installing composer/pcre (3.1.0): Extracting archive - Installing composer/xdebug-handler (3.0.3): Extracting archive - Installing composer/spdx-licenses (1.5.7): Extracting archive - Installing composer/semver (3.3.2): Extracting archive - Installing composer/metadata-minifier (1.0.0): Extracting archive - Installing composer/class-map-generator (1.1.0): Extracting archive - Installing composer/composer (2.5.8): Extracting archive - Installing drupol/composer-packages (2.0.0): Extracting archive - Installing kevinlebrun/colors.php (0.4.1): Extracting archive - Installing bobdenotter/commando (1.0.1): Extracting archive - Installing bobdenotter/configuration-notices (1.4.1): Extracting archive - Installing bobdenotter/weatherwidget (1.1.15): Extracting archive - Installing bolt/article (2.1.4): Extracting archive - Installing bolt/assets (5.1.20): Extracting archive - Installing ezyang/htmlpurifier (v4.16.0): Extracting archive - Installing xemlock/htmlpurifier-html5 (v0.1.11): Extracting archive - Installing webonyx/graphql-php (v14.11.10): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing webmozart/path-util (2.3.0): Extracting archive - Installing webimpress/safe-writer (2.2.0): Extracting archive - Installing ua-parser/uap-php (v3.9.14): Extracting archive - Installing symfony/intl (v6.3.1): Extracting archive - Installing twig/intl-extra (v3.6.0): Extracting archive - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive - Installing symfony/mime (v5.4.23): Extracting archive - Installing twig/html-extra (v3.6.0): Extracting archive - Installing symfony/translation-contracts (v2.5.2): Extracting archive - Installing symfony/twig-bridge (v5.4.22): Extracting archive - Installing symfony/http-foundation (v5.4.25): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v3.3.0): Extracting archive - Installing symfony/event-dispatcher (v5.4.22): Extracting archive - Installing symfony/var-dumper (v5.4.25): Extracting archive - Installing symfony/error-handler (v5.4.24): Extracting archive - Installing symfony/http-kernel (v5.4.25): Extracting archive - Installing symfony/config (v5.4.21): Extracting archive - Installing symfony/twig-bundle (v5.4.21): Extracting archive - Installing symfony/routing (v5.4.25): Extracting archive - Installing symfony/dependency-injection (v5.4.25): Extracting archive - Installing symfony/var-exporter (v5.4.21): Extracting archive - Installing psr/cache (2.0.0): Extracting archive - Installing symfony/cache-contracts (v2.5.2): Extracting archive - Installing symfony/cache (v5.4.25): Extracting archive - Installing symfony/framework-bundle (v5.4.25): Extracting archive - Installing twig/extra-bundle (v3.6.1): Extracting archive - Installing tightenco/collect (v8.83.27): Extracting archive - Installing symfonycasts/reset-password-bundle (v1.17.0): Extracting archive - Installing symfony/yaml (v5.4.23): Extracting archive - Installing symfony/asset (v5.4.21): Extracting archive - Installing symfony/webpack-encore-bundle (v1.17.1): Extracting archive - Installing symfony/web-server-bundle (v4.4.44): Extracting archive - Installing symfony/web-profiler-bundle (v5.4.24): Extracting archive - Installing symfony/validator (v5.4.25): Extracting archive - Installing symfony/translation (v5.4.24): Extracting archive - Installing symfony/stopwatch (v5.4.21): Extracting archive - Installing symfony/serializer (v5.4.25): Extracting archive - Installing symfony/password-hasher (v5.4.21): Extracting archive - Installing symfony/security-core (v5.4.22): Extracting archive - Installing symfony/security-csrf (v5.4.21): Extracting archive - Installing symfony/property-info (v6.3.0): Extracting archive - Installing symfony/property-access (v5.4.22): Extracting archive - Installing symfony/security-http (v5.4.23): Extracting archive - Installing symfony/security-guard (v5.4.22): Extracting archive - Installing symfony/security-bundle (v5.4.22): Extracting archive - Installing monolog/monolog (2.9.1): Extracting archive - Installing symfony/monolog-bridge (v5.4.22): Extracting archive - Installing symfony/monolog-bundle (v3.8.0): Extracting archive - Installing doctrine/lexer (1.2.3): Extracting archive - Installing egulias/email-validator (3.2.6): Extracting archive - Installing symfony/mailer (v5.4.22): Extracting archive - Installing symfony/http-client-contracts (v2.5.2): Extracting archive - Installing symfony/http-client (v5.4.25): Extracting archive - Installing symfony/polyfill-intl-icu (v1.27.0): Extracting archive - Installing symfony/options-resolver (v6.3.0): Extracting archive - Installing symfony/form (v5.4.24): Extracting archive - Installing symfony/expression-language (v5.4.21): Extracting archive - Installing symfony/dotenv (v5.4.22): Extracting archive - Installing symfony/debug-bundle (v5.4.21): Extracting archive - Installing squirrelphp/twig-php-syntax (v1.7): Extracting archive - Installing siriusphp/validation (3.1.0): Extracting archive - Installing siriusphp/upload (3.0.1): Extracting archive - Installing doctrine/annotations (1.14.3): Extracting archive - Installing sensio/framework-extra-bundle (v6.2.10): Extracting archive - Installing doctrine/deprecations (v0.5.3): Extracting archive - Installing doctrine/event-manager (1.2.0): Extracting archive - Installing doctrine/collections (1.8.0): Extracting archive - Installing doctrine/cache (2.2.0): Extracting archive - Installing doctrine/persistence (2.5.7): Extracting archive - Installing doctrine/instantiator (1.5.0): Extracting archive - Installing doctrine/inflector (2.0.8): Extracting archive - Installing doctrine/dbal (2.13.9): Extracting archive - Installing doctrine/common (3.4.3): Extracting archive - Installing doctrine/orm (2.14.3): Extracting archive - Installing scienta/doctrine-json-functions (4.5.0): Extracting archive - Installing psr/simple-cache (1.0.1): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing phpdocumentor/type-resolver (1.6.2): Extracting archive - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive - Installing php-translation/common (3.2.0): Extracting archive - Installing php-translation/symfony-storage (2.3.1): Extracting archive - Installing nikic/php-parser (v4.16.0): Extracting archive - Installing php-translation/extractor (2.1.1): Extracting archive - Installing nyholm/nsa (1.3.0): Extracting archive - Installing php-translation/symfony-bundle (0.12.8): Extracting archive - Installing nesbot/carbon (2.68.1): Extracting archive - Installing nelmio/cors-bundle (2.3.1): Extracting archive - Installing psr/http-message (1.1): Extracting archive - Installing nelexa/zip (4.0.2): Extracting archive - Installing miljar/php-exif (v0.6.5): Extracting archive - Installing league/mime-type-detection (1.11.0): Extracting archive - Installing league/flysystem (1.1.10): Extracting archive - Installing ralouphie/getallheaders (3.0.3): Extracting archive - Installing psr/http-factory (1.0.2): Extracting archive - Installing guzzlehttp/psr7 (2.5.0): Extracting archive - Installing intervention/image (2.7.2): Extracting archive - Installing league/glide (1.7.2): Extracting archive - Installing league/glide-symfony (1.1.1): Extracting archive - Installing knplabs/knp-menu (v3.4.0): Extracting archive - Installing knplabs/knp-menu-bundle (v3.2.0): Extracting archive - Installing ramsey/collection (2.0.0): Extracting archive - Installing brick/math (0.11.0): Extracting archive - Installing ramsey/uuid (4.7.4): Extracting archive - Installing nette/utils (v3.2.9): Extracting archive - Installing symfony/doctrine-bridge (v5.4.25): Extracting archive - Installing doctrine/sql-formatter (1.1.3): Extracting archive - Installing doctrine/doctrine-bundle (2.7.2): Extracting archive - Installing knplabs/doctrine-behaviors (2.5.0): Extracting archive - Installing jasny/twig-extensions (v1.3.0): Extracting archive - Installing fakerphp/faker (v1.23.0): Extracting archive - Installing erusev/parsedown (1.7.4): Extracting archive - Installing embed/embed (v3.4.18): Extracting archive - Installing laminas/laminas-code (4.11.0): Extracting archive - Installing friendsofphp/proxy-manager-lts (v1.0.16): Extracting archive - Installing doctrine/migrations (3.4.2): Extracting archive - Installing doctrine/doctrine-migrations-bundle (3.2.4): Extracting archive - Installing doctrine/data-fixtures (1.6.6): Extracting archive - Installing doctrine/doctrine-fixtures-bundle (3.4.4): Extracting archive - Installing cocur/slugify (v4.3.0): Extracting archive - Installing bolt/common (3.0.7): Extracting archive - Installing bobdenotter/yaml-migrations (1.2.0): Extracting archive - Installing beberlei/doctrineextensions (v1.3.0): Extracting archive - Installing pagerfanta/pagerfanta (v2.7.3): Extracting archive - Installing babdev/pagerfanta-bundle (v2.11.0): Extracting archive - Installing willdurand/negotiation (3.1.0): Extracting archive - Installing psr/link (2.0.1): Extracting archive - Installing symfony/web-link (v6.3.0): Extracting archive - Installing api-platform/core (v2.7.13): Extracting archive - Installing bolt/core (5.1.24): Extracting archive - Installing bolt/newswidget (1.3.0): Extracting archive - Installing bolt/redactor (2.1.5): Extracting archive - Installing bolt/themes (3.6.1): Extracting archive - Installing nelmio/security-bundle (v2.12.0): Extracting archive - Installing phpstan/phpstan (0.12.100): Extracting archive - Installing phpstan/phpstan-doctrine (0.12.44): Extracting archive - Installing phpstan/phpstan-symfony (0.12.44): Extracting archive - Installing symplify/easy-coding-standard (9.4.70): Extracting archive Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead. Package symfony/web-server-bundle is abandoned, you should avoid using it. No replacement was suggested. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating optimized autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class drupol/composer-packages: Regenerating classes... drupol/composer-packages: Done. 116 packages you are using are looking for funding. Use the `composer fund` command to find out more! Run composer recipes at any time to see the status of your Symfony recipes. > Bolt\ComposerScripts\ProjectEventHandler::preUpdate Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Restricting packages listed in "symfony/symfony" to "^5.1" Updating dependencies Lock file operations: 0 installs, 6 updates, 0 removals - Downgrading psr/link (2.0.1 => 1.1.1) - Downgrading symfony/filesystem (v6.3.1 => v5.4.25) - Downgrading symfony/intl (v6.3.1 => v5.4.25) - Downgrading symfony/options-resolver (v6.3.0 => v5.4.21) - Downgrading symfony/property-info (v6.3.0 => v5.4.24) - Downgrading symfony/web-link (v6.3.0 => v5.4.21) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 6 updates, 0 removals - Downloading symfony/intl (v5.4.25) - Downloading symfony/filesystem (v5.4.25) - Downloading symfony/property-info (v5.4.24) - Downloading symfony/options-resolver (v5.4.21) - Downloading psr/link (1.1.1) - Downloading symfony/web-link (v5.4.21) - Downgrading symfony/intl (v6.3.1 => v5.4.25): Extracting archive - Downgrading symfony/filesystem (v6.3.1 => v5.4.25): Extracting archive - Downgrading symfony/property-info (v6.3.0 => v5.4.24): Extracting archive - Downgrading symfony/options-resolver (v6.3.0 => v5.4.21): Extracting archive - Downgrading psr/link (2.0.1 => 1.1.1): Extracting archive - Downgrading symfony/web-link (v6.3.0 => v5.4.21): Extracting archive Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead. Package symfony/web-server-bundle is abandoned, you should avoid using it. No replacement was suggested. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead. Generating optimized autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class drupol/composer-packages: Regenerating classes... drupol/composer-packages: Done. 116 packages you are using are looking for funding. Use the `composer fund` command to find out more! What about running composer global require symfony/thanks && composer thanks now? This will spread some 💖 by sending a ★ to the GitHub repositories of your fellow package maintainers. Run composer recipes at any time to see the status of your Symfony recipes. > Bolt\ComposerScripts\ProjectEventHandler::postUpdate ! [NOTE] Running composer "post-update-cmd" scripts No changes to 'bundles.php' required. Processed 0 files. Updated: 0, deleted: 0, skipped: 0. // Clearing the cache for the dev environment with debug true [OK] Cache for the "dev" environment (debug=true) was successfully cleared. Trying to install assets as relative symbolic links. --- ------------------------ ------------------ Bundle Method / Error --- ------------------------ ------------------ ✔ ApiPlatformBundle relative symlink ✔ BabDevPagerfantaBundle relative symlink ✔ TranslationBundle relative symlink --- ------------------------ ------------------ [OK] All assets were successfully installed. Installing Bolt assets as hard copies. --- -------- ---------------- Folder Method / Error --- -------- ---------------- ✔ assets copied --- -------- ---------------- [OK] All assets were successfully installed. ⚙️ Bolt ======= Bolt version: 5.1.24 * Install type: Packaged distribution * Database: Unknown - no database connection () * PHP version: 8.2.7 * Symfony version: v5.4.25 * Operating System: Linux - 5.15.93-sunxi * Memory limit: 1024M No security vulnerability advisories found No security vulnerability advisories found
2023-07-23: mmcblk0p1 - bolt - check update status
tingo@kg-bpi:/var/www/sites/logb$ composer outdated bolt/bolt Cannot use bolt/bolt 3.7.4.1 as it requires ext-gd * which is missing from your platform. name : bolt/bolt descrip. : Sophisticated, lightweight & simple CMS keywords : cms, php, silex, symfony versions : * 3.7.4.1 latest : v3.2.2 type : library license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText homepage : http://bolt.cm source : [git] https://github.com/bolt/bolt.git 2d69e99f1d19dde82ec992b7f970d802b8ae9d7a dist : [zip] https://api.github.com/repos/bolt/bolt/zipball/2d69e99f1d19dde82ec992b7f970d802b8ae9d7a 2d69e99f1d19dde82ec992b7f970d802b8ae9d7a path : /var/www/sites/logb/vendor/bolt/bolt names : bolt/bolt support issues : https://github.com/bolt/bolt/issues source : https://github.com/bolt/bolt/tree/3.7.4.1 autoload psr-4 Bolt\ => src files requires bolt/collection ^1.1 bolt/common ^1.0 bolt/filesystem ^2.5 bolt/package-wrapper ^5.0 bolt/passwordlib ^1.0 bolt/pathogen ^0.6 bolt/requirements ^1.0.2 bolt/session ^1.1 bolt/themes ^2.0 bolt/thumbs ^3.4 brandonwamboldt/utilphp ^1.1 cocur/slugify ^3.2 composer/composer ^2 doctrine/cache ^1.9 doctrine/dbal ^2.9 embed/embed ^3.3 erusev/parsedown-extra ^0.8 ext-curl * ext-exif * ext-fileinfo * ext-gd * ext-json * ext-openssl * ext-pdo * ext-xml * ext-zip * filp/whoops ^2.5 guzzlehttp/guzzle ^6.3 guzzlehttp/psr7 1.5.* ircmaxell/random-lib ^1.2 jdorn/sql-formatter ^1.2 monolog/monolog ^1.25 nesbot/carbon 1.37.* php ^7.1.3 silex/silex ^1.3 silex/web-profiler ^1.0 siriusphp/upload ^1.3 stecman/symfony-console-completion ^0.11 swiftmailer/swiftmailer ^5.4.5 symfony/asset ^2.8 symfony/config ^2.8 symfony/console ^2.8 symfony/debug ^2.8 symfony/event-dispatcher ^2.8 symfony/filesystem ^2.8 symfony/finder ^2.8 symfony/form ^2.8 symfony/http-foundation ^2.8 symfony/http-kernel ^2.8 symfony/intl ^2.8 symfony/monolog-bridge ^2.8 symfony/options-resolver ^2.8 symfony/process ^2.8 symfony/property-access ^2.8 symfony/routing ^2.8 symfony/security ^2.8 symfony/security-acl ^2.8 symfony/stopwatch ^2.8 symfony/translation ^2.8 symfony/twig-bridge ^2.8 symfony/validator ^2.8 symfony/var-dumper ^2.8 symfony/web-profiler-bundle ^2.8 symfony/yaml ^2.8 tdammers/htmlmaid ^0.7 twig/twig ^1.42 ua-parser/uap-php ^3.9 requires (dev) bolt/codingstyle ^2.0@dev codeception/codeception ^2.5 league/flysystem-memory ^1.0 lstrojny/phpunit-function-mocker ^0.4 phpunit/dbunit ^1.3 phpunit/php-code-coverage ^4.0 phpunit/phpunit ^5.7 psr/cache ^1.0 psr/simple-cache ^1.0 sebastian/phpcpd ^2.0 sorien/silex-pimple-dumper ^1.0 symfony/browser-kit ^3.4 symfony/phpunit-bridge ^3.4 conflicts rossriley/flysystem53 *
apt - install php82-gd
tingo@kg-bpi:~$ sudo apt install php8.2-gd Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libabsl20220623 libavif15 libde265-0 libgav1-1 libgd3 libheif1 libxpm4 libyuv0 Suggested packages: libgd-tools The following NEW packages will be installed: libabsl20220623 libavif15 libde265-0 libgav1-1 libgd3 libheif1 libxpm4 libyuv0 php8.2-gd 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 1,315 kB of archives. After this operation, 6,966 kB of additional disk space will be used. [..] Processing triggers for php8.2-cli (8.2.7-1~deb12u1) ...
apt - also install: php82-xml, php82-zip,
when I re-run the compser check, I get
tingo@kg-bpi:/var/www/sites/logb$ composer outdated bolt/bolt Cannot use bolt/bolt 3.7.4.1 as it requires php ^7.1.3 which is not satisfied by your platform. name : bolt/bolt descrip. : Sophisticated, lightweight & simple CMS keywords : cms, php, silex, symfony versions : * 3.7.4.1 latest : v3.2.2 type : library license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText homepage : http://bolt.cm source : [git] https://github.com/bolt/bolt.git 2d69e99f1d19dde82ec992b7f970d802b8ae9d7a dist : [zip] https://api.github.com/repos/bolt/bolt/zipball/2d69e99f1d19dde82ec992b7f970d802b8ae9d7a 2d69e99f1d19dde82ec992b7f970d802b8ae9d7a path : /var/www/sites/logb/vendor/bolt/bolt names : bolt/bolt support issues : https://github.com/bolt/bolt/issues source : https://github.com/bolt/bolt/tree/3.7.4.1 autoload psr-4 Bolt\ => src files requires bolt/collection ^1.1 bolt/common ^1.0 bolt/filesystem ^2.5 bolt/package-wrapper ^5.0 bolt/passwordlib ^1.0 bolt/pathogen ^0.6 bolt/requirements ^1.0.2 bolt/session ^1.1 bolt/themes ^2.0 bolt/thumbs ^3.4 brandonwamboldt/utilphp ^1.1 cocur/slugify ^3.2 composer/composer ^2 doctrine/cache ^1.9 doctrine/dbal ^2.9 embed/embed ^3.3 erusev/parsedown-extra ^0.8 ext-curl * ext-exif * ext-fileinfo * ext-gd * ext-json * ext-openssl * ext-pdo * ext-xml * ext-zip * filp/whoops ^2.5 guzzlehttp/guzzle ^6.3 guzzlehttp/psr7 1.5.* ircmaxell/random-lib ^1.2 jdorn/sql-formatter ^1.2 monolog/monolog ^1.25 nesbot/carbon 1.37.* php ^7.1.3 silex/silex ^1.3 silex/web-profiler ^1.0 siriusphp/upload ^1.3 stecman/symfony-console-completion ^0.11 swiftmailer/swiftmailer ^5.4.5 symfony/asset ^2.8 symfony/config ^2.8 symfony/console ^2.8 symfony/debug ^2.8 symfony/event-dispatcher ^2.8 symfony/filesystem ^2.8 symfony/finder ^2.8 symfony/form ^2.8 symfony/http-foundation ^2.8 symfony/http-kernel ^2.8 symfony/intl ^2.8 symfony/monolog-bridge ^2.8 symfony/options-resolver ^2.8 symfony/process ^2.8 symfony/property-access ^2.8 symfony/routing ^2.8 symfony/security ^2.8 symfony/security-acl ^2.8 symfony/stopwatch ^2.8 symfony/translation ^2.8 symfony/twig-bridge ^2.8 symfony/validator ^2.8 symfony/var-dumper ^2.8 symfony/web-profiler-bundle ^2.8 symfony/yaml ^2.8 tdammers/htmlmaid ^0.7 twig/twig ^1.42 ua-parser/uap-php ^3.9 requires (dev) bolt/codingstyle ^2.0@dev codeception/codeception ^2.5 league/flysystem-memory ^1.0 lstrojny/phpunit-function-mocker ^0.4 phpunit/dbunit ^1.3 phpunit/php-code-coverage ^4.0 phpunit/phpunit ^5.7 psr/cache ^1.0 psr/simple-cache ^1.0 sebastian/phpcpd ^2.0 sorien/silex-pimple-dumper ^1.0 symfony/browser-kit ^3.4 symfony/phpunit-bridge ^3.4 conflicts rossriley/flysystem53 *
hmm, try to upgrade bolt anyway
tingo@kg-bpi:/var/www/sites/logb$ composer require bolt/bolt ^3.7 --update-with-dependencies ./composer.json has been updated Running composer update bolt/bolt --with-dependencies Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^5.5.9 || ^7.0 but your php version (8.2.7) does not satisfy that requirement. Problem 2 - bolt/bolt[v3.7.0, ..., 3.7.5] require php ^7.1.3 -> your php version (8.2.7) does not satisfy that requirement. - Root composer.json requires bolt/bolt ^3.7 -> satisfiable by bolt/bolt[v3.7.0, ..., 3.7.5]. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
try to export data
tingo@kg-bpi:/var/www/sites/logb$ app/nut database:export --file=my_site_data_export.yml --users PHP Deprecated: Use of "static" in callables is deprecated in /var/www/sites/logb/vendor/webmozart/assert/src/Assert.php on line 1958 [InvalidArgumentException] The directory "/var/www/sites/logb/app/cache/development/data" is not writable. Exception trace: () at /var/www/sites/logb/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php:98 Doctrine\Common\Cache\FileCache->__construct() at /var/www/sites/logb/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php:29 Doctrine\Common\Cache\FilesystemCache->__construct() at /var/www/sites/logb/vendor/bolt/bolt/src/Cache.php:45 Bolt\Cache->__construct() at /var/www/sites/logb/vendor/bolt/bolt/src/Provider/CacheServiceProvider.php:16 Bolt\Provider\CacheServiceProvider->Bolt\Provider\{closure}() at /var/www/sites/logb/vendor/pimple/pimple/lib/Pimple.php:126 Pimple::{closure}() at /var/www/sites/logb/vendor/pimple/pimple/lib/Pimple.php:83 Pimple->offsetGet() at /var/www/sites/logb/vendor/bolt/bolt/src/Provider/ConfigServiceProvider.php:36 Bolt\Provider\ConfigServiceProvider->Bolt\Provider\{closure}() at /var/www/sites/logb/vendor/pimple/pimple/lib/Pimple.php:126 Pimple::{closure}() at /var/www/sites/logb/vendor/pimple/pimple/lib/Pimple.php:83 Pimple->offsetGet() at /var/www/sites/logb/vendor/bolt/bolt/src/Provider/ConfigServiceProvider.php:82 Bolt\Provider\ConfigServiceProvider->boot() at /var/www/sites/logb/vendor/silex/silex/src/Silex/Application.php:197 Silex\Application->boot() at /var/www/sites/logb/vendor/bolt/bolt/app/nut:15
fix that (added my user to the greoup www-data temporarily) adn re-try
tingo@kg-bpi:/var/www/sites/logb$ app/nut database:export --file=my_site_data_export.yml --users PHP Deprecated: Use of "static" in callables is deprecated in /var/www/sites/logb/vendor/webmozart/assert/src/Assert.php on line 1958 [WARNING] This command operates on the current database, taking a backup is advised before export. Are you sure you want to continue with the export (yes/no) [yes]: > yes [Symfony\Component\Debug\Exception\FatalThrowableError] Type error: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/sites/logb/vendor/nesbot/ carbon/src/Carbon/Carbon.php on line 552 database:export [-f|--file FILE] [-d|--directory DIRECTORY] [-c|--contenttype CONTENTTYPE] [-u|--users] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command> <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="robots" content="noindex,nofollow" /> <style> /* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */ html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;} html { background: #eee; padding: 10px } img { border: 0; } #sf-resetcontent { width:970px; margin:0 auto; } .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 } .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; } .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; } .sf-reset .clear_fix { display:inline-block; } .sf-reset * html .clear_fix { height:1%; } .sf-reset .clear_fix { display:block; } .sf-reset, .sf-reset .block { margin: auto } .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; } .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px } .sf-reset strong { font-weight:bold; } .sf-reset a { color:#6c6159; cursor: default; } .sf-reset a img { border:none; } .sf-reset a:hover { text-decoration:underline; } .sf-reset em { font-style:italic; } .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif } .sf-reset .exception_counter { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; float: left; display: block; } .sf-reset .exception_title { margin-left: 3em; margin-bottom: 0.7em; display: block; } .sf-reset .exception_message { margin-left: 3em; display: block; } .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; } .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px; -webkit-border-bottom-right-radius: 16px; -webkit-border-bottom-left-radius: 16px; -moz-border-radius-bottomright: 16px; -moz-border-radius-bottomleft: 16px; border-bottom-right-radius: 16px; border-bottom-left-radius: 16px; border-bottom:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; word-wrap: break-word; } .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px; -webkit-border-top-left-radius: 16px; -webkit-border-top-right-radius: 16px; -moz-border-radius-topleft: 16px; -moz-border-radius-topright: 16px; border-top-left-radius: 16px; border-top-right-radius: 16px; border-top:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; overflow: hidden; word-wrap: break-word; } .sf-reset a { background:none; color:#868686; text-decoration:none; } .sf-reset a:hover { background:none; color:#313131; text-decoration:underline; } .sf-reset ol { padding: 10px 0; } .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border: 1px solid #ccc; } </style> </head> <body> <div id="sf-resetcontent" class="sf-reset"> <h1>Whoops, looks like something went wrong.</h1> <h2 class="block_exception clear_fix"> <span class="exception_counter">1/1</span> <span class="exception_title"><abbr title="Symfony\Component\Debug\Exception\FatalThrowableError">FatalThrowableError</abbr> in <a title="/var/www/sites/logb/vendor/nesbot/carbon/src/Carbon/Carbon.php line 920" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Carbon.php line 920</a>:</span> <span class="exception_message">Type error: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/sites/logb/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 552</span> </h2> <div class="block"> <ol class="traces list_exception"> <li> in <a title="/var/www/sites/logb/vendor/nesbot/carbon/src/Carbon/Carbon.php line 920" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Carbon.php line 920</a></li> <li>at <abbr title="Carbon\Carbon">Carbon</abbr>::setLastErrors() in <a title="/var/www/sites/logb/vendor/nesbot/carbon/src/Carbon/Carbon.php line 552" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Carbon.php line 552</a></li> <li>at <abbr title="Carbon\Carbon">Carbon</abbr>->__construct() in <a title="/var/www/sites/logb/vendor/nesbot/carbon/src/Carbon/Carbon.php line 599" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Carbon.php line 599</a></li> <li>at <abbr title="Carbon\Carbon">Carbon</abbr>::now() in <a title="/var/www/sites/logb/vendor/bolt/bolt/src/Storage/Migration/Export.php line 93" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Export.php line 93</a></li> <li>at <abbr title="Bolt\Storage\Migration\Export">Export</abbr>->addExportMeta() in <a title="/var/www/sites/logb/vendor/bolt/bolt/src/Storage/Migration/Export.php line 71" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Export.php line 71</a></li> <li>at <abbr title="Bolt\Storage\Migration\Export">Export</abbr>->run() in <a title="/var/www/sites/logb/vendor/bolt/bolt/src/Nut/DatabaseExport.php line 62" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">DatabaseExport.php line 62</a></li> <li>at <abbr title="Bolt\Nut\DatabaseExport">DatabaseExport</abbr>->execute() in <a title="/var/www/sites/logb/vendor/symfony/console/Command/Command.php line 245" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Command.php line 245</a></li> <li>at <abbr title="Symfony\Component\Console\Command\Command">Command</abbr>->run() in <a title="/var/www/sites/logb/vendor/symfony/console/Application.php line 853" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 853</a></li> <li>at <abbr title="Symfony\Component\Console\Application">Application</abbr>->doRunCommand() in <a title="/var/www/sites/logb/vendor/symfony/console/Application.php line 185" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 185</a></li> <li>at <abbr title="Symfony\Component\Console\Application">Application</abbr>->doRun() in <a title="/var/www/sites/logb/vendor/symfony/console/Application.php line 117" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 117</a></li> <li>at <abbr title="Symfony\Component\Console\Application">Application</abbr>->run() in <a title="/var/www/sites/logb/vendor/bolt/bolt/app/nut line 19" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">nut line 19</a></li> </ol> </div> </div> </body> </html>tingo@kg-bpi:/var/www/sites/logb$
nope, didn't like that one bit.
2023-07-23: mmcblk0p1 - bolt - try to update via composer
tingo@kg-bpi:/var/www/sites/logb$ composer update Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled. Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine ^C
from a different shell, apt - install php-curl
tingo@kg-bpi:~$ sudo apt install php-curl Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: php8.2-curl The following NEW packages will be installed: php-curl php8.2-curl 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 35.3 kB of archives. After this operation, 120 kB of additional disk space will be used. [..] Processing triggers for php8.2-fpm (8.2.7-1~deb12u1) ... Processing triggers for php8.2-cli (8.2.7-1~deb12u1) ...
then re-run the composer update
tingo@kg-bpi:/var/www/sites/logb$ composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^5.5.9 || ^7.0 but your php version (8.2.7) does not satisfy that requirement. Problem 2 - bolt/bolt[v3.6.0-beta.1, ..., 3.7.5] require ext-gd * -> it is missing from your system. Install or enable PHP's gd extension. - Root composer.json requires bolt/bolt ^3.6 -> satisfiable by bolt/bolt[v3.6.0-beta.1, ..., 3.7.5]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/8.2/cli/php.ini - /etc/php/8.2/cli/conf.d/10-opcache.ini - /etc/php/8.2/cli/conf.d/10-pdo.ini - /etc/php/8.2/cli/conf.d/20-calendar.ini - /etc/php/8.2/cli/conf.d/20-ctype.ini - /etc/php/8.2/cli/conf.d/20-curl.ini - /etc/php/8.2/cli/conf.d/20-exif.ini - /etc/php/8.2/cli/conf.d/20-ffi.ini - /etc/php/8.2/cli/conf.d/20-fileinfo.ini - /etc/php/8.2/cli/conf.d/20-ftp.ini - /etc/php/8.2/cli/conf.d/20-gettext.ini - /etc/php/8.2/cli/conf.d/20-iconv.ini - /etc/php/8.2/cli/conf.d/20-intl.ini - /etc/php/8.2/cli/conf.d/20-mbstring.ini - /etc/php/8.2/cli/conf.d/20-phar.ini - /etc/php/8.2/cli/conf.d/20-posix.ini - /etc/php/8.2/cli/conf.d/20-readline.ini - /etc/php/8.2/cli/conf.d/20-shmop.ini - /etc/php/8.2/cli/conf.d/20-sockets.ini - /etc/php/8.2/cli/conf.d/20-sysvmsg.ini - /etc/php/8.2/cli/conf.d/20-sysvsem.ini - /etc/php/8.2/cli/conf.d/20-sysvshm.ini - /etc/php/8.2/cli/conf.d/20-tokenizer.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.
ok, so that did not work out.
2023-07-23: mmcblk0p1 - apt - install composer
tingo@kg-bpi:~$ sudo apt install composer Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: jsonlint php-composer-ca-bundle php-composer-class-map-generator php-composer-metadata-minifier php-composer-pcre php-composer-semver php-composer-spdx-licenses php-composer-xdebug-handler php-intl php-json-schema php-mbstring php-psr-container php-psr-log php-react-promise php-seld-signal-handler php-symfony-console php-symfony-deprecation-contracts php-symfony-filesystem php-symfony-finder php-symfony-process php-symfony-service-contracts php-symfony-string php8.2-intl php8.2-mbstring Suggested packages: fossil mercurial subversion php-zip php-symfony-event-dispatcher php-symfony-lock php-symfony-service-implementation The following NEW packages will be installed: composer jsonlint php-composer-ca-bundle php-composer-class-map-generator php-composer-metadata-minifier php-composer-pcre php-composer-semver php-composer-spdx-licenses php-composer-xdebug-handler php-intl php-json-schema php-mbstring php-psr-container php-psr-log php-react-promise php-seld-signal-handler php-symfony-console php-symfony-deprecation-contracts php-symfony-filesystem php-symfony-finder php-symfony-process php-symfony-service-contracts php-symfony-string php8.2-intl php8.2-mbstring 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. Need to get 1,472 kB of archives. After this operation, 6,442 kB of additional disk space will be used. [..] Processing triggers for libapache2-mod-php8.2 (8.2.7-1~deb12u1) ... Warning: Could not load Apache 2.4 maintainer script helper. Processing triggers for man-db (2.11.2-2) ... Processing triggers for php8.2-cli (8.2.7-1~deb12u1) ...
2023-07-15: mmcblk0p1 - apt - install php-fpm
tingo@kg-bpi:~$ sudo apt install php8.2-fpm Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: php-pear The following NEW packages will be installed: php8.2-fpm 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,459 kB of archives. After this operation, 3,400 kB of additional disk space will be used. Get:1 http://security.debian.org bookworm-security/main armhf php8.2-fpm armhf 8.2.7-1~deb12u1 [1,459 kB] Fetched 1,459 kB in 0s (5,806 kB/s) Selecting previously unselected package php8.2-fpm. (Reading database ... 45590 files and directories currently installed.) Preparing to unpack .../php8.2-fpm_8.2.7-1~deb12u1_armhf.deb ... Unpacking php8.2-fpm (8.2.7-1~deb12u1) ... Setting up php8.2-fpm (8.2.7-1~deb12u1) ... Creating config file /etc/php/8.2/fpm/php.ini with new version Created symlink /etc/systemd/system/multi-user.target.wants/php8.2-fpm.service → /lib/systemd/system/php8.2-fpm.service. Processing triggers for man-db (2.11.2-2) ... Processing triggers for php8.2-fpm (8.2.7-1~deb12u1) ...
it seems I forgot this during the upgrade a few days ago. And restart nginx
tingo@kg-bpi:~$ sudo systemctl restart nginx
check
tingo@kg-bpi:~$ systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled) Active: active (running) since Sat 2023-07-15 19:37:53 CEST; 2min 30s ago Docs: man:nginx(8) Process: 4396 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 4397 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 4398 (nginx) Tasks: 3 (limit: 2134) Memory: 1.4M CPU: 121ms CGroup: /system.slice/nginx.service ├─4398 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;" ├─4399 "nginx: worker process" └─4400 "nginx: worker process" Jul 15 19:37:53 kg-bpi systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... Jul 15 19:37:53 kg-bpi systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server.
bolt probably needs an upgrade too.
2023-07-12: Home Assistant - "first start" - again
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2023-07-12 11:45:16.849 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2023-07-12 11:45:42.825 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff-rf-bridge @ 10.1.161.22: Error connecting to ('10.1.161.22', 6053): [Errno 113] Connect call failed ('10.1.161.22', 6053) (SocketAPIError) 2023-07-12 11:45:49.625 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2023-07-12 11:46:01.005 WARNING (SyncWorker_5) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2023-07-12 11:47:00.272 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:47:00.288 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities']
yes, now Home Assistant is working again. Finally.
2023-07-12: Home Assistant - another "first start"
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2023-07-12 11:11:29.835 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2023-07-12 11:11:38.307 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds. 2023-07-12 11:11:38.311 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2023-07-12 11:11:38.317 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2023-07-12 11:11:38.322 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds. 2023-07-12 11:12:28.240 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sun, mill, mqtt 2023-07-12 11:13:28.614 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sun, mill, mqtt 2023-07-12 11:14:29.017 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sun, mill, mqtt 2023-07-12 11:15:29.710 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sun, mill, mqtt 2023-07-12 11:16:30.114 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sun, mill, mqtt 2023-07-12 11:17:25.465 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Sun for sun Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/sun/__init__.py", line 104, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, [Platform.SENSOR]) File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1375, in async_forward_entry_setups await asyncio.gather( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1396, in async_forward_entry_setup result = await async_setup_component(self.hass, domain, self._hass_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 95, in async_setup_component return await setup_tasks[domain] ^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError 2023-07-12 11:17:25.504 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 10.1.161.5 for mill Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mill/__init__.py", line 79, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1375, in async_forward_entry_setups await asyncio.gather( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1396, in async_forward_entry_setup result = await async_setup_component(self.hass, domain, self._hass_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 95, in async_setup_component return await setup_tasks[domain] ^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError 2023-07-12 11:17:25.533 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 10.1.161.23 for mill Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mill/__init__.py", line 79, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1375, in async_forward_entry_setups await asyncio.gather( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1396, in async_forward_entry_setup result = await async_setup_component(self.hass, domain, self._hass_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 95, in async_setup_component return await setup_tasks[domain] ^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError 2023-07-12 11:17:25.556 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry tingox+mill@gmail.com for mill Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mill/__init__.py", line 79, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1375, in async_forward_entry_setups await asyncio.gather( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1396, in async_forward_entry_setup result = await async_setup_component(self.hass, domain, self._hass_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 95, in async_setup_component return await setup_tasks[domain] ^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError 2023-07-12 11:17:25.579 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry localhost for mqtt Traceback (most recent call last): File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mqtt/__init__.py", line 399, in async_setup_entry await async_forward_entry_setup_and_setup_discovery(entry, conf) File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/components/mqtt/__init__.py", line 379, in async_forward_entry_setup_and_setup_discovery await asyncio.gather( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 1396, in async_forward_entry_setup result = await async_setup_component(self.hass, domain, self._hass_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 95, in async_setup_component return await setup_tasks[domain] ^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError 2023-07-12 11:17:25.619 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward 2023-07-12 11:17:25.662 WARNING (SyncWorker_3) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2023-07-12 11:18:00.416 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:18:00.446 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:19:00.384 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:19:00.403 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:20:00.387 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:20:00.406 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:21:00.388 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-07-12 11:21:00.408 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities']
sigh - it seems it needs another round.
2023-07-12: armbian - apt - install libswscal and libswresample
tingo@kg-bpi:~$ sudo apt install libswscale6 libswresample4 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libavutil57 libdrm-common libdrm2 libsoxr0 libva-drm2 libva-x11-2 libva2 libvdpau1 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri3-0 libxcb1 libxdmcp6 libxext6 libxfixes3 ocl-icd-libopencl1 Suggested packages: opencl-icd Recommended packages: va-driver-all | va-driver vdpau-driver-all | vdpau-driver The following NEW packages will be installed: libavutil57 libdrm-common libdrm2 libsoxr0 libswresample4 libswscale6 libva-drm2 libva-x11-2 libva2 libvdpau1 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri3-0 libxcb1 libxdmcp6 libxext6 libxfixes3 ocl-icd-libopencl1 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. Need to get 2,398 kB of archives. After this operation, 6,132 kB of additional disk space will be used. [..] Processing triggers for libc-bin (2.36-9) ...
apt - install the av* packages
tingo@kg-bpi:~$ sudo apt install libavcodec59 libavdevice59 libavfilter8 libavformat59 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: fontconfig fontconfig-config fonts-dejavu-core libaom3 libass9 libasyncns0 libavc1394-0 libblas3 libbluray2 libbs2b0 libcairo-gobject2 libcairo2 libcdio-cdda2 libcdio-paranoia2 libcdio19 libchromaprint1 libcodec2-1.0 libdatrie1 libdav1d6 libdc1394-25 libdecor-0-0 libdeflate0 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libepoxy0 libflac12 libflite1 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgme0 libgraphite2-3 libgsm1 libharfbuzz0b libhwy1 libiec61883-0 libjack-jackd2-0 libjbig0 libjxl0.7 liblapack3 liblcms2-2 liblerc4 liblilv-0-0 libllvm15 libmp3lame0 libmpg123-0 libmysofa1 libnorm1 libogg0 libopenal-data libopenal1 libopenmpt0 libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpgm-5.3-0 libpixman-1-0 libplacebo208 libpocketsphinx3 libpostproc56 libpulse0 librabbitmq4 librav1e0 libraw1394-11 librist4 librsvg2-2 librubberband2 libsdl2-2.0-0 libserd-0-0 libshine3 libsnappy1v5 libsndfile1 libsndio7.0 libsord-0-0 libspeex1 libsphinxbase3 libsratom-0-0 libsrt1.5-gnutls libssh-gcrypt-4 libsvtav1enc1 libthai-data libthai0 libtheora0 libtiff6 libtwolame0 libudfread0 libvidstab1.1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx7 libvulkan1 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libwebp7 libwebpmux3 libx264-164 libx265-199 libxcb-dri2-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcursor1 libxi6 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1 libxv1 libxvidcore4 libxxf86vm1 libzimg2 libzmq5 libzvbi-common libzvbi0 shared-mime-info x11-common Suggested packages: libbluray-bdj jackd2 liblcms2-utils libportaudio2 opus-tools pulseaudio libraw1394-doc librsvg2-bin xdg-utils serdi sndiod sordi speex Recommended packages: libaacs0 libdecor-0-plugin-1-cairo | libdecor-0-plugin-1 libgdk-pixbuf2.0-bin pocketsphinx-en-us librsvg2-common mesa-vulkan-drivers | vulkan-icd The following NEW packages will be installed: fontconfig fontconfig-config fonts-dejavu-core libaom3 libass9 libasyncns0 libavc1394-0 libavcodec59 libavdevice59 libavfilter8 libavformat59 libblas3 libbluray2 libbs2b0 libcairo-gobject2 libcairo2 libcdio-cdda2 libcdio-paranoia2 libcdio19 libchromaprint1 libcodec2-1.0 libdatrie1 libdav1d6 libdc1394-25 libdecor-0-0 libdeflate0 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libepoxy0 libflac12 libflite1 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgme0 libgraphite2-3 libgsm1 libharfbuzz0b libhwy1 libiec61883-0 libjack-jackd2-0 libjbig0 libjxl0.7 liblapack3 liblcms2-2 liblerc4 liblilv-0-0 libllvm15 libmp3lame0 libmpg123-0 libmysofa1 libnorm1 libogg0 libopenal-data libopenal1 libopenmpt0 libopus0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpgm-5.3-0 libpixman-1-0 libplacebo208 libpocketsphinx3 libpostproc56 libpulse0 librabbitmq4 librav1e0 libraw1394-11 librist4 librsvg2-2 librubberband2 libsdl2-2.0-0 libserd-0-0 libshine3 libsnappy1v5 libsndfile1 libsndio7.0 libsord-0-0 libspeex1 libsphinxbase3 libsratom-0-0 libsrt1.5-gnutls libssh-gcrypt-4 libsvtav1enc1 libthai-data libthai0 libtheora0 libtiff6 libtwolame0 libudfread0 libvidstab1.1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx7 libvulkan1 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libwebp7 libwebpmux3 libx264-164 libx265-199 libxcb-dri2-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcursor1 libxi6 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1 libxv1 libxvidcore4 libxxf86vm1 libzimg2 libzmq5 libzvbi-common libzvbi0 shared-mime-info x11-common 0 upgraded, 141 newly installed, 0 to remove and 0 not upgraded. Need to get 86.8 MB of archives. After this operation, 260 MB of additional disk space will be used. [..] Processing triggers for libc-bin (2.36-9) ...
that didn't help for Home Assistant. Perhaps I need the -dev packages to. apt - install libav*-dev packages
tingo@kg-bpi:~$ sudo apt install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libavutil-dev libpostproc-dev libswresample-dev libswscale-dev The following NEW packages will be installed: libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 8,955 kB of archives. After this operation, 25.4 MB of additional disk space will be used. [..] Setting up libavdevice-dev:armhf (7:5.1.3-1) ...
2023-07-12: Home Assistant - upgrade - first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2023-07-12 01:31:28.148 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: image_upload 2023-07-12 01:34:33.277 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: analytics 2023-07-12 01:35:38.500 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder 2023-07-12 01:35:43.640 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2023-07-12 01:35:48.036 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds. [..] File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/botocore/utils.py", line 37, in <module> import botocore.httpsession File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/botocore/httpsession.py", line 45, in <module> from urllib3.contrib.pyopenssl import ( File "/home/tingo/.venv/homeassistant/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py", line 97, in <module> util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, ^^^^^^^^^^^^^^^^^ AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS'
hmm, loads of the above in the output. Perhaps issue 95192? Try source install of botocore
(homeassistant) tingo@kg-bpi:~$ pip install git+https://github.com/boto/botocore Collecting git+https://github.com/boto/botocore Cloning https://github.com/boto/botocore to /tmp/pip-req-build-js45zdmg Running command git clone --filter=blob:none --quiet https://github.com/boto/botocore /tmp/pip-req-build-js45zdmg Resolved https://github.com/boto/botocore to commit 227c1cef8fefd2600a56dd3570a0d589def4bd52 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in ./.venv/homeassistant/lib/python3.11/site-packages (from botocore==1.31.2) (1.0.1) Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in ./.venv/homeassistant/lib/python3.11/site-packages (from botocore==1.31.2) (2.8.2) Requirement already satisfied: urllib3<1.27,>=1.25.4 in ./.venv/homeassistant/lib/python3.11/site-packages (from botocore==1.31.2) (1.26.16) Requirement already satisfied: six>=1.5 in ./.venv/homeassistant/lib/python3.11/site-packages (from python-dateutil<3.0.0,>=2.1->botocore==1.31.2) (1.16.0)
and re-try startup
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2023-07-12 01:58:48.910 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2023-07-12 02:05:19.764 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: zeroconf 2023-07-12 02:08:12.473 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: bluetooth 2023-07-12 03:07:42.961 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package ha-av==10.1.0: error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [11 lines of output] Package libavformat was not found in the pkg-config search path. Perhaps you should add the directory containing `libavformat.pc' to the PKG_CONFIG_PATH environment variable Package 'libavformat', required by 'virtual:world', not found Package 'libavcodec', required by 'virtual:world', not found Package 'libavdevice', required by 'virtual:world', not found Package 'libavutil', required by 'virtual:world', not found Package 'libavfilter', required by 'virtual:world', not found Package 'libswscale', required by 'virtual:world', not found Package 'libswresample', required by 'virtual:world', not found pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample'] [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. 2023-07-12 03:09:24.759 ERROR (MainThread) [homeassistant.setup] Setup failed for stream: Requirements for stream not found: ['ha-av==10.1.0'].
but other than that, it appears to work.
2023-07-11: Home Assistant - upgrade
(homeassistant) tingo@kg-bpi:~$ which pip3 /home/tingo/.venv/homeassistant/bin/pip3 (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant error: [Errno 28] No space left on device [end of output]
failed, so re-run it
(homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Collecting homeassistant Using cached homeassistant-2023.7.1-py3-none-any.whl (25.9 MB) Collecting aiohttp==3.8.4 Using cached aiohttp-3.8.4-cp311-cp311-linux_armv7l.whl Collecting astral==2.2 Using cached astral-2.2-py2.py3-none-any.whl (30 kB) Collecting async-timeout==4.0.2 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting attrs==22.2.0 Using cached attrs-22.2.0-py3-none-any.whl (60 kB) Collecting atomicwrites-homeassistant==1.4.1 Using cached atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl (7.1 kB) Collecting awesomeversion==22.9.0 Using cached awesomeversion-22.9.0-py3-none-any.whl (12 kB) Collecting bcrypt==4.0.1 Using cached bcrypt-4.0.1-cp311-cp311-linux_armv7l.whl Collecting certifi>=2021.5.30 Using cached certifi-2023.5.7-py3-none-any.whl (156 kB) Collecting ciso8601==2.3.0 Using cached ciso8601-2.3.0-cp311-cp311-linux_armv7l.whl Collecting httpx==0.24.1 Using cached httpx-0.24.1-py3-none-any.whl (75 kB) Collecting home-assistant-bluetooth==1.10.0 Using cached home_assistant_bluetooth-1.10.0.tar.gz (10 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting ifaddr==0.2.0 Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB) Collecting Jinja2==3.1.2 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting lru-dict==1.2.0 Using cached lru-dict-1.2.0.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting PyJWT==2.7.0 Using cached PyJWT-2.7.0-py3-none-any.whl (22 kB) Collecting cryptography==41.0.1 Using cached cryptography-41.0.1.tar.gz (629 kB) [..]
turns out it was not enogh space on /tmp for building the cryptography package, so I had to set TMPDIR to another path temorarily
(homeassistant) tingo@kg-bpi:~$ TMPDIR='/usr/tmp' pip3 install --upgrade homeassistant Collecting homeassistant Using cached homeassistant-2023.7.1-py3-none-any.whl (25.9 MB) Collecting aiohttp==3.8.4 Using cached aiohttp-3.8.4-cp311-cp311-linux_armv7l.whl Collecting astral==2.2 Using cached astral-2.2-py2.py3-none-any.whl (30 kB) Collecting async-timeout==4.0.2 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting attrs==22.2.0 Using cached attrs-22.2.0-py3-none-any.whl (60 kB) Collecting atomicwrites-homeassistant==1.4.1 Using cached atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl (7.1 kB) Collecting awesomeversion==22.9.0 Using cached awesomeversion-22.9.0-py3-none-any.whl (12 kB) Collecting bcrypt==4.0.1 Using cached bcrypt-4.0.1-cp311-cp311-linux_armv7l.whl Collecting certifi>=2021.5.30 Using cached certifi-2023.5.7-py3-none-any.whl (156 kB) Collecting ciso8601==2.3.0 Using cached ciso8601-2.3.0-cp311-cp311-linux_armv7l.whl Collecting httpx==0.24.1 Using cached httpx-0.24.1-py3-none-any.whl (75 kB) Collecting home-assistant-bluetooth==1.10.0 Using cached home_assistant_bluetooth-1.10.0-cp311-cp311-manylinux_2_36_armv7l.whl Collecting ifaddr==0.2.0 Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB) Collecting Jinja2==3.1.2 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting lru-dict==1.2.0 Using cached lru-dict-1.2.0.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting PyJWT==2.7.0 Using cached PyJWT-2.7.0-py3-none-any.whl (22 kB) Collecting cryptography==41.0.1 Using cached cryptography-41.0.1.tar.gz (629 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pyOpenSSL==23.2.0 Using cached pyOpenSSL-23.2.0-py3-none-any.whl (59 kB) Collecting orjson==3.9.1 Using cached orjson-3.9.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (127 kB) Requirement already satisfied: pip<23.2,>=21.3.1 in ./.venv/homeassistant/lib/python3.11/site-packages (from homeassistant) (23.0.1) Collecting python-slugify==4.0.1 Using cached python-slugify-4.0.1.tar.gz (11 kB) Preparing metadata (setup.py) ... done Collecting PyYAML==6.0 Using cached PyYAML-6.0-cp311-cp311-linux_armv7l.whl Collecting requests==2.31.0 Using cached requests-2.31.0-py3-none-any.whl (62 kB) Collecting typing-extensions<5.0,>=4.6.3 Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting ulid-transform==0.7.2 Using cached ulid_transform-0.7.2-cp311-cp311-manylinux_2_36_armv7l.whl Collecting voluptuous==0.13.1 Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) Collecting voluptuous-serialize==2.6.0 Using cached voluptuous_serialize-2.6.0-py3-none-any.whl (6.8 kB) Collecting yarl==1.9.2 Using cached yarl-1.9.2-cp311-cp311-linux_armv7l.whl Collecting charset-normalizer<4.0,>=2.0 Using cached charset_normalizer-3.2.0-py3-none-any.whl (46 kB) Collecting multidict<7.0,>=4.5 Using cached multidict-6.0.4-cp311-cp311-linux_armv7l.whl Collecting frozenlist>=1.1.1 Using cached frozenlist-1.3.3-cp311-cp311-linux_armv7l.whl Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting pytz Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB) Requirement already satisfied: cffi>=1.12 in ./.venv/homeassistant/lib/python3.11/site-packages (from cryptography==41.0.1->homeassistant) (1.15.1) Collecting httpcore<0.18.0,>=0.15.0 Using cached httpcore-0.17.3-py3-none-any.whl (74 kB) Collecting idna Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting sniffio Using cached sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.3.tar.gz (19 kB) Preparing metadata (setup.py) ... done Collecting text-unidecode>=1.3 Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB) Collecting urllib3<3,>=1.21.1 Using cached urllib3-2.0.3-py3-none-any.whl (123 kB) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.11/site-packages (from cffi>=1.12->cryptography==41.0.1->homeassistant) (2.21) Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting anyio<5.0,>=3.0 Using cached anyio-3.7.1-py3-none-any.whl (80 kB) Building wheels for collected packages: cryptography Building wheel for cryptography (pyproject.toml) ... done Created wheel for cryptography: filename=cryptography-41.0.1-cp311-cp311-linux_armv7l.whl size=3553992 sha256=d56471c6f361041c58e8d19ec3e981cc4e5089bc77e887949fb711210cba2fc8 Stored in directory: /home/tingo/.cache/pip/wheels/c1/f0/28/04febfc0ec84e277e12e9b12761aa342f789e66b7740bafc01 Successfully built cryptography Installing collected packages: voluptuous, text-unidecode, pytz, lru-dict, ifaddr, ciso8601, voluptuous-serialize, urllib3, ulid-transform, typing-extensions, sniffio, PyYAML, python-slugify, PyJWT, orjson, multidict, MarkupSafe, idna, home-assistant-bluetooth, h11, frozenlist, charset-normalizer, certifi, bcrypt, awesomeversion, attrs, atomicwrites-homeassistant, async-timeout, astral, yarl, requests, Jinja2, cryptography, anyio, aiosignal, pyOpenSSL, httpcore, aiohttp, httpx, homeassistant DEPRECATION: lru-dict is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for lru-dict ... done DEPRECATION: python-slugify is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for python-slugify ... done DEPRECATION: MarkupSafe is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for MarkupSafe ... done Attempting uninstall: cryptography Found existing installation: cryptography 41.0.2 Uninstalling cryptography-41.0.2: Successfully uninstalled cryptography-41.0.2 Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.3 PyJWT-2.7.0 PyYAML-6.0 aiohttp-3.8.4 aiosignal-1.3.1 anyio-3.7.1 astral-2.2 async-timeout-4.0.2 atomicwrites-homeassistant-1.4.1 attrs-22.2.0 awesomeversion-22.9.0 bcrypt-4.0.1 certifi-2023.5.7 charset-normalizer-3.2.0 ciso8601-2.3.0 cryptography-41.0.1 frozenlist-1.3.3 h11-0.14.0 home-assistant-bluetooth-1.10.0 homeassistant-2023.7.1 httpcore-0.17.3 httpx-0.24.1 idna-3.4 ifaddr-0.2.0 lru-dict-1.2.0 multidict-6.0.4 orjson-3.9.1 pyOpenSSL-23.2.0 python-slugify-4.0.1 pytz-2023.3 requests-2.31.0 sniffio-1.3.0 text-unidecode-1.3 typing-extensions-4.7.1 ulid-transform-0.7.2 urllib3-2.0.3 voluptuous-0.13.1 voluptuous-serialize-2.6.0 yarl-1.9.2
that worked.
2023-07-11: armbian - which python3 version do we have
tingo@kg-bpi:~$ python3 --version Python 3.11.2
perhaps I can upgrade the venv?
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps] ENV_DIR [ENV_DIR ...] Creates virtual Python environments in one or more target directories. positional arguments: ENV_DIR A directory to create the environment in. options: -h, --help show this help message and exit --system-site-packages Give the virtual environment access to the system site-packages dir. --symlinks Try to use symlinks rather than copies, when symlinks are not the default for the platform. --copies Try to use copies rather than symlinks, even when symlinks are the default for the platform. --clear Delete the contents of the environment directory if it already exists, before environment creation. --upgrade Upgrade the environment directory to use this version of Python, assuming Python has been upgraded in-place. --without-pip Skips installing or upgrading pip in the virtual environment (pip is bootstrapped by default) --prompt PROMPT Provides an alternative prompt prefix for this environment. --upgrade-deps Upgrade core dependencies: pip setuptools to the latest version in PyPI Once an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory.
this one
tingo@kg-bpi:~$ l ~/.venv/homeassistant/ ./ ../ bin/ cache/ include/ lib/ LICENSE pyvenv.cfg share/
try it
tingo@kg-bpi:~$ python3.11 -m venv --upgrade ~/.venv/homeassistant/
did it work?
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ hass --help -bash: /home/tingo/.venv/homeassistant/bin/hass: cannot execute: required file not found
no.
2023-07-11: armbian - reboot, Debian 12.0 is now in
tingo@kg-bpi:~$ cat /etc/debian_version 12.0
kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 5.15.93-sunxi #23.02.2 SMP Fri Feb 17 23:49:46 UTC 2023 armv7l GNU/Linux
lsb_release info
tingo@kg-bpi:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
2023-07-11: armbian - start the bookworm upgrade. First apt update
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo apt update [..] 468 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt - minimal upgrade
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo apt upgrade --without-new-pkgs Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libexporter-tiny-perl liblist-moreutils-perl liblist-moreutils-xs-perl Use 'sudo apt autoremove' to remove them. The following packages have been kept back: alsa-utils apache2-bin apt apt-utils aptitude aptitude-common avahi-autoipd base-passwd bash bind9-dnsutils bind9-host bind9-libs binutils binutils-arm-linux-gnueabihf binutils-common bison bridge-utils bsdextrautils bsdutils btrfs-progs bzip2 cargo chrony cmake cmake-data composer coreutils cpio cpp cron curl dash dbus debianutils device-tree-compiler dialog diffutils dirmngr dmsetup dpkg dpkg-dev e2fsprogs ethtool f2fs-tools f3 fbset fdisk findutils flex fuse g++ gcc gir1.2-glib-2.0 git git-man gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grep groff-base gzip haveged hdparm hostname htop ifupdown init-system-helpers iotop iperf3 iproute2 iptables iputils-arping iputils-ping isc-dhcp-client kbd kmod less libacl1 libapparmor1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg-perl libapt-pkg6.0 libarchive13 libargon2-1 libasan6 libasound2 libasound2-data libassuan0 libatomic1 libatopology2 libaudit1 libbinutils libblkid1 libboost-iostreams1.74.0 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcap2-bin libcc1-0 libconfuse-dev libconfuse2 libcrypt-dev libcrypt1 libcryptsetup12 libctf0 libcurl3-gnutls libcurl4 libcwidget4 libdb5.3 libdbus-1-3 libdevmapper1.02.1 libdigest-sha-perl libdlt2 libdpkg-perl libedit2 libelf1 libext2fs2 libfdisk1 libffi-dev libfftw3-single3 libfido2-1 libfontconfig1 libfreetype6 libfstrm0 libfuse2 libgcc-s1 libgcrypt20 libgd3 libgdbm-compat4 libgdbm6 libgirepository-1.0-1 libglib2.0-0 libgnutls30 libgomp1 libgpg-error0 libgpm2 libgssapi-krb5-2 libidn2-0 libip4tc2 libip6tc2 libiperf0 libjson-c5 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 libksba8 liblist-moreutils-xs-perl liblocale-gettext-perl liblua5.3-0 liblzma5 libmagic-mgc libmagic1 libmaxminddb0 libmd0 libmosquitto1 libmount1 libncurses6 libncursesw6 libnewt0.52 libnftnl11 libnginx-mod-http-echo libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libnl-route-3-200 libnm0 libnss-myhostname libopenjp2-7 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpam0g libparted2 libpci3 libpcre2-8-0 libpcre3 libpcsclite1 libpipeline1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpopt0 libproc-processtable-perl libpsl5 libpython3-dev libpython3-stdlib libreadline8 libsasl2-2 libselinux1 libsemanage-common libsensors5 libslang2 libsmartcols1 libsqlite3-0 libss2 libssh2-1 libssl-dev libstd-rust-dev libstdc++6 libsysfs2 libsystemd0 libtcl8.6 libtinfo6 libtirpc-dev libtirpc3 libubsan1 libudev1 libunistring2 libutempter0 libuv1 libwrap0 libwrap0-dev libx11-6 libxapian30 libxml2 libxpm4 libxslt1.1 libxtables12 libz3-4 libzip4 libzstd1 locales login logrotate logsave lsb-base lsof m4 man-db mksh mosquitto mount nano ncurses-base ncurses-bin ncurses-term net-tools netcat-openbsd network-manager nginx-common nginx-light ntfs-3g openssh-client openssh-server openssh-sftp-server openssl parted passwd pciutils perl perl-base php php-common php-composer-spdx-licenses php-composer-xdebug-handler php-symfony-console php-symfony-finder php-symfony-service-contracts pinentry-curses policykit-1 procps psmisc pv python3 python3-apt python3-cffi-backend python3-dbus python3-dev python3-distutils python3-gi python3-lib2to3 python3-minimal python3-multidict python3-pycurl python3-software-properties python3-venv rfkill rsync rsyslog rustc screen sed software-properties-common stress sudo sunxi-tools sysfsutils sysstat systemd sysvinit-utils tar tcl8.6 u-boot-tools udev unzip util-linux vim vim-common vim-runtime wget whiptail wireguard-tools wireless-tools wpasupplicant xxd xz-utils zip The following packages will be upgraded: adduser apt-file apt-transport-https autoconf automake autotools-dev base-files bash-completion bc ca-certificates command-not-found console-setup console-setup-linux debconf debconf-utils debian-archive-keyring distro-info-data dnsutils evtest fake-hwclock fontconfig-config fonts-dejavu-core fping gir1.2-packagekitglib-1.0 ifenslave init initramfs-tools initramfs-tools-core iso-codes iw jsonlint keyboard-configuration klibc-utils libattr1 libaudit-common libbluetooth3 libbrotli1 libc-l10n libcaca0 libcjson1 libcom-err2 libconfuse-common libctf-nobfd0 libdebconfclient0 libdeflate0 liberror-perl libestr0 libexpat1 libexpat1-dev libexporter-tiny-perl libfastjson4 libfdt1 libgmp10 libhavege2 libhogweed6 libhttp-parser2.9 libisl23 libiw30 libjansson4 libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libjs-jquery libjs-sphinxdoc libjs-underscore libkeyutils1 libklibc libldap-common liblognorm5 liblz4-1 libmm-glib0 libmpc3 libmpfr6 libndp0 libnetfilter-conntrack3 libnettle8 libnfnetlink0 libnghttp2-14 libonig5 libpackagekit-glib2-18 libpam-runtime libpng16-16 libprotobuf-c1 libregexp-assemble-perl librhash0 libsamplerate0 libsasl2-modules-db libsctp1 libseccomp2 libsensors-config libsigc++-2.0-0v5 libsigsegv2 libtasn1-6 libtirpc-common libturbojpeg0 libturbojpeg0-dev libusb-1.0-0 libuuid1 libx11-data libxcb1 libxxhash0 libyaml-0-2 linux-base lsb-release mailcap mawk media-types mmc-utils netbase networkd-dispatcher pci.ids php-composer-ca-bundle php-composer-semver php-json-schema php-psr-container php-psr-log php-react-promise php-symfony-filesystem php-symfony-polyfill-php80 php-symfony-process python-apt-common python3-distro-info python3-pip python3-pkg-resources python3-setuptools python3-wheel readline-common resolvconf runit-helper sensible-utils systemd-sysv toilet toilet-fonts tzdata ucf unattended-upgrades unicode-data usbutils wireless-regdb xkb-data zlib1g zlib1g-dev 143 upgraded, 0 newly installed, 0 to remove and 325 not upgraded. Need to get 32.9 MB of archives. After this operation, 10.0 MB of additional disk space will be used. [..] Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Processing triggers for initramfs-tools (0.142) ... update-initramfs: Generating /boot/initrd.img-5.15.93-sunxi W: No zstd in /usr/bin:/sbin:/bin, using gzip update-initramfs: Converting to u-boot format
apt - do a full upgrade
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo apt full-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: fontconfig-config fonts-dejavu-core g++-10 jsonlint libabsl20220623 libaom3 libavif15 libbpf0 libcbor0 libdav1d6 libde265-0 libdeflate0 libdns-export1110 libev4 libexporter-tiny-perl libffi7 libfontconfig1 libfreetype6 libgav1-1 libgd3 libgit2-1.1 libheif1 libicu67 libisc-export1105 libjbig0 libjsoncpp24 liblerc4 liblist-moreutils-perl liblist-moreutils-xs-perl libllvm11 libmbedcrypto3 libmbedtls12 libmbedx509-0 libmpdec3 libncurses6 libntfs-3g883 libperl5.32 libprocps8 libpython3.9 libpython3.9-dev libpython3.9-minimal libpython3.9-stdlib librav1e0 libsigsegv2 libstd-rust-1.48 libstdc++-10-dev libsvtav1enc1 libtiff5 libtiff6 libwebp6 libwebp7 libwebsockets16 libx11-6 libx11-data libx265-199 libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 libyuv0 libzip4 perl-modules-5.32 php-composer-ca-bundle php-composer-pcre php-composer-semver php-composer-spdx-licenses php-composer-xdebug-handler php-json-schema php-psr-container php-psr-log php-react-promise php-symfony-deprecation-contracts php-symfony-finder php-symfony-polyfill-php80 php-symfony-process php-symfony-service-contracts python3-pycurl python3.9 python3.9-dev python3.9-minimal Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: composer fuse libapache2-mod-php7.4 libsemanage1 php-symfony-console php-symfony-filesystem php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-sqlite3 php7.4-xml php7.4-zip python-pip-whl python3.9-venv The following NEW packages will be installed: cpp-12 cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common fuse3 g++-12 gcc-11-base gcc-12 gcc-12-base libabsl20220623 libaom3 libapache2-mod-php8.2 libappstream4 libasan8 libavif15 libbpf1 libcbor0.8 libdav1d6 libde265-0 libduktape207 libdw1 libffi8 libfile-find-rule-perl libfuse3-3 libgav1-1 libgcc-12-dev libgit2-1.5 libglib2.0-bin libglib2.0-data libgstreamer1.0-0 libheif1 libicu72 libjemalloc2 libjsoncpp25 libldap-2.5-0 liblerc4 libllvm14 libmbedcrypto7 libmbedtls14 libmbedx509-1 libntfs-3g89 libnumber-compare-perl libperl5.36 libproc2-0 libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib librav1e0 libsemanage2 libsepol2 libssl3 libstd-rust-1.63 libstdc++-12-dev libstemmer0d libsvtav1enc1 libsystemd-shared libtext-glob-perl libtiff6 libunwind8 libwebp7 libx265-199 libxmlb2 libyuv0 nginx packagekit perl-modules-5.36 php-composer-pcre php-symfony-deprecation-contracts php8.2 php8.2-cli php8.2-common php8.2-opcache php8.2-readline pkexec polkitd python3-blinker python3-cryptography python3-distro python3-httplib2 python3-jwt python3-lazr.restfulclient python3-lazr.uri python3-oauthlib python3-pip-whl python3-pyparsing python3-setuptools-whl python3-six python3-wadllib python3.11 python3.11-dev python3.11-minimal python3.11-venv rpcsvc-proto sgml-base usrmerge util-linux-extra xml-core The following packages will be upgraded: alsa-utils apache2-bin apt apt-utils aptitude aptitude-common avahi-autoipd base-passwd bash bind9-dnsutils bind9-host bind9-libs binutils binutils-arm-linux-gnueabihf binutils-common bison bridge-utils bsdextrautils bsdutils btrfs-progs bzip2 cargo chrony cmake cmake-data coreutils cpio cpp cron curl dash dbus debianutils device-tree-compiler dialog diffutils dirmngr dmsetup dpkg dpkg-dev e2fsprogs ethtool f2fs-tools f3 fbset fdisk findutils flex g++ gcc gir1.2-glib-2.0 git git-man gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grep groff-base gzip haveged hdparm hostname htop ifupdown init-system-helpers iotop iperf3 iproute2 iptables iputils-arping iputils-ping isc-dhcp-client kbd kmod less libacl1 libapparmor1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg-perl libapt-pkg6.0 libarchive13 libargon2-1 libasan6 libasound2 libasound2-data libassuan0 libatomic1 libatopology2 libaudit1 libbinutils libblkid1 libboost-iostreams1.74.0 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcap2-bin libcc1-0 libconfuse-dev libconfuse2 libcrypt-dev libcrypt1 libcryptsetup12 libctf0 libcurl3-gnutls libcurl4 libcwidget4 libdb5.3 libdbus-1-3 libdevmapper1.02.1 libdigest-sha-perl libdlt2 libdpkg-perl libedit2 libelf1 libext2fs2 libfdisk1 libffi-dev libfftw3-single3 libfido2-1 libfontconfig1 libfreetype6 libfstrm0 libfuse2 libgcc-s1 libgcrypt20 libgd3 libgdbm-compat4 libgdbm6 libgirepository-1.0-1 libglib2.0-0 libgnutls30 libgomp1 libgpg-error0 libgpm2 libgssapi-krb5-2 libidn2-0 libip4tc2 libip6tc2 libiperf0 libjson-c5 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 libksba8 liblist-moreutils-xs-perl liblocale-gettext-perl liblua5.3-0 liblzma5 libmagic-mgc libmagic1 libmaxminddb0 libmd0 libmosquitto1 libmount1 libncurses6 libncursesw6 libnewt0.52 libnftnl11 libnginx-mod-http-echo libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libnl-route-3-200 libnm0 libnss-myhostname libopenjp2-7 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpam0g libparted2 libpci3 libpcre2-8-0 libpcre3 libpcsclite1 libpipeline1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpopt0 libproc-processtable-perl libpsl5 libpython3-dev libpython3-stdlib libreadline8 libsasl2-2 libselinux1 libsemanage-common libsensors5 libslang2 libsmartcols1 libsqlite3-0 libss2 libssh2-1 libssl-dev libstd-rust-dev libstdc++6 libsysfs2 libsystemd0 libtcl8.6 libtinfo6 libtirpc-dev libtirpc3 libubsan1 libudev1 libunistring2 libutempter0 libuv1 libwrap0 libwrap0-dev libx11-6 libxapian30 libxml2 libxpm4 libxslt1.1 libxtables12 libz3-4 libzip4 libzstd1 locales login logrotate logsave lsb-base lsof m4 man-db mksh mosquitto mount nano ncurses-base ncurses-bin ncurses-term net-tools netcat-openbsd network-manager nginx-common nginx-light ntfs-3g openssh-client openssh-server openssh-sftp-server openssl parted passwd pciutils perl perl-base php php-common php-composer-spdx-licenses php-composer-xdebug-handler php-symfony-finder php-symfony-service-contracts pinentry-curses policykit-1 procps psmisc pv python3 python3-apt python3-cffi-backend python3-dbus python3-dev python3-distutils python3-gi python3-lib2to3 python3-minimal python3-multidict python3-pycurl python3-software-properties python3-venv rfkill rsync rsyslog rustc screen sed software-properties-common stress sudo sunxi-tools sysfsutils sysstat systemd sysvinit-utils tar tcl8.6 u-boot-tools udev unzip util-linux vim vim-common vim-runtime wget whiptail wireguard-tools wireless-tools wpasupplicant xxd xz-utils zip 322 upgraded, 100 newly installed, 22 to remove and 0 not upgraded. Need to get 296 MB of archives. After this operation, 526 MB of additional disk space will be used. [..] Setting up software-properties-common (0.99.30-4) ... Processing triggers for dbus (1.14.6-1) ... Processing triggers for php8.2-cli (8.2.7-1~deb12u1) ... Processing triggers for libapache2-mod-php8.2 (8.2.7-1~deb12u1) ... Warning: Could not load Apache 2.4 maintainer script helper. Processing triggers for nginx (1.22.1-9) ... Triggering nginx reload ...
apt - autoremove
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: fontconfig-config fonts-dejavu-core g++-10 jsonlint libabsl20220623 libaom3 libavif15 libbpf0 libcbor0 libdav1d6 libde265-0 libdeflate0 libdns-export1110 libev4 libexporter-tiny-perl libffi7 libfontconfig1 libfreetype6 libgav1-1 libgd3 libgit2-1.1 libheif1 libicu67 libisc-export1105 libjbig0 libjsoncpp24 liblerc4 liblist-moreutils-perl liblist-moreutils-xs-perl libllvm11 libmbedcrypto3 libmbedtls12 libmbedx509-0 libmpdec3 libncurses6 libntfs-3g883 libperl5.32 libprocps8 libpython3.9 libpython3.9-dev libpython3.9-minimal libpython3.9-stdlib librav1e0 libsigsegv2 libstd-rust-1.48 libstdc++-10-dev libsvtav1enc1 libtiff5 libtiff6 libwebp6 libwebp7 libwebsockets16 libx11-6 libx11-data libx265-199 libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 libyuv0 libzip4 perl-modules-5.32 php-composer-ca-bundle php-composer-pcre php-composer-semver php-composer-spdx-licenses php-composer-xdebug-handler php-json-schema php-psr-container php-psr-log php-react-promise php-symfony-deprecation-contracts php-symfony-finder php-symfony-polyfill-php80 php-symfony-process php-symfony-service-contracts python3-pycurl python3.9 python3.9-dev python3.9-minimal 0 upgraded, 0 newly installed, 81 to remove and 0 not upgraded. After this operation, 322 MB disk space will be freed. [..] Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for libc-bin (2.36-9) ...
apt - autoclean
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done Del linux-image-current-sunxi 21.08.2 [36.4 MB] Del linux-dtb-current-sunxi 21.08.2 [195 kB] Del hostapd 3:2.9-102~armbian20.05.2+1 [401 kB] Del linux-u-boot-bananapi-current 21.08.1 [257 kB] Del linux-libc-dev 21.08.2 [1,151 kB] Del hostapd 3:2.9-102~armbian21.05.1+1 [401 kB]
2023-07-11: armbian - apt - update sources
tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list tingo@kg-bpi:~/work/20230711_bookworm_upgrade$ sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/armbian.list
I also added the non-free-firmware repository to the sources.list file.
2023-07-11: armbian - apt - autoremove
tingo@kg-bpi:~$ sudo apt --purge autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2023-07-11: armbian - reboot, Debian 11.7 is in
tingo@kg-bpi:~$ cat /etc/debian_version 11.7
kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 5.15.93-sunxi #23.02.2 SMP Fri Feb 17 23:49:46 UTC 2023 armv7l GNU/Linux
2023-07-11: armbian - apt - upgrade
tingo@kg-bpi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apache2-bin armbian-config armbian-firmware avahi-autoipd base-files bind9-dnsutils bind9-host bind9-libs command-not-found curl debian-archive-keyring dnsutils git git-man grep isc-dhcp-client libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcurl3-gnutls libcurl4 libgit2-1.1 libgnutls30 libncurses6 libncursesw6 libnss-myhostname libpam-systemd libssl-dev libssl1.1 libsystemd0 libtiff5 libtinfo6 libudev1 libwebp6 libx11-6 libx11-data libxapian30 libxml2 libxpm4 linux-dtb-current-sunxi linux-image-current-sunxi linux-libc-dev linux-u-boot-bananapi-current locales ncurses-base ncurses-bin ncurses-term openssl php-symfony-console php-symfony-filesystem php-symfony-finder php-symfony-process php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-sqlite3 php7.4-xml php7.4-zip systemd systemd-sysv tzdata udev 77 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 103 MB of archives. After this operation, 435 kB of additional disk space will be used. [..] Setting up libapache2-mod-php7.4 (7.4.33-1+deb11u4) ... Warning: Could not load Apache 2.4 maintainer script helper. Setting up dnsutils (1:9.16.42-1~deb11u1) ... Processing triggers for dbus (1.12.24-0+deb11u1) ... [..] Processing triggers for initramfs-tools (0.140) ... update-initramfs: Generating /boot/initrd.img-5.15.93-sunxi update-initramfs: Converting to u-boot format Processing triggers for libc-bin (2.31-13+deb11u6) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for php7.4-cli (7.4.33-1+deb11u4) ... Processing triggers for php7.4-fpm (7.4.33-1+deb11u4) ... Processing triggers for libapache2-mod-php7.4 (7.4.33-1+deb11u4) ... Warning: Could not load Apache 2.4 maintainer script helper.
apt - full-upgrade
tingo@kg-bpi:~$ sudo apt full-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2023-02-04: armbian - rebooted, new Debian version
tingo@kg-bpi:~$ cat /etc/debian_version 11.6
new kernel
tingo@kg-bpi:~$ uname -a Linux kg-bpi 5.15.89-sunxi #22.11.4 SMP Mon Jan 23 21:58:30 UTC 2023 armv7l GNU/Linux
2023-02-04: armbian - apt - upgrade
tingo@kg-bpi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apache2-bin armbian-config armbian-firmware avahi-autoipd base-files bash bind9-dnsutils bind9-host bind9-libs bsdextrautils bsdutils chrony cmake cmake-data composer curl dbus dirmngr distro-info-data dnsutils dpkg dpkg-dev fdisk git git-man gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv gzip ifenslave isc-dhcp-client libapache2-mod-php7.4 libarchive13 libblkid1 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libconfuse-common libconfuse-dev libconfuse2 libcryptsetup12 libcurl3-gnutls libcurl4 libdbus-1-3 libdlt2 libdpkg-perl libexpat1 libexpat1-dev libfdisk1 libfreetype6 libgmp10 libgnutls30 libgssapi-krb5-2 libhttp-parser2.9 libk5crypto3 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common liblzma5 libmount1 libnginx-mod-http-echo libnm0 libnss-myhostname libntfs-3g883 libpam-systemd libpcre2-8-0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libsasl2-2 libsasl2-modules-db libseccomp2 libsmartcols1 libssl-dev libssl1.1 libsystemd0 libtasn1-6 libtiff5 libtirpc-common libtirpc-dev libtirpc3 libudev1 libuuid1 libxml2 libxslt1.1 linux-dtb-current-sunxi linux-image-current-sunxi linux-libc-dev linux-u-boot-bananapi-current locales logrotate mount nano network-manager nginx-common nginx-light ntfs-3g openssh-client openssh-server openssh-sftp-server openssl php-symfony-console php-symfony-filesystem php-symfony-finder php-symfony-process php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-opcache php7.4-readline php7.4-sqlite3 php7.4-xml php7.4-zip policykit-1 python-pip-whl python3-pip rfkill rsyslog sudo systemd systemd-sysv sysvinit-utils tzdata udev unzip util-linux vim vim-common vim-runtime wget wireless-regdb xxd xz-utils zlib1g zlib1g-dev 152 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 146 MB of archives. After this operation, 57.6 MB disk space will be freed. [..] Current default time zone: 'Europe/Oslo' Local time is now: Sat Feb 4 11:43:52 CET 2023. Universal Time is now: Sat Feb 4 10:43:52 UTC 2023. Run 'dpkg-reconfigure tzdata' if you wish to change it. [..] Processing triggers for initramfs-tools (0.140) ... update-initramfs: Generating /boot/initrd.img-5.15.89-sunxi update-initramfs: Converting to u-boot format Processing triggers for libc-bin (2.31-13+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for php7.4-cli (7.4.33-1+deb11u1) ... Processing triggers for php7.4-fpm (7.4.33-1+deb11u1) ... Processing triggers for libapache2-mod-php7.4 (7.4.33-1+deb11u1) ... Warning: Could not load Apache 2.4 maintainer script helper.
only a reboot remains.
2023-02-04: armbian - time to upgrade?
tingo@kg-bpi:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye tingo@kg-bpi:~$ cat /etc/debian_version 11.1
free space
tingo@kg-bpi:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 15G 5.5G 8.9G 39% /
check if stuff acn be removed or cleaned away first. apt - autoremove
tingo@kg-bpi:~$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
apt - autoclean
tingo@kg-bpi:~$ sudo apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done Del armbian-config 21.08.2 [127 kB] Del armbian-firmware 21.08.2 [7,916 kB]
2023-01-21: apt - update
tingo@kg-bpi:~$ sudo apt update [..] 150 packages can be upgraded. Run 'apt list --upgradable' to see them. N: Repository 'http://httpredir.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.4' to '11.6'
2023-01-15: Home Assistant - upgrade to 2023.1.4
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.11.5) Collecting homeassistant Downloading homeassistant-2023.1.4-py3-none-any.whl (21.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.1/21.1 MB 575.2 kB/s eta 0:00:00 Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: requests==2.28.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.28.1) Requirement already satisfied: lru-dict==1.1.8 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.1.8) Requirement already satisfied: yarl==1.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.8.1) Collecting attrs==22.1.0 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 KB 552.0 kB/s eta 0:00:00 Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Collecting home-assistant-bluetooth==1.9.2 Downloading home_assistant_bluetooth-1.9.2.tar.gz (10 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: voluptuous==0.13.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.13.1) Requirement already satisfied: awesomeversion==22.9.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.9.0) Collecting httpx==0.23.2 Downloading httpx-0.23.2-py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 KB 436.3 kB/s eta 0:00:00 Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Requirement already satisfied: pip<22.4,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: PyJWT==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: orjson==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: typing-extensions<5.0,>=4.4.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.4.0) Requirement already satisfied: cryptography==38.0.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (38.0.3) Collecting ciso8601==2.3.0 Downloading ciso8601-2.3.0.tar.gz (26 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: jinja2==3.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.2) Requirement already satisfied: atomicwrites-homeassistant==1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.1) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.2->homeassistant) (0.15.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.2->homeassistant) (1.5.0) Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.2->homeassistant) (1.2.0) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.2->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (3.3) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.17.0,>=0.15.0->httpx==0.23.2->homeassistant) (3.5.0) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.17.0,>=0.15.0->httpx==0.23.2->homeassistant) (0.12.0) Building wheels for collected packages: ciso8601, home-assistant-bluetooth Building wheel for ciso8601 (pyproject.toml) ... done Created wheel for ciso8601: filename=ciso8601-2.3.0-cp39-cp39-linux_armv7l.whl size=35224 sha256=f3e473a722312be4643046cc6aa35b578d29baf1e52a6395bca2a6aa496169bf Stored in directory: /home/tingo/.cache/pip/wheels/27/60/c3/7db442d55c9a26ebfbe9d05ce281f045005d5c40296b1fa332 Building wheel for home-assistant-bluetooth (pyproject.toml) ... done Created wheel for home-assistant-bluetooth: filename=home_assistant_bluetooth-1.9.2-cp39-cp39-manylinux_2_31_armv7l.whl size=280017 sha256=5c6a1b8bd78e5c4eb1fe21204e81aea38ba71c8ac02c48f296ccfc1137bcc742 Stored in directory: /home/tingo/.cache/pip/wheels/57/30/f6/898821727d9035387a3768c58ff4e004d781bbf61d8787f998 Successfully built ciso8601 home-assistant-bluetooth Installing collected packages: ciso8601, home-assistant-bluetooth, attrs, httpx, homeassistant Attempting uninstall: ciso8601 Found existing installation: ciso8601 2.2.0 Uninstalling ciso8601-2.2.0: Successfully uninstalled ciso8601-2.2.0 Attempting uninstall: home-assistant-bluetooth Found existing installation: home-assistant-bluetooth 1.6.0 Uninstalling home-assistant-bluetooth-1.6.0: Successfully uninstalled home-assistant-bluetooth-1.6.0 Attempting uninstall: attrs Found existing installation: attrs 21.2.0 Uninstalling attrs-21.2.0: Successfully uninstalled attrs-21.2.0 Attempting uninstall: httpx Found existing installation: httpx 0.23.0 Uninstalling httpx-0.23.0: Successfully uninstalled httpx-0.23.0 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.11.5 Uninstalling homeassistant-2022.11.5: Successfully uninstalled homeassistant-2022.11.5 Successfully installed attrs-22.1.0 ciso8601-2.3.0 home-assistant-bluetooth-1.9.2 homeassistant-2023.1.4 httpx-0.23.2 WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available. You should consider upgrading via the '/home/tingo/.venv/homeassistant/bin/python3.9 -m pip install --upgrade pip' command.
first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2023-01-15 19:08:37.729 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: person, analytics 2023-01-15 19:10:54.332 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2023-01-15 19:10:54.343 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: http, recorder 2023-01-15 19:11:04.289 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds. 2023-01-15 19:18:37.593 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: ssdp 2023-01-15 19:31:23.314 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: bluetooth 2023-01-15 19:31:36.674 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2023-01-15 19:31:54.165 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2023-01-15 19:31:54.170 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds. 2023-01-15 19:31:54.176 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2023-01-15 19:31:54.187 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds. 2023-01-15 19:31:54.193 WARNING (MainThread) [homeassistant.setup] Setup of script is taking over 10 seconds. 2023-01-15 19:31:54.196 WARNING (MainThread) [homeassistant.setup] Setup of automation is taking over 10 seconds. 2023-01-15 19:31:54.401 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home Assistant Website' for version integration not ready yet: Timeout of 10 seconds was reached while fetching version for haio; Retrying in background 2023-01-15 19:31:54.446 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'asyncio.exceptions.TimeoutError'> 2023-01-15 19:32:31.633 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2023-01-15 19:32:46.127 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff-rf-bridge @ 10.1.161.22: Error connecting to ('10.1.161.22', 6053): [Errno 113] Connect call failed ('10.1.161.22', 6053) 2023-01-15 19:32:55.043 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: version, mqtt, mill, season, default_config, esphome 2023-01-15 19:33:39.359 WARNING (MainThread) [homeassistant.bootstrap] Support for the running Python version 3.9.2 is deprecated and will be removed in Home Assistant 2023.2; Please upgrade Python to 3.10 2023-01-15 19:33:39.544 WARNING (SyncWorker_0) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2023-01-15 19:34:00.453 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-01-15 19:34:00.489 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-01-15 19:35:00.440 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-01-15 19:35:00.461 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-01-15 19:36:00.419 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2023-01-15 19:36:00.441 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities']
took a while.
2022-12-04: Home Assistant - upgrade to 2022.11.5
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.10.1) Collecting homeassistant Downloading homeassistant-2022.11.5-py3-none-any.whl (20.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.1/20.1 MB 1.4 MB/s eta 0:00:00 Requirement already satisfied: atomicwrites-homeassistant==1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.1) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: httpx==0.23.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.23.0) Collecting orjson==3.8.1 Downloading orjson-3.8.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (280 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 KB 1.9 MB/s eta 0:00:00 Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: requests==2.28.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.28.1) Requirement already satisfied: lru-dict==1.1.8 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.1.8) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: yarl==1.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.8.1) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: awesomeversion==22.9.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.9.0) Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: voluptuous==0.13.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.13.1) Requirement already satisfied: pip<22.4,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: PyJWT==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: jinja2==3.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.2) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Collecting typing-extensions<5.0,>=4.4.0 Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting home-assistant-bluetooth==1.6.0 Downloading home_assistant_bluetooth-1.6.0-py3-none-any.whl (8.8 kB) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Collecting cryptography==38.0.3 Downloading cryptography-38.0.3.tar.gz (599 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.9/599.9 KB 2.4 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Collecting bleak>=0.19.0 Downloading bleak-0.19.5-py3-none-any.whl (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.9/132.9 KB 2.1 MB/s eta 0:00:00 Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.2.0) Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (0.15.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.5.0) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.2->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (3.3) Requirement already satisfied: dbus-fast<2.0.0,>=1.22.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from bleak>=0.19.0->home-assistant-bluetooth==1.6.0->homeassistant) (1.24.0) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (0.12.0) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (3.5.0) Building wheels for collected packages: cryptography Building wheel for cryptography (pyproject.toml) ... done Created wheel for cryptography: filename=cryptography-38.0.3-cp39-cp39-linux_armv7l.whl size=2457106 sha256=29e495f6ed346e589c4ce85540cd552def0cc19d61ab2d91ef6513f0b235b5d7 Stored in directory: /home/tingo/.cache/pip/wheels/ad/3d/41/161cdc2d488a45c7a68a460998f2d0d5c8ef7b7065cf61ac1b Successfully built cryptography Installing collected packages: typing-extensions, orjson, cryptography, bleak, home-assistant-bluetooth, homeassistant Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.1.1 Uninstalling typing_extensions-4.1.1: Successfully uninstalled typing_extensions-4.1.1 Attempting uninstall: orjson Found existing installation: orjson 3.7.11 Uninstalling orjson-3.7.11: Successfully uninstalled orjson-3.7.11 Attempting uninstall: cryptography Found existing installation: cryptography 38.0.1 Uninstalling cryptography-38.0.1: Successfully uninstalled cryptography-38.0.1 Attempting uninstall: bleak Found existing installation: bleak 0.18.1 Uninstalling bleak-0.18.1: Successfully uninstalled bleak-0.18.1 Attempting uninstall: home-assistant-bluetooth Found existing installation: home-assistant-bluetooth 1.3.0 Uninstalling home-assistant-bluetooth-1.3.0: Successfully uninstalled home-assistant-bluetooth-1.3.0 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.10.1 Uninstalling homeassistant-2022.10.1: Successfully uninstalled homeassistant-2022.10.1 Successfully installed bleak-0.19.5 cryptography-38.0.3 home-assistant-bluetooth-1.6.0 homeassistant-2022.11.5 orjson-3.8.1 typing-extensions-4.4.0 WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available. You should consider upgrading via the '/home/tingo/.venv/homeassistant/bin/python3.9 -m pip install --upgrade pip' command.
first start
homeassistant) tingo@kg-bpi:~$ hass --open-ui 2022-12-04 19:14:22.293 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: analytics 2022-12-04 19:15:33.225 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-12-04 19:15:33.630 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder 2022-12-04 19:23:53.591 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: bluetooth, cloud 2022-12-04 19:24:16.890 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-12-04 19:24:40.782 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2022-12-04 19:24:40.786 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2022-12-04 19:24:40.826 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'asyncio.exceptions.TimeoutError'> 2022-12-04 19:24:56.183 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2022-12-04 19:25:09.615 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff-rf-bridge @ 10.1.161.22: Error connecting to ('10.1.161.22', 6053): [Errno 113] Connect call failed ('10.1.161.22', 6053) 2022-12-04 19:25:23.650 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: mill, mqtt, version, season, default_config, esphome 2022-12-04 19:25:26.204 WARNING (SyncWorker_8) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123
2022-10-09: Home Assistant - another upgrade
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.5.5) Collecting homeassistant Downloading homeassistant-2022.10.1-py3-none-any.whl (19.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.7/19.7 MB 1.7 MB/s eta 0:00:00 Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Collecting httpx==0.23.0 Downloading httpx-0.23.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.8/84.8 KB 1.1 MB/s eta 0:00:00 Collecting requests==2.28.1 Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 880.5 kB/s eta 0:00:00 Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: voluptuous==0.13.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.13.1) Collecting home-assistant-bluetooth==1.3.0 Downloading home_assistant_bluetooth-1.3.0-py3-none-any.whl (8.8 kB) Collecting jinja2==3.1.2 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 2.2 MB/s eta 0:00:00 Collecting atomicwrites-homeassistant==1.4.1 Downloading atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl (7.1 kB) Collecting cryptography==38.0.1 Downloading cryptography-38.0.1.tar.gz (599 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 KB 2.4 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting orjson==3.7.11 Downloading orjson-3.7.11-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (280 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 KB 2.2 MB/s eta 0:00:00 Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.1.1) Collecting awesomeversion==22.9.0 Downloading awesomeversion-22.9.0-py3-none-any.whl (12 kB) Collecting lru-dict==1.1.8 Downloading lru-dict-1.1.8.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting PyJWT==2.5.0 Downloading PyJWT-2.5.0-py3-none-any.whl (20 kB) Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Collecting yarl==1.8.1 Downloading yarl-1.8.1.tar.gz (172 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.3/172.3 KB 1.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: pip<22.3,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Collecting bleak>=0.14.3 Downloading bleak-0.18.1-py3-none-any.whl (128 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.8/128.8 KB 2.1 MB/s eta 0:00:00 Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.2.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.5.0) Collecting httpcore<0.16.0,>=0.15.0 Downloading httpcore-0.15.0-py3-none-any.whl (68 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.4/68.4 KB 883.7 kB/s eta 0:00:00 Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.2->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (3.3) Collecting dbus-fast<2.0.0,>=1.4.0 Downloading dbus-fast-1.33.0.tar.gz (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 883.4 kB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (0.12.0) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (3.5.0) Building wheels for collected packages: cryptography, lru-dict, yarl, dbus-fast Building wheel for cryptography (pyproject.toml) ... done Created wheel for cryptography: filename=cryptography-38.0.1-cp39-cp39-linux_armv7l.whl size=2457071 sha256=bd7eaecb83e455bdedcc62f2f213d75f440a3047759eaea6fcd9ff2daa6713cf Stored in directory: /home/tingo/.cache/pip/wheels/5d/04/37/556f7f49f79db641e8b483872a24bdc6eb560e31e337b1f8bf Building wheel for lru-dict (setup.py) ... done Created wheel for lru-dict: filename=lru_dict-1.1.8-cp39-cp39-linux_armv7l.whl size=24244 sha256=731a8d38ab02663600f49b73a13a608466a2004914e5e2730c51145322ba9f10 Stored in directory: /home/tingo/.cache/pip/wheels/22/e7/12/6c9e0f0f2c8484904d3f86647694abbea080046aec8426933e Building wheel for yarl (pyproject.toml) ... done Created wheel for yarl: filename=yarl-1.8.1-cp39-cp39-linux_armv7l.whl size=204433 sha256=522cbaa0a8cdd87f95dcb44c79a13ebd46bef1e245c341f0d6f1747220673dd0 Stored in directory: /home/tingo/.cache/pip/wheels/5f/b3/e8/8e9829e063b11e43799fbe97f90dc6b123275822e2553ecbc2 Building wheel for dbus-fast (pyproject.toml) ... done Created wheel for dbus-fast: filename=dbus_fast-1.33.0-cp39-cp39-manylinux_2_31_armv7l.whl size=1834432 sha256=be69e1a82a3af68a75124201b9a51fbf6141cc57fa17c7cc0ea49104c3759466 Stored in directory: /home/tingo/.cache/pip/wheels/8e/d0/65/326c609957911c4c39b5ca8baca7baac17c22543e0ae608703 Successfully built cryptography lru-dict yarl dbus-fast Installing collected packages: lru-dict, yarl, requests, PyJWT, orjson, jinja2, dbus-fast, awesomeversion, atomicwrites-homeassistant, httpcore, cryptography, bleak, httpx, home-assistant-bluetooth, homeassistant Attempting uninstall: lru-dict Found existing installation: lru-dict 1.1.7 Uninstalling lru-dict-1.1.7: Successfully uninstalled lru-dict-1.1.7 Attempting uninstall: yarl Found existing installation: yarl 1.7.2 Uninstalling yarl-1.7.2: Successfully uninstalled yarl-1.7.2 Attempting uninstall: requests Found existing installation: requests 2.27.1 Uninstalling requests-2.27.1: Successfully uninstalled requests-2.27.1 Attempting uninstall: PyJWT Found existing installation: PyJWT 2.3.0 Uninstalling PyJWT-2.3.0: Successfully uninstalled PyJWT-2.3.0 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.1 Uninstalling Jinja2-3.1.1: Successfully uninstalled Jinja2-3.1.1 Attempting uninstall: awesomeversion Found existing installation: awesomeversion 22.2.0 Uninstalling awesomeversion-22.2.0: Successfully uninstalled awesomeversion-22.2.0 Attempting uninstall: httpcore Found existing installation: httpcore 0.14.7 Uninstalling httpcore-0.14.7: Successfully uninstalled httpcore-0.14.7 Attempting uninstall: cryptography Found existing installation: cryptography 36.0.2 Uninstalling cryptography-36.0.2: Successfully uninstalled cryptography-36.0.2 Attempting uninstall: httpx Found existing installation: httpx 0.22.0 Uninstalling httpx-0.22.0: Successfully uninstalled httpx-0.22.0 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.5.5 Uninstalling homeassistant-2022.5.5: Successfully uninstalled homeassistant-2022.5.5 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. hass-nabucasa 0.54.0 requires cryptography<37.0,>=2.8, but you have cryptography 38.0.1 which is incompatible. Successfully installed PyJWT-2.5.0 atomicwrites-homeassistant-1.4.1 awesomeversion-22.9.0 bleak-0.18.1 cryptography-38.0.1 dbus-fast-1.33.0 home-assistant-bluetooth-1.3.0 homeassistant-2022.10.1 httpcore-0.15.0 httpx-0.23.0 jinja2-3.1.2 lru-dict-1.1.8 orjson-3.7.11 requests-2.28.1 yarl-1.8.1 WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/home/tingo/.venv/homeassistant/bin/python3.9 -m pip install --upgrade pip' command.
try again
(homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.10.1) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: home-assistant-bluetooth==1.3.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.3.0) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Requirement already satisfied: yarl==1.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.8.1) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Requirement already satisfied: lru-dict==1.1.8 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.1.8) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: requests==2.28.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.28.1) Requirement already satisfied: awesomeversion==22.9.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.9.0) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: PyJWT==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: cryptography==38.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (38.0.1) Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.1.1) Requirement already satisfied: httpx==0.23.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.23.0) Requirement already satisfied: atomicwrites-homeassistant==1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.1) Requirement already satisfied: voluptuous==0.13.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.13.1) Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: jinja2==3.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.2) Requirement already satisfied: pip<22.3,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: orjson==3.7.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.7.11) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: bleak>=0.14.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from home-assistant-bluetooth==1.3.0->homeassistant) (0.18.1) Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.2.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (1.5.0) Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.23.0->homeassistant) (0.15.0) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.2->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.28.1->homeassistant) (3.3) Requirement already satisfied: dbus-fast<2.0.0,>=1.4.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from bleak>=0.14.3->home-assistant-bluetooth==1.3.0->homeassistant) (1.33.0) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (3.5.0) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->homeassistant) (0.12.0) WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/home/tingo/.venv/homeassistant/bin/python3.9 -m pip install --upgrade pip' command.
first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2022-10-09 20:31:34.104 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: image 2022-10-09 20:32:43.883 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: analytics 2022-10-09 20:33:50.712 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-10-09 20:34:17.422 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: usb 2022-10-09 20:35:38.857 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: zeroconf 2022-10-09 21:28:52.958 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud 2022-10-09 21:30:04.742 WARNING (MainThread) [homeassistant.setup] Setup of hardware is taking over 10 seconds. 2022-10-09 21:30:20.563 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: dlna_dmr, mqtt, mill 2022-10-09 21:30:43.362 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-10-09 21:31:21.696 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: mqtt, mill, version, binary_sensor.workday, binary_sensor.mqtt, binary_sensor.version, binary_sensor.version_2 2022-10-09 21:31:32.277 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2022-10-09 21:31:45.999 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for sonoff-rf-bridge @ 10.1.161.22: Error connecting to ('10.1.161.22', 6053): [Errno 113] Connect call failed ('10.1.161.22', 6053) 2022-10-09 21:32:20.901 WARNING (SyncWorker_2) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2022-10-09 21:32:21.076 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 26 2022-10-09 21:32:21.138 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns data_id to table events. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-10-09 21:32:21.195 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_events_data_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-10-09 21:32:23.544 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns origin_idx to table events. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-10-09 21:32:25.649 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns origin_idx, context_id, context_user_id, context_parent_id to table states. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-10-09 21:32:25.728 WARNING (Recorder) [homeassistant.components.recorder.migration] Column context_id already exists on states, continuing 2022-10-09 21:32:25.739 WARNING (Recorder) [homeassistant.components.recorder.migration] Column context_user_id already exists on states, continuing 2022-10-09 21:32:25.756 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_states_context_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-10-09 21:32:26.346 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_statistics_meta_statistic_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
it took a while, but it finished. Good.
2022-07-16: mmcblk0p1 - apt - update
tingo@kg-bpi:~$ sudo apt update [..] 127 packages can be upgraded. Run 'apt list --upgradable' to see them. N: Repository 'http://httpredir.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.1' to '11.4'
2022-05-28: Home Assistant upgraded to version 2022.5.5.
2022-05-28: Home Assistant - upgrade again
(homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.4.1) Collecting homeassistant Downloading homeassistant-2022.5.5-py3-none-any.whl (17.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.7/17.7 MB 1.7 MB/s eta 0:00:00 Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: awesomeversion==22.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.2.0) Requirement already satisfied: httpx==0.22.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.22.0) Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.1.1) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Requirement already satisfied: yarl==1.7.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.7.2) Collecting jinja2==3.1.1 Downloading Jinja2-3.1.1-py3-none-any.whl (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.6/132.6 KB 313.1 kB/s eta 0:00:00 Requirement already satisfied: requests==2.27.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.27.1) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Collecting cryptography==36.0.2 Downloading cryptography-36.0.2.tar.gz (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.1/572.1 KB 1.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: atomicwrites==1.4.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.0) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: pip<22.1,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Collecting voluptuous==0.13.1 Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB) Requirement already satisfied: PyJWT==2.3.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.3.0) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: httpcore<0.15.0,>=0.14.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (0.14.7) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (1.5.0) Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (1.2.0) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.1->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (3.3) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.5->httpx==0.22.0->homeassistant) (3.5.0) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.5->httpx==0.22.0->homeassistant) (0.12.0) Building wheels for collected packages: cryptography Building wheel for cryptography (pyproject.toml) ... done Created wheel for cryptography: filename=cryptography-36.0.2-cp39-cp39-linux_armv7l.whl size=2664547 sha256=6510773ea4c93dc80573f532ad5b2c39d6e4595457dc926d5a5ab67c8289170e Stored in directory: /home/tingo/.cache/pip/wheels/5c/b1/b8/304c39415d360affffeb99c040f4891b00210cadf0763c43e6 Successfully built cryptography Installing collected packages: voluptuous, jinja2, cryptography, homeassistant Attempting uninstall: voluptuous Found existing installation: voluptuous 0.12.2 Uninstalling voluptuous-0.12.2: Successfully uninstalled voluptuous-0.12.2 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.0 Uninstalling Jinja2-3.1.0: Successfully uninstalled Jinja2-3.1.0 Attempting uninstall: cryptography Found existing installation: cryptography 35.0.0 Uninstalling cryptography-35.0.0: Successfully uninstalled cryptography-35.0.0 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.4.1 Uninstalling homeassistant-2022.4.1: Successfully uninstalled homeassistant-2022.4.1 Successfully installed cryptography-36.0.2 homeassistant-2022.5.5 jinja2-3.1.1 voluptuous-0.13.1 WARNING: You are using pip version 22.0.4; however, version 22.1.1 is available. You should consider upgrading via the '/home/tingo/.venv/homeassistant/bin/python3.9 -m pip install --upgrade pip' command.
first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2022-05-28 23:49:07 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder 2022-05-28 23:49:07 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-05-28 23:55:24 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: image 2022-05-28 23:57:13 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: http, input_text, tag, counter, met, group, input_boolean, input_number, input_select, sun, timer, version, mill, system_health, input_button, zone, input_datetime, scene, scene.homeassistant, media_source, logbook, tellstick, plant, binary_sensor 2022-05-28 23:57:16 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform workday is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.setup] Setup of script is taking over 10 seconds. 2022-05-28 23:57:35 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home Assistant Website' for version integration not ready yet: Timeout of 10 seconds was reached while fetching version for haio; Retrying in background 2022-05-28 23:57:52 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2022-05-28 23:58:00 WARNING (SyncWorker_1) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2022-05-28 23:58:00 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 25 2022-05-28 23:58:00 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_statistics_runs_start` to database. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-05-28 23:58:01 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-05-28 23:58:01 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-05-28 23:59:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-05-28 23:59:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-05-29 00:00:00 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{% macro battery_level() %} {% for entity_id in states.group.battery_status.attributes.entity_id if ( not ( is_state_attr(entity_id, 'battery_alert_disabled', true) or is_state_attr(entity_id, 'restored', true) ) and states(entity_id) is not none and ( ( ( states(entity_id) is number or states(entity_id) | length == states(entity_id)| int(default=0) | string | length or states(entity_id) | length == states(entity_id)| float(default=0) | string | length ) and states(entity_id) | int < states.input_number.battery_alert_threshold_max.state | int(default=0) and states(entity_id) | int > states.input_number.battery_alert_threshold_min.state | int(default=0) ) or states(entity_id) | lower == 'low' or states(entity_id) | lower == 'unknown' or states(entity_id) | lower == 'unavailable' ) ) -%} {{ state_attr(entity_id, "friendly_name") }} ({{ states(entity_id) }}) {% endfor -%} {% endmacro %} {{ battery_level() | trim == "" }}' 2022-05-29 00:00:00 WARNING (MainThread) [homeassistant.helpers.script] Error in 'condition' evaluation: In 'template' condition: UndefinedError: 'None' has no attribute 'attributes' 2022-05-29 00:00:00 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{% macro battery_level() %} {% for entity_id in states.group.battery_status.attributes.entity_id if ( not ( is_state_attr(entity_id, 'battery_alert_disabled', true) or is_state_attr(entity_id, 'restored', true) ) and states(entity_id) is not none and ( ( ( states(entity_id) is number or states(entity_id) | length == states(entity_id)| int(default=0) | string | length or states(entity_id) | length == states(entity_id)| float(default=0) | string | length ) and states(entity_id) | int < states.input_number.battery_alert_threshold_max.state | int(default=0) and states(entity_id) | int > states.input_number.battery_alert_threshold_min.state | int(default=0) ) or states(entity_id) | lower == 'low' or states(entity_id) | lower == 'unknown' or states(entity_id) | lower == 'unavailable' ) ) -%} {{ state_attr(entity_id, "friendly_name") }} ({{ states(entity_id) }}) {% endfor -%} {% endmacro %} {{ battery_level() | trim != "" }}' 2022-05-29 00:00:00 WARNING (MainThread) [homeassistant.helpers.script] Error in 'condition' evaluation: In 'template' condition: UndefinedError: 'None' has no attribute 'attributes' 2022-05-29 00:00:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-05-29 00:00:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities']
hmm, battery automation update needed?
2022-04-10: Home Assistant upgraded to version 2022.4.1.
2022-04-10: Home Assistant - another upgrade
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.3.4) Collecting homeassistant Downloading homeassistant-2022.4.1-py3-none-any.whl (17.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 1.3 MB/s eta 0:00:00 Requirement already satisfied: atomicwrites==1.4.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.0) Requirement already satisfied: yarl==1.7.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.7.2) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Collecting httpx==0.22.0 Downloading httpx-0.22.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.2/84.2 KB 1.2 MB/s eta 0:00:00 Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Collecting jinja2==3.1.0 Downloading Jinja2-3.1.0-py3-none-any.whl (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.6/132.6 KB 2.0 MB/s eta 0:00:00 Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: pip<22.1,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: awesomeversion==22.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.2.0) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: cryptography==35.0.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (35.0.0) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Requirement already satisfied: voluptuous==0.12.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.12.2) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: requests==2.27.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.27.1) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.1.1) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Collecting PyJWT==2.3.0 Downloading PyJWT-2.3.0-py3-none-any.whl (16 kB) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (1.2.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (1.5.0) Requirement already satisfied: httpcore<0.15.0,>=0.14.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.22.0->homeassistant) (0.14.7) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.1.0->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (1.26.8) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (3.3) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.5->httpx==0.22.0->homeassistant) (3.5.0) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.5->httpx==0.22.0->homeassistant) (0.12.0) Installing collected packages: PyJWT, jinja2, httpx, homeassistant Attempting uninstall: PyJWT Found existing installation: PyJWT 2.1.0 Uninstalling PyJWT-2.1.0: Successfully uninstalled PyJWT-2.1.0 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.0.3 Uninstalling Jinja2-3.0.3: Successfully uninstalled Jinja2-3.0.3 Attempting uninstall: httpx Found existing installation: httpx 0.21.3 Uninstalling httpx-0.21.3: Successfully uninstalled httpx-0.21.3 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.3.4 Uninstalling homeassistant-2022.3.4: Successfully uninstalled homeassistant-2022.3.4 Successfully installed PyJWT-2.3.0 homeassistant-2022.4.1 httpx-0.22.0 jinja2-3.1.0
first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2022-04-10 20:18:52 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder 2022-04-10 20:18:52 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-04-10 20:20:51 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: http, input_number, media_source, input_text, system_health, logbook, input_select, zone, input_datetime, scene, group, counter, tag, plant, sun, input_button, timer, input_boolean, mqtt 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds. 2022-04-10 20:21:12 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2022-04-10 20:21:17 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-04-10 20:39:38 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: esphome, mobile_app 2022-04-10 20:39:50 WARNING (MainThread) [homeassistant.setup] Setup of default_config is taking over 10 seconds. 2022-04-10 20:40:47 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cast 2022-04-10 20:40:47 WARNING (SyncWorker_2) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2022-04-10 20:40:47 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 24 2022-04-10 20:40:47 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns attributes_id to table states. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-04-10 20:40:47 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_states_attributes_id` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
2022-03-12: Home Assistant upgraded to version 2022.3.4.
2022-03-12: Home Assistant - another upgrade
tingo@kg-bpi:~$ source ~/.venv/homeassistant/bin/activate (homeassistant) tingo@kg-bpi:~$ pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in ./.venv/homeassistant/lib/python3.9/site-packages (2022.3.3) Collecting homeassistant Downloading homeassistant-2022.3.4-py3-none-any.whl (17.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.2/17.2 MB 1.8 MB/s eta 0:00:00 Requirement already satisfied: httpx==0.21.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.21.3) Requirement already satisfied: cryptography==35.0.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (35.0.0) Requirement already satisfied: yarl==1.7.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.7.2) Requirement already satisfied: ciso8601==2.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2.0) Requirement already satisfied: PyJWT==2.1.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.1.0) Requirement already satisfied: voluptuous==0.12.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.12.2) Requirement already satisfied: python-slugify==4.0.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.1) Requirement already satisfied: ifaddr==0.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (0.1.7) Requirement already satisfied: pyyaml==6.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (6.0) Requirement already satisfied: atomicwrites==1.4.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (1.4.0) Requirement already satisfied: aiohttp==3.8.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.8.1) Requirement already satisfied: async-timeout==4.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.0.2) Requirement already satisfied: attrs==21.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (21.2.0) Requirement already satisfied: pip<22.1,>=21.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.0.4) Requirement already satisfied: astral==2.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.2) Requirement already satisfied: jinja2==3.0.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.0.3) Requirement already satisfied: requests==2.27.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.27.1) Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (4.1.1) Requirement already satisfied: awesomeversion==22.2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (22.2.0) Requirement already satisfied: bcrypt==3.1.7 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (3.1.7) Requirement already satisfied: certifi>=2021.5.30 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2021.10.8) Requirement already satisfied: voluptuous-serialize==2.5.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from homeassistant) (2.5.0) Requirement already satisfied: multidict<7.0,>=4.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (6.0.2) Requirement already satisfied: aiosignal>=1.1.2 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (2.0.12) Requirement already satisfied: frozenlist>=1.1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from aiohttp==3.8.1->homeassistant) (1.3.0) Requirement already satisfied: pytz in ./.venv/homeassistant/lib/python3.9/site-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: cffi>=1.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: six>=1.4.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: httpcore<0.15.0,>=0.14.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.21.3->homeassistant) (0.14.7) Requirement already satisfied: sniffio in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.21.3->homeassistant) (1.2.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpx==0.21.3->homeassistant) (1.5.0) Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/homeassistant/lib/python3.9/site-packages (from jinja2==3.0.3->homeassistant) (2.1.0) Requirement already satisfied: text-unidecode>=1.3 in ./.venv/homeassistant/lib/python3.9/site-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: idna<4,>=2.5 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/homeassistant/lib/python3.9/site-packages (from requests==2.27.1->homeassistant) (1.26.8) Requirement already satisfied: pycparser in ./.venv/homeassistant/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (3.5.0) Requirement already satisfied: h11<0.13,>=0.11 in ./.venv/homeassistant/lib/python3.9/site-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (0.12.0) Installing collected packages: homeassistant Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.3.3 Uninstalling homeassistant-2022.3.3: Successfully uninstalled homeassistant-2022.3.3 Successfully installed homeassistant-2022.3.4
first start
(homeassistant) tingo@kg-bpi:~$ hass --open-ui 2022-03-12 14:30:52 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-03-12 14:31:01 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-03-12 14:31:08 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds. 2022-03-12 14:31:11 WARNING (SyncWorker_1) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123
well, it started quickly now.
2022-03-12: Home Assistant installed - version 2022.3.3.
2022-03-12: install Home Assistant in a venv
tingo@kg-bpi:~$ mkdir -p ~/.venv/homeassistant tingo@kg-bpi:~$ cd ~/.venv/homeassistant tingo@kg-bpi:~/.venv/homeassistant$ python3.9 -m venv . tingo@kg-bpi:~/.venv/homeassistant$ source bin/activate
install a required package
(homeassistant) tingo@kg-bpi:~/.venv/homeassistant$ python3 -m pip install wheel Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel Successfully installed wheel-0.37.1
install Home Assistant
Collecting homeassistant Downloading homeassistant-2022.3.3-py3-none-any.whl (17.2 MB) |████████████████████████████████| 17.2 MB 12 kB/s Collecting async-timeout==4.0.2 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting python-slugify==4.0.1 Downloading python-slugify-4.0.1.tar.gz (11 kB) Collecting typing-extensions<5.0,>=3.10.0.2 Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting aiohttp==3.8.1 Downloading aiohttp-3.8.1.tar.gz (7.3 MB) |████████████████████████████████| 7.3 MB 19 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Collecting yarl==1.7.2 Downloading yarl-1.7.2.tar.gz (168 kB) |████████████████████████████████| 168 kB 3.3 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting PyJWT==2.1.0 Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB) Collecting attrs==21.2.0 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB) |████████████████████████████████| 53 kB 142 kB/s Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7.tar.gz (42 kB) |████████████████████████████████| 42 kB 130 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting atomicwrites==1.4.0 Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting ciso8601==2.2.0 Downloading ciso8601-2.2.0.tar.gz (18 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting voluptuous-serialize==2.5.0 Downloading voluptuous_serialize-2.5.0-py3-none-any.whl (6.8 kB) Collecting httpx==0.21.3 Downloading httpx-0.21.3-py3-none-any.whl (83 kB) |████████████████████████████████| 83 kB 276 kB/s Collecting ifaddr==0.1.7 Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB) Collecting certifi>=2021.5.30 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) |████████████████████████████████| 149 kB 3.9 MB/s Collecting jinja2==3.0.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) |████████████████████████████████| 133 kB 3.2 MB/s Collecting pip<22.1,>=21.0 Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) |████████████████████████████████| 2.1 MB 3.8 MB/s Collecting cryptography==35.0.0 Downloading cryptography-35.0.0.tar.gz (559 kB) |████████████████████████████████| 559 kB 3.5 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting astral==2.2 Downloading astral-2.2-py2.py3-none-any.whl (30 kB) Collecting pyyaml==6.0 Downloading PyYAML-6.0.tar.gz (124 kB) |████████████████████████████████| 124 kB 4.1 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting requests==2.27.1 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) |████████████████████████████████| 63 kB 202 kB/s Collecting awesomeversion==22.2.0 Downloading awesomeversion-22.2.0-py3-none-any.whl (12 kB) Collecting voluptuous==0.12.2 Downloading voluptuous-0.12.2.tar.gz (48 kB) |████████████████████████████████| 48 kB 592 kB/s Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.0.tar.gz (65 kB) |████████████████████████████████| 65 kB 333 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting aiosignal>=1.1.2 Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB) Collecting multidict<7.0,>=4.5 Using cached multidict-6.0.2.tar.gz (50 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting charset-normalizer<3.0,>=2.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting pytz Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB) |████████████████████████████████| 503 kB 3.9 MB/s Collecting six>=1.4.1 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting cffi>=1.1 Using cached cffi-1.15.0-cp39-cp39-linux_armv7l.whl Collecting sniffio Downloading sniffio-1.2.0-py3-none-any.whl (10 kB) Collecting rfc3986[idna2008]<2,>=1.3 Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB) Collecting httpcore<0.15.0,>=0.14.0 Downloading httpcore-0.14.7-py3-none-any.whl (68 kB) |████████████████████████████████| 68 kB 677 kB/s Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.0.tar.gz (18 kB) Collecting text-unidecode>=1.3 Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB) |████████████████████████████████| 78 kB 813 kB/s Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) |████████████████████████████████| 138 kB 3.9 MB/s Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) |████████████████████████████████| 61 kB 910 kB/s Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting h11<0.13,>=0.11 Downloading h11-0.12.0-py3-none-any.whl (54 kB) |████████████████████████████████| 54 kB 421 kB/s Collecting anyio==3.* Downloading anyio-3.5.0-py3-none-any.whl (79 kB) |████████████████████████████████| 79 kB 943 kB/s Building wheels for collected packages: aiohttp, bcrypt, ciso8601, cryptography, python-slugify, pyyaml, voluptuous, yarl, frozenlist, MarkupSafe, multidict Building wheel for aiohttp (PEP 517) ... done Created wheel for aiohttp: filename=aiohttp-3.8.1-cp39-cp39-linux_armv7l.whl size=1123297 sha256=022924d43cfb9cdea0f8ff185d0a512d148c5fbddc69332129af9d9f08fc1eb7 Stored in directory: /home/tingo/.cache/pip/wheels/18/3d/16/11bf4b984ebad9a308297e1dd7ece9703314c8a4361f770e4f Building wheel for bcrypt (PEP 517) ... done Created wheel for bcrypt: filename=bcrypt-3.1.7-cp39-cp39-linux_armv7l.whl size=50643 sha256=f115195a15acd034a215d801b956c08b9480cea2ecaa85a2afc09cdeb39d2d0e Stored in directory: /home/tingo/.cache/pip/wheels/a2/df/9f/3e737db43b7e03632c1c23099d36e022c9fc5fb98e1b283fd2 Building wheel for ciso8601 (PEP 517) ... done Created wheel for ciso8601: filename=ciso8601-2.2.0-cp39-cp39-linux_armv7l.whl size=27176 sha256=aa707d2d638a06b7dd3df7fd27bfb1f082f6f6f3be3b427200a73b3b6748433a Stored in directory: /home/tingo/.cache/pip/wheels/eb/ef/30/b91c5119b2581a9d66d18f827d53432f85417ffab180f3e5b8 Building wheel for cryptography (PEP 517) ... done Created wheel for cryptography: filename=cryptography-35.0.0-cp39-cp39-linux_armv7l.whl size=2580989 sha256=0e477e088043c8d1d3c2d79012c3a82c81315e16acb9f45e276ffc5ba83425df Stored in directory: /home/tingo/.cache/pip/wheels/f1/d7/44/fc98c2fb1e604449451fd55b56541981ffe114efafe756bef1 Building wheel for python-slugify (setup.py) ... done Created wheel for python-slugify: filename=python_slugify-4.0.1-py2.py3-none-any.whl size=6769 sha256=2ac92ed42de6984fed8115b68127bc2814d8a007f406288ec3f1156f2b3d2f85 Stored in directory: /home/tingo/.cache/pip/wheels/84/5b/00/3ebff44b1e0a380d959960828803a9486ff2433728cceff666 Building wheel for pyyaml (PEP 517) ... done Created wheel for pyyaml: filename=PyYAML-6.0-cp39-cp39-linux_armv7l.whl size=45333 sha256=c1ee8f09986d380519264d8a8e0fb2b7a2d67b88a4488f8018595e3052b64c48 Stored in directory: /home/tingo/.cache/pip/wheels/b4/0f/9a/d6af48581dda678920fccfb734f5d9f827c6ed5b4074c7eda8 Building wheel for voluptuous (setup.py) ... done Created wheel for voluptuous: filename=voluptuous-0.12.2-py3-none-any.whl size=29552 sha256=318391b9156078f72a25aab9f4c9c8e29631bcaa94d747f97dd248d7e3c1a8ae Stored in directory: /home/tingo/.cache/pip/wheels/50/80/ab/ab37c8824a928c42a261bce71227504b6ef12276ef28f0667b Building wheel for yarl (PEP 517) ... done Created wheel for yarl: filename=yarl-1.7.2-cp39-cp39-linux_armv7l.whl size=262588 sha256=c4f1105570021f22c4046117cdb3e721b090ed85646443fd7433e0602900ad72 Stored in directory: /home/tingo/.cache/pip/wheels/3e/e9/a4/bbd1e7a4e1fc40ad57fd56f9a0d51fffe8bbe47a4d90000e89 Building wheel for frozenlist (PEP 517) ... done Created wheel for frozenlist: filename=frozenlist-1.3.0-cp39-cp39-linux_armv7l.whl size=133016 sha256=3c039d0b216bdeef099171f445c9c54cd0e3821a9a9476a6dc14363925396641 Stored in directory: /home/tingo/.cache/pip/wheels/6c/40/a6/94154198a95bc69c502a31a77b0b0e191157ca964182ea1e13 Building wheel for MarkupSafe (setup.py) ... done Created wheel for MarkupSafe: filename=MarkupSafe-2.1.0-cp39-cp39-linux_armv7l.whl size=24654 sha256=c60925ccab06669e611c61720e370067a975fe873ab0c0691d740c74f1ad4ef3 Stored in directory: /home/tingo/.cache/pip/wheels/16/88/dd/1451425829c7e1cf4b1b875282ca6757858e5068703a1e10d7 Building wheel for multidict (PEP 517) ... done Created wheel for multidict: filename=multidict-6.0.2-cp39-cp39-linux_armv7l.whl size=109422 sha256=e6916d616cd65c11252262b9cb0132f8a574031068bfafd743d66546403abaab Stored in directory: /home/tingo/.cache/pip/wheels/09/2e/af/35665f2dc3fdfa03603e3164d8d900effca39bd1ca5598f8d2 Successfully built aiohttp bcrypt ciso8601 cryptography python-slugify pyyaml voluptuous yarl frozenlist MarkupSafe multidict Installing collected packages: sniffio, idna, rfc3986, pycparser, multidict, h11, frozenlist, certifi, anyio, yarl, voluptuous, urllib3, text-unidecode, six, pytz, MarkupSafe, httpcore, charset-normalizer, cffi, attrs, async-timeout, aiosignal, voluptuous-serialize, typing-extensions, requests, pyyaml, python-slugify, PyJWT, pip, jinja2, ifaddr, httpx, cryptography, ciso8601, bcrypt, awesomeversion, atomicwrites, astral, aiohttp, homeassistant Attempting uninstall: pip Found existing installation: pip 20.3.4 Uninstalling pip-20.3.4: Successfully uninstalled pip-20.3.4 Successfully installed MarkupSafe-2.1.0 PyJWT-2.1.0 aiohttp-3.8.1 aiosignal-1.2.0 anyio-3.5.0 astral-2.2 async-timeout-4.0.2 atomicwrites-1.4.0 attrs-21.2.0 awesomeversion-22.2.0 bcrypt-3.1.7 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.12 ciso8601-2.2.0 cryptography-35.0.0 frozenlist-1.3.0 h11-0.12.0 homeassistant-2022.3.3 httpcore-0.14.7 httpx-0.21.3 idna-3.3 ifaddr-0.1.7 jinja2-3.0.3 multidict-6.0.2 pip-22.0.4 pycparser-2.21 python-slugify-4.0.1 pytz-2021.3 pyyaml-6.0 requests-2.27.1 rfc3986-1.5.0 six-1.16.0 sniffio-1.2.0 text-unidecode-1.3 typing-extensions-4.1.1 urllib3-1.26.8 voluptuous-0.12.2 voluptuous-serialize-2.5.0 yarl-1.7.2
start it
(homeassistant) tingo@kg-bpi:~/.venv/homeassistant$ hass --open-ui 2022-03-12 01:48:11 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-03-12 01:48:12 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=22 from 2022-03-11 23:15:36.554902) 2022-03-12 02:36:20 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud 2022-03-12 02:37:32 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: tellstick 2022-03-12 02:37:47 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-03-12 02:38:46 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: met 2022-03-12 02:39:52 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: esphome 2022-03-12 02:41:45 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cast 2022-03-12 02:41:45 WARNING (SyncWorker_6) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123
Wow. Took nearly an hour (about 53 minutes) for first startup to complete.
2022-03-12: check and install Home Assistant dependencies check
tingo@kg-bpi:~$ sudo apt list python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0-dev tzdata Listing... Done autoconf/stable,now 2.69-14 all [installed,automatic] build-essential/stable,now 12.9 armhf [installed] libffi-dev/stable,now 3.3-6 armhf [installed] libjpeg-dev/stable,now 1:2.0.6-4 armhf [installed] libopenjp2-7/stable 2.4.0-3 armhf libssl-dev/stable,stable-security,now 1.1.1k-1+deb11u1 armhf [installed] libtiff5/stable,now 4.2.0-1 armhf [installed,automatic] libturbojpeg0-dev/stable 1:2.0.6-4 armhf python3-dev/stable,now 3.9.2-3 armhf [installed] python3-pip/stable,now 20.3.4-4 all [installed] python3-venv/stable 3.9.2-3 armhf python3/stable,now 3.9.2-3 armhf [installed,automatic] tzdata/stable-updates,now 2021a-1+deb11u2 all [installed] zlib1g-dev/stable,now 1:1.2.11.dfsg-2 armhf [installed]
install missing
tingo@kg-bpi:~$ sudo apt install libopenjp2-7 libturbojpeg0-dev python3-venv Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libturbojpeg0 python3.9-venv The following NEW packages will be installed: libopenjp2-7 libturbojpeg0 libturbojpeg0-dev python3-venv python3.9-venv 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 478 kB of archives. After this operation, 1,085 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://httpredir.debian.org/debian bullseye/main armhf libopenjp2-7 armhf 2.4.0-3 [154 kB] Get:2 http://httpredir.debian.org/debian bullseye/main armhf libturbojpeg0 armhf 1:2.0.6-4 [146 kB] Get:3 http://httpredir.debian.org/debian bullseye/main armhf libturbojpeg0-dev armhf 1:2.0.6-4 [171 kB] Get:4 http://httpredir.debian.org/debian bullseye/main armhf python3.9-venv armhf 3.9.2-1 [5,396 B] Get:5 http://httpredir.debian.org/debian bullseye/main armhf python3-venv armhf 3.9.2-3 [1,188 B] Fetched 478 kB in 0s (1,105 kB/s) Selecting previously unselected package libopenjp2-7:armhf. (Reading database ... 41758 files and directories currently installed.) Preparing to unpack .../libopenjp2-7_2.4.0-3_armhf.deb ... Unpacking libopenjp2-7:armhf (2.4.0-3) ... Selecting previously unselected package libturbojpeg0:armhf. Preparing to unpack .../libturbojpeg0_1%3a2.0.6-4_armhf.deb ... Unpacking libturbojpeg0:armhf (1:2.0.6-4) ... Selecting previously unselected package libturbojpeg0-dev:armhf. Preparing to unpack .../libturbojpeg0-dev_1%3a2.0.6-4_armhf.deb ... Unpacking libturbojpeg0-dev:armhf (1:2.0.6-4) ... Selecting previously unselected package python3.9-venv. Preparing to unpack .../python3.9-venv_3.9.2-1_armhf.deb ... Unpacking python3.9-venv (3.9.2-1) ... Selecting previously unselected package python3-venv. Preparing to unpack .../python3-venv_3.9.2-3_armhf.deb ... Unpacking python3-venv (3.9.2-3) ... Setting up libturbojpeg0:armhf (1:2.0.6-4) ... Setting up libturbojpeg0-dev:armhf (1:2.0.6-4) ... Setting up libopenjp2-7:armhf (2.4.0-3) ... Setting up python3.9-venv (3.9.2-1) ... Setting up python3-venv (3.9.2-3) ... Processing triggers for libc-bin (2.31-13+deb11u2) ...
2022-03-12: Home Assistant - try to start it - nope fails as before.
2022-03-12: restart the machine
2022-03-12: apt - clean up stuff
tingo@kg-bpi:~$ sudo apt remove --purge python3-multidict Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: python3-multidict* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 153 kB disk space will be freed. Do you want to continue? [Y/n] y dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device (Reading database ... 41757 files and directories currently installed.) Removing python3-multidict (5.1.0-1) ... dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device
autoremove
tingo@kg-bpi:~$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
autoclean
tingo@kg-bpi:~$ sudo apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done
install multidict again
tingo@kg-bpi:~$ sudo apt install python3-multidict Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: python3-multidict 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 36.6 kB of archives. After this operation, 153 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian bullseye/main armhf python3-multidict armhf 5.1.0-1 [36.6 kB] Fetched 36.6 kB in 0s (182 kB/s) dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device Selecting previously unselected package python3-multidict. (Reading database ... 41732 files and directories currently installed.) Preparing to unpack .../python3-multidict_5.1.0-1_armhf.deb ... dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device Unpacking python3-multidict (5.1.0-1) ... dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device Setting up python3-multidict (5.1.0-1) ... dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device
2022-03-11: Home Assistant - upgrade. I stopped Home Assistant, then
tingo@kg-bpi:~$ sudo pip3 install --upgrade homeassistant Collecting homeassistant Downloading homeassistant-2022.3.3-py3-none-any.whl (17.2 MB) |████████████████████████████████| 17.2 MB 8.1 kB/s Requirement already satisfied, skipping upgrade: aiohttp==3.8.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.8.1) Requirement already satisfied, skipping upgrade: astral==2.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2) Requirement already satisfied, skipping upgrade: attrs==21.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (21.2.0) Collecting awesomeversion==22.2.0 Downloading awesomeversion-22.2.0-py3-none-any.whl (12 kB) Collecting pip<22.1,>=21.0 Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) |████████████████████████████████| 2.1 MB 49 kB/s Requirement already satisfied, skipping upgrade: voluptuous==0.12.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.12.2) Requirement already satisfied, skipping upgrade: bcrypt==3.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.1.7) Requirement already satisfied, skipping upgrade: voluptuous-serialize==2.5.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.5.0) Requirement already satisfied, skipping upgrade: python-slugify==4.0.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (4.0.1) Requirement already satisfied, skipping upgrade: PyJWT==2.1.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.1.0) Requirement already satisfied, skipping upgrade: jinja2==3.0.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.0.3) Requirement already satisfied, skipping upgrade: ciso8601==2.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2.0) Requirement already satisfied, skipping upgrade: ifaddr==0.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.1.7) Requirement already satisfied, skipping upgrade: yarl==1.7.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (1.7.2) Requirement already satisfied, skipping upgrade: httpx==0.21.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.21.3) Requirement already satisfied, skipping upgrade: async-timeout==4.0.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (4.0.2) Requirement already satisfied, skipping upgrade: pyyaml==6.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (6.0) Requirement already satisfied, skipping upgrade: cryptography==35.0.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (35.0.0) Requirement already satisfied, skipping upgrade: requests==2.27.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.27.1) Requirement already satisfied, skipping upgrade: typing-extensions<5.0,>=3.10.0.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.10.0.2) Requirement already satisfied, skipping upgrade: certifi>=2021.5.30 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2021.10.8) Requirement already satisfied, skipping upgrade: atomicwrites==1.4.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (1.4.0) Requirement already satisfied, skipping upgrade: multidict<7.0,>=4.5 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (5.2.0) Requirement already satisfied, skipping upgrade: charset-normalizer<3.0,>=2.0 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (2.0.7) Requirement already satisfied, skipping upgrade: frozenlist>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: aiosignal>=1.1.2 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.9/dist-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/local/lib/python3.9/dist-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied, skipping upgrade: cffi>=1.1 in /usr/local/lib/python3.9/dist-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied, skipping upgrade: text-unidecode>=1.3 in /usr/local/lib/python3.9/dist-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied, skipping upgrade: MarkupSafe>=2.0 in /usr/local/lib/python3.9/dist-packages (from jinja2==3.0.3->homeassistant) (2.0.1) Requirement already satisfied, skipping upgrade: idna>=2.0 in /usr/local/lib/python3.9/dist-packages (from yarl==1.7.2->homeassistant) (3.3) Requirement already satisfied, skipping upgrade: sniffio in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: httpcore<0.15.0,>=0.14.0 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (0.14.3) Requirement already satisfied, skipping upgrade: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.5.0) Requirement already satisfied, skipping upgrade: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests==2.27.1->homeassistant) (1.26.7) Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied, skipping upgrade: h11<0.13,>=0.11 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (0.12.0) Requirement already satisfied, skipping upgrade: anyio==3.* in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (3.3.4) Installing collected packages: awesomeversion, pip, homeassistant Attempting uninstall: awesomeversion Found existing installation: awesomeversion 22.1.0 Uninstalling awesomeversion-22.1.0: Successfully uninstalled awesomeversion-22.1.0 Attempting uninstall: pip Found existing installation: pip 20.2.4 Uninstalling pip-20.2.4: Successfully uninstalled pip-20.2.4 Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.2.9 Uninstalling homeassistant-2022.2.9: Successfully uninstalled homeassistant-2022.2.9 Successfully installed awesomeversion-22.2.0 homeassistant-2022.3.3 pip-22.0.4
try to start it
[..] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multidict ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects [..]
ouch, lots of those. try to install python3-multidict via apt apt - install - python3-multidict
tingo@kg-bpi:~$ sudo apt install python3-multidict Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: python3-multidict 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 36.6 kB of archives. After this operation, 153 kB of additional disk space will be used. Get:1 http://httpredir.debian.org/debian bullseye/main armhf python3-multidict armhf 5.1.0-1 [36.6 kB] Fetched 36.6 kB in 0s (139 kB/s) Selecting previously unselected package python3-multidict. (Reading database ... 41732 files and directories currently installed.) Preparing to unpack .../python3-multidict_5.1.0-1_armhf.deb ... Unpacking python3-multidict (5.1.0-1) ... Setting up python3-multidict (5.1.0-1) ...
and try starting Home assistant again
tingo@kg-bpi:~$ hass --open-ui 2022-03-11 23:50:30 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package aiohttp_cors==0.7.0: error: subprocess-exited-with-error × Building wheel for multidict (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [83 lines of output] ********************* * Accelerated build * ********************* running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.9 creating build/lib.linux-armv7l-3.9/multidict copying multidict/_multidict_py.py -> build/lib.linux-armv7l-3.9/multidict copying multidict/_multidict_base.py -> build/lib.linux-armv7l-3.9/multidict copying multidict/_compat.py -> build/lib.linux-armv7l-3.9/multidict copying multidict/_abc.py -> build/lib.linux-armv7l-3.9/multidict copying multidict/__init__.py -> build/lib.linux-armv7l-3.9/multidict running egg_info warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files found matching 'multidict/_multidict.html' warning: no previously-included files found matching 'multidict/*.so' warning: no previously-included files found matching 'multidict/*.pyd' warning: no previously-included files found matching 'multidict/*.pyd' no previously-included directories found matching 'docs/_build' writing manifest file 'multidict.egg-info/SOURCES.txt' copying multidict/__init__.pyi -> build/lib.linux-armv7l-3.9/multidict copying multidict/py.typed -> build/lib.linux-armv7l-3.9/multidict running build_ext creating build/temp.linux-armv7l-3.9 creating build/temp.linux-armv7l-3.9/multidict arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.9 -c multidict/_multidict.c -o build/temp.linux-armv7l-3.9/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic multidict/_multidict.c: In function ‘getversion’: multidict/_multidict.c:1650:36: warning: conversion from ‘uint64_t’ {aka ‘long long unsigned int’} to ‘long unsigned int’ may change value [-Wconversion] 1650 | return PyLong_FromUnsignedLong(pair_list_version(pairs)); | ^~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-armv7l-3.9/multidict/_multidict.o -L/usr/lib -o build/lib.linux-armv7l-3.9/multidict/_multidict.cpython-39-arm-linux-gnueabihf.so running install running install_lib Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module> main() File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 216, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 253, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 145, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 92, in <module> setup(ext_modules=extensions, **args) File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 259, in run self.run_command('install') File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py", line 578, in run self.run_command(cmd_name) File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 985, in run_command cmd_obj.ensure_finalized() File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 107, in ensure_finalized self.finalize_options() File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 17, in finalize_options self.set_undefined_options('install',('install_layout','install_layout')) File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 290, in set_undefined_options setattr(self, dst_option, getattr(src_cmd_obj, src_option)) File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 103, in __getattr__ raise AttributeError(attr) AttributeError: install_layout [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multidict ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects [..]
2022-02-27: Home Assistant got upgraded to version 2022.2.9.
2022-02-27: Home Assistant - upgrade. I stopped Home Assistant, then
tingo@kg-bpi:~$ sudo pip3 install --upgrade homeassistant Collecting homeassistant Downloading homeassistant-2022.2.9-py3-none-any.whl (16.3 MB) |████████████████████████████████| 16.3 MB 25 kB/s Requirement already satisfied, skipping upgrade: cryptography==35.0.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (35.0.0) Requirement already satisfied, skipping upgrade: awesomeversion==22.1.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (22.1.0) Requirement already satisfied, skipping upgrade: python-slugify==4.0.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (4.0.1) Requirement already satisfied, skipping upgrade: aiohttp==3.8.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.8.1) Requirement already satisfied, skipping upgrade: attrs==21.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (21.2.0) Requirement already satisfied, skipping upgrade: atomicwrites==1.4.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (1.4.0) Requirement already satisfied, skipping upgrade: astral==2.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2) Requirement already satisfied, skipping upgrade: ifaddr==0.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.1.7) Requirement already satisfied, skipping upgrade: pip<20.3,>=8.0.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (20.2.4) Requirement already satisfied, skipping upgrade: certifi>=2021.5.30 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2021.10.8) Requirement already satisfied, skipping upgrade: bcrypt==3.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.1.7) Requirement already satisfied, skipping upgrade: requests==2.27.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.27.1) Requirement already satisfied, skipping upgrade: async-timeout==4.0.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (4.0.2) Requirement already satisfied, skipping upgrade: PyJWT==2.1.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.1.0) Requirement already satisfied, skipping upgrade: voluptuous-serialize==2.5.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.5.0) Requirement already satisfied, skipping upgrade: httpx==0.21.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.21.3) Requirement already satisfied, skipping upgrade: voluptuous==0.12.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.12.2) Requirement already satisfied, skipping upgrade: ciso8601==2.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2.0) Requirement already satisfied, skipping upgrade: pyyaml==6.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (6.0) Requirement already satisfied, skipping upgrade: jinja2==3.0.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.0.3) Requirement already satisfied, skipping upgrade: yarl==1.7.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (1.7.2) Requirement already satisfied, skipping upgrade: typing-extensions<5.0,>=3.10.0.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.10.0.2) Requirement already satisfied, skipping upgrade: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography==35.0.0->homeassistant) (1.15.0) Requirement already satisfied, skipping upgrade: text-unidecode>=1.3 in /usr/local/lib/python3.9/dist-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied, skipping upgrade: aiosignal>=1.1.2 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: charset-normalizer<3.0,>=2.0 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (2.0.7) Requirement already satisfied, skipping upgrade: frozenlist>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: multidict<7.0,>=4.5 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (5.2.0) Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.9/dist-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/local/lib/python3.9/dist-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied, skipping upgrade: idna<4,>=2.5; python_version >= "3" in /usr/local/lib/python3.9/dist-packages (from requests==2.27.1->homeassistant) (3.3) Requirement already satisfied, skipping upgrade: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests==2.27.1->homeassistant) (1.26.7) Requirement already satisfied, skipping upgrade: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.5.0) Requirement already satisfied, skipping upgrade: sniffio in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.2.0) Requirement already satisfied, skipping upgrade: httpcore<0.15.0,>=0.14.0 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (0.14.3) Requirement already satisfied, skipping upgrade: MarkupSafe>=2.0 in /usr/local/lib/python3.9/dist-packages (from jinja2==3.0.3->homeassistant) (2.0.1) Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography==35.0.0->homeassistant) (2.21) Requirement already satisfied, skipping upgrade: anyio==3.* in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (3.3.4) Requirement already satisfied, skipping upgrade: h11<0.13,>=0.11 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (0.12.0) Installing collected packages: homeassistant Attempting uninstall: homeassistant Found existing installation: homeassistant 2022.2.0 Uninstalling homeassistant-2022.2.0: Successfully uninstalled homeassistant-2022.2.0 Successfully installed homeassistant-2022.2.9 WARNING: You are using pip version 20.2.4; however, version 22.0.3 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
try to start it
tingo@kg-bpi:~$ hass --open-ui 2022-02-27 17:40:19 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: person, cloud 2022-02-27 17:41:20 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 1 - moving forward 2022-02-27 17:41:21 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: input_select, system_health, timer, input_button, group, input_boolean, input_number, zone, scene, plant, input_text, counter, tag, input_datetime, media_source, script, energy 2022-02-27 17:42:21 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-02-27 17:42:39 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform workday is taking over 10 seconds. 2022-02-27 17:42:39 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform tellstick is taking over 10 seconds. 2022-02-27 17:42:39 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform updater is taking over 10 seconds. 2022-02-27 17:42:39 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'asyncio.exceptions.TimeoutError'> 2022-02-27 17:42:44 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: climate.mill 2022-02-27 17:43:17 WARNING (SyncWorker_0) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2022-02-27 17:44:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] update_battery_status_group_members: Error executing script. Invalid data for call_service at pos 1: Entity ID is an invalid entity ID for dictionary value @ data['entities'] 2022-02-27 17:44:00 ERROR (MainThread) [homeassistant.components.automation.update_battery_status_group_members] Error while executing automation automation.update_battery_status_group_members: Entity ID is an invalid entity ID for dictionary value @ data['entities']
as usual, first strtup takes a while (things get installed in background)
2022-02-02: Home Assistant got upgraded to version 2022.2.0.
2022-02-02: Home Assistant - upgrade. I stopped Home Assistant, then
tingo@kg-bpi:~$ sudo pip3 install --upgrade homeassistant Requirement already satisfied: homeassistant in /usr/local/lib/python3.9/dist-packages (2021.12.9) Collecting homeassistant Downloading homeassistant-2022.2.0-py3-none-any.whl (16.3 MB) |████████████████████████████████| 16.3 MB 39 kB/s Collecting httpx==0.21.3 Downloading httpx-0.21.3-py3-none-any.whl (83 kB) |████████████████████████████████| 83 kB 520 kB/s Requirement already satisfied: voluptuous==0.12.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.12.2) Requirement already satisfied: astral==2.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2) Collecting requests==2.27.1 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) |████████████████████████████████| 63 kB 400 kB/s Requirement already satisfied: ciso8601==2.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.2.0) Requirement already satisfied: pyyaml==6.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (6.0) Requirement already satisfied: python-slugify==4.0.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (4.0.1) Requirement already satisfied: certifi>=2021.5.30 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2021.10.8) Collecting pip<20.3,>=8.0.3 Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB) Requirement already satisfied: PyJWT==2.1.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.1.0) Requirement already satisfied: voluptuous-serialize==2.5.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (2.5.0) Collecting yarl==1.7.2 Downloading yarl-1.7.2.tar.gz (168 kB) |████████████████████████████████| 168 kB 3.9 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: ifaddr==0.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (0.1.7) Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.10.0.2) Collecting awesomeversion==22.1.0 Downloading awesomeversion-22.1.0-py3-none-any.whl (12 kB) Requirement already satisfied: attrs==21.2.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (21.2.0) Requirement already satisfied: atomicwrites==1.4.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (1.4.0) Collecting async-timeout==4.0.2 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Requirement already satisfied: cryptography==35.0.0 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (35.0.0) Requirement already satisfied: jinja2==3.0.3 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.0.3) Requirement already satisfied: bcrypt==3.1.7 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.1.7) Requirement already satisfied: aiohttp==3.8.1 in /usr/local/lib/python3.9/dist-packages (from homeassistant) (3.8.1) Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (2.0.7) Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (5.2.0) Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from aiohttp==3.8.1->homeassistant) (1.2.0) Requirement already satisfied: pytz in /usr/local/lib/python3.9/dist-packages (from astral==2.2->homeassistant) (2021.3) Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.9/dist-packages (from bcrypt==3.1.7->homeassistant) (1.16.0) Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.9/dist-packages (from bcrypt==3.1.7->homeassistant) (1.15.0) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.5.0) Requirement already satisfied: sniffio in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (1.2.0) Requirement already satisfied: httpcore<0.15.0,>=0.14.0 in /usr/local/lib/python3.9/dist-packages (from httpx==0.21.3->homeassistant) (0.14.3) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.9/dist-packages (from jinja2==3.0.3->homeassistant) (2.0.1) Requirement already satisfied: text-unidecode>=1.3 in /usr/local/lib/python3.9/dist-packages (from python-slugify==4.0.1->homeassistant) (1.3) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests==2.27.1->homeassistant) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests==2.27.1->homeassistant) (1.26.7) Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.21) Requirement already satisfied: anyio==3.* in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (3.3.4) Requirement already satisfied: h11<0.13,>=0.11 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.15.0,>=0.14.0->httpx==0.21.3->homeassistant) (0.12.0) Building wheels for collected packages: yarl Building wheel for yarl (PEP 517) ... done Created wheel for yarl: filename=yarl-1.7.2-cp39-cp39-linux_armv7l.whl size=262585 sha256=bbca533fd163461ff51e5be16144813de822632701b543543a225ac1818c10e1 Stored in directory: /root/.cache/pip/wheels/3e/e9/a4/bbd1e7a4e1fc40ad57fd56f9a0d51fffe8bbe47a4d90000e89 Successfully built yarl Installing collected packages: yarl, async-timeout, requests, pip, httpx, awesomeversion, homeassistant Attempting uninstall: yarl Found existing installation: yarl 1.6.3 Uninstalling yarl-1.6.3: Successfully uninstalled yarl-1.6.3 Attempting uninstall: async-timeout Found existing installation: async-timeout 4.0.0 Uninstalling async-timeout-4.0.0: Successfully uninstalled async-timeout-4.0.0 Attempting uninstall: requests Found existing installation: requests 2.26.0 Uninstalling requests-2.26.0: Successfully uninstalled requests-2.26.0 Attempting uninstall: pip Found existing installation: pip 20.3.4 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'pip'. No files were found to uninstall. Attempting uninstall: httpx Found existing installation: httpx 0.21.0 Uninstalling httpx-0.21.0: Successfully uninstalled httpx-0.21.0 Attempting uninstall: awesomeversion Found existing installation: awesomeversion 21.11.0 Uninstalling awesomeversion-21.11.0: Successfully uninstalled awesomeversion-21.11.0 Attempting uninstall: homeassistant Found existing installation: homeassistant 2021.12.9 Uninstalling homeassistant-2021.12.9: Successfully uninstalled homeassistant-2021.12.9 Successfully installed async-timeout-4.0.2 awesomeversion-22.1.0 homeassistant-2022.2.0 httpx-0.21.3 pip-20.2.4 requests-2.27.1 yarl-1.7.2
try starting it
tingo@kg-bpi:~$ hass --open-ui 2022-02-02 20:09:45 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/tingo/.homeassistant/home-assistant_v2.db was shutdown cleanly 2022-02-02 20:16:04 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud 2022-02-02 20:16:51 ERROR (MainThread) [homeassistant.components.media_player] The squeezebox platform for the media_player integration does not support platform setup. Please remove it from your config. 2022-02-02 20:17:21 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: binary_sensor.workday 2022-02-02 20:18:25 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: esphome 2022-02-02 20:19:01 WARNING (SyncWorker_5) [homeassistant.bootstrap] Unable to open the Home Assistant UI in a browser. Open it yourself at http://127.0.0.1:8123 2022-02-02 20:19:01 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 23 2022-02-02 20:19:02 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_statistics_statistic_id_start` to database. Note: this can take several minutes on large databases and slow computers. Please be patient! 2022-02-02 20:19:03 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding index `ix_statistics_short_term_statistic_id_start` to database. Note: this can take several minutes on large databases and slow computers. Please be patient!
(as usual, lots of python modules gets upgraded in the background on first start) after waiting until most of the sensors show up, I decided that it was good enough.
2022-01-15: pip3 - upgrade pip
tingo@kg-bpi:~$ sudo /usr/bin/python3 -m pip install --upgrade pip Collecting pip Downloading pip-21.3.1-py3-none-any.whl (1.7 MB) |████████████████████████████████| 1.7 MB 2.9 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.4 Uninstalling pip-20.2.4: Successfully uninstalled pip-20.2.4 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. homeassistant 2021.12.9 requires pip<20.3,>=8.0.3, but you'll have pip 21.3.1 which is incompatible. Successfully installed pip-21.3.1
ok, bad move?
tingo@kg-bpi:~$ pip3 --version pip 21.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
yes, reinstall from Debian repository
tingo@kg-bpi:~$ sudo apt reinstall python3-pip Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 337 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://httpredir.debian.org/debian bullseye/main armhf python3-pip all 20.3.4-4 [337 kB] Fetched 337 kB in 0s (1,265 kB/s) (Reading database ... 41732 files and directories currently installed.) Preparing to unpack .../python3-pip_20.3.4-4_all.deb ... Unpacking python3-pip (20.3.4-4) over (20.3.4-4) ... Setting up python3-pip (20.3.4-4) ... Processing triggers for man-db (2.9.4-2) ...
test
tingo@kg-bpi:~$ pip3 --version pip 21.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) tingo@kg-bpi:~$ sudo pip3 --version pip 21.3.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
ok, remove first, then install
tingo@kg-bpi:~$ sudo apt remove --purge python3-pip Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: python-pip-whl python3-pkg-resources python3-setuptools python3-wheel Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: python3-pip* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 1,274 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 41731 files and directories currently installed.) Removing python3-pip (20.3.4-4) ... Processing triggers for man-db (2.9.4-2) ... tingo@kg-bpi:~$ sudo apt install python3-pip Reading package lists... Done Building dependency tree... Done Reading state information... Done The