Проблема с установкой Home assistant

Добрый день, подскажите пожалуйста в чем проблема и как ее решить.
Установку провожу ровно по инструкциям, но при этом выдает ошибку;
root@wirenboard-AL7Y53UV:/mnt/data/.docker-compose/home-assistant# docker compose up -d
[+] Running 26/29
⠦ homeassistant [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣤⣿⣿⣿⣿] 457.8MB / 681.9MB Pulling 43.6s
:heavy_check_mark: 7122488a7b76 Pull complete 0.5s
:heavy_check_mark: 6b59a28fa201 Pull complete 6.9s
:heavy_check_mark: 32e02b208514 Download complete 1.0s
:heavy_check_mark: 941090830e15 Pull complete 0.7s
:heavy_check_mark: 8bc69f822830 Pull complete 7.1s
:heavy_check_mark: ae9d5f00cdc8 Pull complete 11.9s
:heavy_check_mark: 8c13f76486e2 Pull complete 8.7s
:heavy_check_mark: 117ca63765f3 Pull complete 0.7s
:heavy_check_mark: d89cc92c5b3d Pull complete 0.8s
:heavy_check_mark: eb6ba507c876 Pull complete 1.0s
:heavy_check_mark: b84b516ad569 Pull complete 5.5s
:heavy_check_mark: 5687b99cbc4d Pull complete 3.0s
:heavy_check_mark: ef5b0bee626b Pull complete 12.8s
⠴ 5812cfef0a71 Extracting 1 s 41.0s
:heavy_check_mark: 3464428035b6 Pull complete 1.0s
:heavy_check_mark: 4f4fb700ef54 Pull complete 39.5s
:heavy_check_mark: 363f208a6ede Download complete 1.1s
:heavy_check_mark: e0b175c360b6 Pull complete 40.5s
:heavy_check_mark: 7d2d0fe10f5b Download complete 1.2s
:heavy_check_mark: 32f44e3c5dca Pull complete 40.4s
:heavy_check_mark: 32f48ec0eab5 Pull complete 1.1s
:heavy_check_mark: 22d21bc2e7c6 Download complete 17.5s
:heavy_check_mark: 80be49c06019 Download complete 1.1s
⠋ 7245943fc3f1 Downloading [=========================> ] 224.4MB/448MB 41.0s
:heavy_check_mark: 73606726d0e3 Pull complete 38.2s
:heavy_check_mark: 631122f643a8 Download complete 19.8s
:heavy_check_mark: ae6f9a5f81c7 Download complete 23.6s
:heavy_check_mark: 61ed823bd593 Pull complete 39.0s
failed to extract layer (application/vnd.docker.image.rootfs.diff.tar.gzip sha256:5812cfef0a7130a64ab7840748ec992c713bb8e6d399881c80f67449f7166afa) to overlayfs as “extract-165599124-tSLT sha256:d9d37f406f43712368cf3d35950b5996821d36df89510eb26990f44476edd339”: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/49/fs/usr/local/bin/uv: no space left on device

Вероятно, Вы не указали путь хранения образов docker, как описано в этой инструкции, поэтому docker скачивает образы в /var/lib/containerd, где закончилось место (no space left on device).

Подскажите пожалуйста какой конкретно пункт я не выполнил? я не понимаю. Шел по всем инструкциям шаг за шагом.

В файле /etc/docker/daemon.json значение data-root должно быть /mnt/data/.docker

Данные строки там прописаны

А файл /etc/containerd/config.toml существует? Если да, то покажите содержимое, пожалуйста.

1 лайк

Существует, вот содержимое:

Copyright 2018-2022 Docker Inc.

Licensed under the Apache License, Version 2.0 (the “License”);

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

Apache License, Version 2.0 | Apache Software Foundations

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an “AS IS” BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

disabled_plugins = [“cri”]

#root = “/var/lib/containerd”
#state = “/run/containerd”
#subreaper = true
#oom_score = 0

#[grpc]

address = “/run/containerd/containerd.sock”

uid = 0

gid = 0

#[debug]

address = “/run/containerd/debug.sock”

uid = 0

gid = 0

level = “info”

Попробуйте создать директорию /mnt/containerd-data и параметру root в /etc/containerd/config.toml пропишите значение /mnt/containerd-data.

