Seems you already have entware docker installed. Maybe you should remove it before running script?
Or open you install.sh script and change ln line to have force argument too like
removed docker service installed on CE. I dont know what you mean by entware docker.
bash ./install.sh -m qemuarm-64
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14 100 14 0 0 19 0 --:--:-- --:--:-- --:--:-- 19
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
./auto-install-docker-coreelec.bash: line 1: 404:: command not found
It is very hard to help in general - only with some specific problems.
Can you gave us exact procedure so someone can repeat the process? From clean installed device.
Thanks for your help so far. I think rather than following my poor steps wouldnt it be easier for you to troubleshoot if you tried the steps of the OP (only 2 steps) and if you are successful you could share how you corrected any errors. That would be easier I think.
After that i did a chmod + x and then ran the script issuing
bash ./install.sh -m qemuarm-64
Below is the result of that
> bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 2873 100 2873 0 0 7136 0 --:--:-- --:--:-- --:--:-- 7146
> bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
>
> DOCKER_URL: https://github.com/tamusiunas/docker-coreelec/releases/download/v20. 10.16/docker_v20.10.16-4-g4d718932c1.m_coreelec_arm64_20220606183323.tar.gz
> Downloading docker. This may take a while.
>
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> 100 89.4M 100 89.4M 0 0 7583k 0 0:00:12 0:00:12 --:--:-- 10.8M
>
> Installing Docker
>
> storage/
> storage/.config/
> storage/.docker/
> storage/.docker/bin/
> storage/.docker/cli-plugins/
> storage/.docker/data-root/
> storage/.docker/bin/docker-linux-arm64
> storage/.docker/bin/docker-init
> storage/.docker/bin/docker
> storage/.docker/bin/docker-proxy
> storage/.docker/bin/rootlesskit-docker-proxy
> storage/.docker/bin/dockerd-rootless-setuptool.sh
> storage/.docker/bin/ctr
> storage/.docker/bin/containerd
> storage/.docker/bin/rootlesskit
> storage/.docker/bin/dockerd-rootless.sh
> storage/.docker/bin/runc
> storage/.docker/bin/containerd-shim-runc-v2
> storage/.docker/bin/vpnkit
> storage/.docker/bin/dockerd
> storage/.docker/bin/docker-compose
> storage/.docker/bin/containerd-shim
> storage/.config/docker/
> storage/.config/system.d/
> storage/.config/system.d/service.system.docker.service
> storage/.config/system.d/docker.service
> storage/.config/system.d/multi-user.target.wants/
> storage/.config/system.d/multi-user.target.wants/service.system.docker.service
> storage/.config/docker/daemon.json
>
> Configuring dockerd service
> This may take a while
>
>
> Configuring PATH
>
> docker PATH added to /storage/.profile
>
> Installation is almost finished. You have to reboot the system now to finish it.
> For more information about the package visit https://github.com/tamusiunas/docke r-coreelec
After the installation of the docker service I re issued the command to execute install.sh
and the following showed on the screen
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[info] Restarting docker service
PING checkonline.home-assistant.io (172.67.68.90): 56 data bytes
64 bytes from 172.67.68.90: seq=0 ttl=53 time=4.601 ms
--- checkonline.home-assistant.io ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.601/4.601/4.601 ms
[info] Install supervisor Docker container
[info] Install supervisor startup scripts
[info] Start Home Assistant Supervised
[info] Installing the 'ha' cli
[info] Within a few minutes you will be able to reach Home Assistant at:
[info] http://homeassistant.local:8123 or using the IP address of your
[info] machine: http://192.168.1.117:8123
I looked at this before and seemed a separate old box running hassio is probably the quickest and easiest solution. Then you can also dedicate it to more server side things without ruining a media player experience. Coreelec can run a lot in the background but controlling you’re smart home kind of warrants an extra box no?
installentware
# select No for reboot at the end
systemctl restart entware.service
export PATH=/opt/bin:/opt/sbin:$PATH
opkg install jq
mkdir -p /storage/downloads
cd /storage/downloads
# docker version 20.10.16
wget -O auto-install-docker-coreelec.bash https://raw.githubusercontent.com/tamusiunas/docker-coreelec/4e4a10eff1ac10dd108a7d649eb34801a6b7b207/auto-install-docker-coreelec.bash
# docker version 22.06.0 beta0
#wget -O auto-install-docker-coreelec.bash https://raw.githubusercontent.com/tamusiunas/docker-coreelec/97d314c647a74426b9115ff263e462d477339b55/auto-install-docker-coreelec.bash
bash auto-install-docker-coreelec.bash noshutdown
source /storage/.profile
# very important (without HA doesn't start)
# https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/
sed -i 's|"init": true,|"init": false,|' /storage/.config/docker/daemon.json
systemctl stop docker.service
rm -fr /var/run/docker*
systemctl start docker.service
wget -O install-supervised-hass-on-coreelec.bash https://gist.githubusercontent.com/Limych/fcd02fefb895c7d981a5534ab99837e7/raw/62314f34e716b297706c5cc93774c00d1129ac83/install-supervised-hass-on-coreelec.bash
# overwrite symbolic link creation
sed -i 's|ln -s |ln -sf |' install-supervised-hass-on-coreelec.bash
bash install-supervised-hass-on-coreelec.bash -d /storage/HomeAssistant
systemctl status hassio-supervisor.service -l --no-pager
# after a minute or two port should be open and Ha web interface available
# but then still need few more minutes to get everything set up
netstat -ant | grep 8123
When HA web interface fully started (can be logged in) the next step is needed for installing addons.
# to enable installing addons (don't know if this is safe or not)
# https://community.home-assistant.io/t/unhealthy-system-reported-on-arch-linux/251430/2
echo '{"ignore_conditions": ["healthy"]}' >/storage/HomeAssistant/jobs.json
systemctl restart hassio-supervisor.service