вот что получилось:
root@wirenboard-AL7Y53UV:~# docker compose up -d
[+] Running 27/29
⠧ homeassistant [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 288.7MB / 681.6MB Pulling 50.7s
:heavy_check_mark: 6b59a28fa201 Pull complete 1.2s
:heavy_check_mark: 61ed823bd593 Pull complete 26.2s
:heavy_check_mark: 32e02b208514 Download complete 0.7s
:heavy_check_mark: b84b516ad569 Pull complete 26.9s
:heavy_check_mark: 8bc69f822830 Pull complete 0.8s
:heavy_check_mark: 5812cfef0a71 Pull complete 27.6s
:heavy_check_mark: 4f4fb700ef54 Pull complete 0.9s
:heavy_check_mark: ae9d5f00cdc8 Pull complete 19.2s
:heavy_check_mark: 8c13f76486e2 Pull complete 12.5s
:heavy_check_mark: 117ca63765f3 Pull complete 0.8s
:heavy_check_mark: eb6ba507c876 Pull complete 1.5s
:heavy_check_mark: 941090830e15 Pull complete 0.9s
:heavy_check_mark: ef5b0bee626b Pull complete 20.1s
:heavy_check_mark: 363f208a6ede Pull complete 1.0s
:heavy_check_mark: 73606726d0e3 Pull complete 23.6s
:heavy_check_mark: 5687b99cbc4d Pull complete 26.4s
:heavy_check_mark: 7d2d0fe10f5b Pull complete 0.9s
⠙ 7245943fc3f1 Downloading [======> ] 56.2MB/448MB 48.1s
:heavy_check_mark: 631122f643a8 Download complete 21.5s
:heavy_check_mark: 3464428035b6 Pull complete 1.2s
:heavy_check_mark: 22d21bc2e7c6 Pull complete 33.9s
:heavy_check_mark: 7122488a7b76 Pull complete 12.7s
:heavy_check_mark: 80be49c06019 Pull complete 34.0s
:heavy_check_mark: 32f44e3c5dca Pull complete 26.7s
:heavy_check_mark: e0b175c360b6 Pull complete 2.8s
:heavy_check_mark: d89cc92c5b3d Pull complete 1.1s
:heavy_check_mark: 32f48ec0eab5 Pull complete 26.8s
:heavy_check_mark: ae6f9a5f81c7 Download complete 16.4s
failed to copy: failed to send write: write /var/lib/containerd/io.containerd.content.v1.content/ingest/1005823b2692a0c69dce055e78bbbb5f648a3df7ba9b2988c1efc2986c6cde63/data: no space left on device

Строку root = “/mnt/containerd-data” в файле /etc/containerd/config.toml раскоментарили? Сервис docker перезапускали?

вот что я сделал:

Copyright 2018-2022 Docker Inc.

Licensed under the Apache License, Version 2.0 (the “License”);

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

Apache License, Version 2.0 | Apache Software Foundations

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an “AS IS” BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

disabled_plugins = [“cri”]

#root = “/mnt/containerd-data”
#state = “/run/containerd”
#subreaper = true
#oom_score = 0

#[grpc]

address = “/run/containerd/containerd.sock”

uid = 0

gid = 0

#[debug]

address = “/run/containerd/debug.sock”

uid = 0

gid = 0

level = “info”

root@wirenboard-AL7Y53UV:~# systemctl restart docker
root@wirenboard-AL7Y53UV:~# docker compose up -d
[+] Running 26/29
⠇ homeassistant [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⣿⣿⣷] 419.2MB / 681.6MB Pulling 39.8s
:heavy_check_mark: 8bc69f822830 Pull complete 0.5s
:heavy_check_mark: 73606726d0e3 Pull complete 33.0s
:heavy_check_mark: 32e02b208514 Download complete 0.5s
:heavy_check_mark: 8c13f76486e2 Pull complete 20.1s
:heavy_check_mark: 6b59a28fa201 Pull complete 6.2s
:heavy_check_mark: 941090830e15 Pull complete 0.8s
:heavy_check_mark: 61ed823bd593 Pull complete 33.6s
:heavy_check_mark: 7122488a7b76 Pull complete 0.7s
:heavy_check_mark: 4f4fb700ef54 Pull complete 0.8s
:heavy_check_mark: 117ca63765f3 Pull complete 0.9s
:heavy_check_mark: ef5b0bee626b Pull complete 26.0s
:heavy_check_mark: eb6ba507c876 Pull complete 1.2s
:heavy_check_mark: ae9d5f00cdc8 Pull complete 25.0s
:heavy_check_mark: 5687b99cbc4d Pull complete 33.8s
:heavy_check_mark: 32f48ec0eab5 Pull complete 1.0s
:heavy_check_mark: 363f208a6ede Pull complete 37.3s
:heavy_check_mark: d89cc92c5b3d Pull complete 35.4s
:heavy_check_mark: 3464428035b6 Pull complete 0.9s
:heavy_check_mark: 7d2d0fe10f5b Pull complete 1.0s
:heavy_check_mark: b84b516ad569 Pull complete 3.6s
:heavy_check_mark: 32f44e3c5dca Pull complete 34.1s
:heavy_check_mark: 22d21bc2e7c6 Download complete 14.9s
:heavy_check_mark: 5812cfef0a71 Pull complete 37.2s
:heavy_check_mark: e0b175c360b6 Pull complete 35.3s
⠼ 7245943fc3f1 Downloading [=====================> ] 188.7MB/448MB 37.4s
:heavy_check_mark: ae6f9a5f81c7 Download complete 20.8s
:heavy_check_mark: 80be49c06019 Download complete 2.7s
⠼ 631122f643a8 Downloading [============================================> ] 25.17MB/28.26MB 37.4s
failed to extract layer (application/vnd.docker.image.rootfs.diff.tar.gzip sha256:22d21bc2e7c66f3ad5909c9ab42d8c206ae2b727e18b50e99e8df5830931686d) to overlayfs as “extract-116322257-pyOe sha256:72a43b4453fc5bc640bffd1817569fc3cc7e7cb4dbdc55a36a4f0267ea37e02c”: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/137/fs/usr/local/lib/python3.13/site-packages/OpenSSL/SSL.py: no space left on device

тут в начале строки решётку уберите и перезапустите docker

Copyright 2018-2022 Docker Inc.

Licensed under the Apache License, Version 2.0 (the “License”);

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

Apache License, Version 2.0 | Apache Software Foundations

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an “AS IS” BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

disabled_plugins = [“cri”]

root = “/mnt/containerd-data”
#state = “/run/containerd”
#subreaper = true
#oom_score = 0

#[grpc]

address = “/run/containerd/containerd.sock”

uid = 0

gid = 0

#[debug]

address = “/run/containerd/debug.sock”

uid = 0

gid = 0

level = “info”

root@wirenboard-AL7Y53UV:~# systemctl restart docker
root@wirenboard-AL7Y53UV:~# docker compose up -d
[+] Running 26/29
⠸ homeassistant [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 423.2MB / 681.8MB Pulling 41.3s
:heavy_check_mark: 6b59a28fa201 Pull complete 1.2s
:heavy_check_mark: 4f4fb700ef54 Pull complete 36.1s
:heavy_check_mark: eb6ba507c876 Pull complete 1.1s
:heavy_check_mark: 7122488a7b76 Pull complete 0.8s
:heavy_check_mark: 363f208a6ede Download complete 5.8s
:heavy_check_mark: ae9d5f00cdc8 Pull complete 26.7s
:heavy_check_mark: 5687b99cbc4d Pull complete 36.2s
:heavy_check_mark: 7d2d0fe10f5b Download complete 6.1s
:heavy_check_mark: 117ca63765f3 Pull complete 0.7s
:heavy_check_mark: ef5b0bee626b Pull complete 27.6s
:heavy_check_mark: 80be49c06019 Download complete 6.5s
:heavy_check_mark: 73606726d0e3 Pull complete 35.5s
⠇ 7245943fc3f1 Downloading [=====================> ] 190.2MB/448MB 38.8s
:heavy_check_mark: 631122f643a8 Download complete 13.6s
:heavy_check_mark: 61ed823bd593 Pull complete 36.0s
:heavy_check_mark: 22d21bc2e7c6 Download complete 25.1s
:heavy_check_mark: 8bc69f822830 Pull complete 1.3s
:heavy_check_mark: 8c13f76486e2 Pull complete 10.9s
:heavy_check_mark: ae6f9a5f81c7 Download complete 28.4s
:heavy_check_mark: 32f48ec0eab5 Pull complete 36.6s
:heavy_check_mark: 32e02b208514 Download complete 0.7s
:heavy_check_mark: 3464428035b6 Pull complete 5.9s
:heavy_check_mark: b84b516ad569 Pull complete 36.7s
:heavy_check_mark: d89cc92c5b3d Pull complete 5.9s
⠴ 5812cfef0a71 Extracting 3 s 38.8s
:heavy_check_mark: 941090830e15 Pull complete 5.8s
:heavy_check_mark: 32f44e3c5dca Pull complete 36.4s
:heavy_check_mark: e0b175c360b6 Pull complete 7.6s
failed to extract layer (application/vnd.docker.image.rootfs.diff.tar.gzip sha256:5812cfef0a7130a64ab7840748ec992c713bb8e6d399881c80f67449f7166afa) to overlayfs as “extract-969423882-uSpU sha256:d9d37f406f43712368cf3d35950b5996821d36df89510eb26990f44476edd339”: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/183/fs/usr/local/bin/uv: no space left on device

Чудеса…
Остановите сервис docker и покажите вывод команд:

df -h
du -sh /*

Проверьте пожалуйста выполнив docker info |grep 'Docker Root Dir'

Чудес не бывает.

root@wirenboard-AL7Y53UV:~# docker info |grep ‘Docker Root Dir’
Docker Root Dir: /mnt/data/.docker
root@wirenboard-AL7Y53UV:~#

root@wirenboard-AL7Y53UV:~# systemctl stop docker
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
root@wirenboard-AL7Y53UV:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 2.0G 1.2G 661M 64% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 4.0K 2.0G 1% /dev/shm
tmpfs 787M 1.4M 786M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk0p6 55G 511M 52G 1% /mnt/data
tmpfs 394M 0 394M 0% /run/user/0
root@wirenboard-AL7Y53UV:~# du -sh /*
0 /bin
15M /boot
4.0K /chroot_this.sh
4.0K /dev
5.3M /etc
4.0K /home
0 /lib
4.0K /media
du: cannot read directory ‘/mnt/sdcard’: No such device
511M /mnt
16K /opt
du: cannot access ‘/proc/30688/task/30688/fd/4’: No such file or directory
du: cannot access ‘/proc/30688/task/30688/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/30688/fd/4’: No such file or directory
du: cannot access ‘/proc/30688/fdinfo/4’: No such file or directory
0 /proc
0 /root
16K /root.default
1.4M /run
0 /sbin
4.0K /srv
0 /sys
60K /tmp
4.0K /umount_chroot.sh
1.1G /usr
80M /var
root@wirenboard-AL7Y53UV:~#

Перезапустите сервис containerd, если ещё не перезапускали.

root@wirenboard-AL7Y53UV:~# systemctl stop containerd
root@wirenboard-AL7Y53UV:~# rm -rf /var/lib/containerd/
root@wirenboard-AL7Y53UV:~# systemctl daemon-reload
root@wirenboard-AL7Y53UV:~# systemctl start containerd
root@wirenboard-AL7Y53UV:~# docker compose up -d
[+] Running 26/29
⠇ homeassistant [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣤⣿⣿⣿⣿⣿] Pulling 43.9s
:heavy_check_mark: 8c13f76486e2 Pull complete 24.8s
:heavy_check_mark: 941090830e15 Pull complete 24.9s
:heavy_check_mark: 32e02b208514 Download complete 0.9s
:heavy_check_mark: 73606726d0e3 Pull complete 38.8s
:heavy_check_mark: ef5b0bee626b Pull complete 29.0s
:heavy_check_mark: 7122488a7b76 Pull complete 10.8s
:heavy_check_mark: b84b516ad569 Download complete 7.6s
:heavy_check_mark: 61ed823bd593 Pull complete 40.2s
:heavy_check_mark: 8bc69f822830 Pull complete 7.7s
:heavy_check_mark: 117ca63765f3 Pull complete 10.7s
:heavy_check_mark: 4f4fb700ef54 Pull complete 40.3s
:heavy_check_mark: 5812cfef0a71 Download complete 13.9s
:heavy_check_mark: 6b59a28fa201 Pull complete 1.2s
:heavy_check_mark: eb6ba507c876 Pull complete 11.0s
:heavy_check_mark: ae9d5f00cdc8 Pull complete 28.0s
:heavy_check_mark: 363f208a6ede Download complete 1.1s
:heavy_check_mark: 5687b99cbc4d Pull complete 40.9s
:heavy_check_mark: 631122f643a8 Download complete 12.5s
:heavy_check_mark: 80be49c06019 Download complete 0.9s
:heavy_check_mark: 3464428035b6 Pull complete 41.0s
:heavy_check_mark: ae6f9a5f81c7 Download complete 25.3s
:heavy_check_mark: 32f44e3c5dca Pull complete 41.2s
⠴ 7245943fc3f1 Downloading [==========================> ] 235.9MB/448MB 41.5s
:heavy_check_mark: d89cc92c5b3d Download complete 5.3s
⠙ e0b175c360b6 Extracting 1 s 41.5s
:heavy_check_mark: 32f48ec0eab5 Download complete 6.1s
:heavy_check_mark: 22d21bc2e7c6 Download complete 39.7s
:heavy_check_mark: 7d2d0fe10f5b Download complete 0.9s
failed to extract layer (application/vnd.docker.image.rootfs.diff.tar.gzip sha256:e0b175c360b6762a654c973d065a37fe3e715ef544e7328b33b2f6f684be348b) to overlayfs as “extract-298652235-gqtN sha256:870a3ebcb66d6631a4cfa0afd7413371f757fa36ffa138992076804633c208d5”: write /mnt/containerd-data/io.containerd.snapshotter.v1.overlayfs/snapshots/16/fs/usr/local/sbin/telldusd: no space left on device