Hello,
I need some help with a problem I’ve encountered while working on a project involving a Raspberry Pi. I’m trying to make some changes to the install.sh
file to include a preinstalled extension. A couple of days ago, I was able to successfully build the Raspberry Pi zip file, but since yesterday, I’ve been facing issues with the build process.
I’ve attached the GitHub Actions log below, which indicates there might be some issues with installing or starting Docker.
*** If no errors appeared, your firmware was successfully updated to 1340be471e2764cca8b9f8266e23347d1288919e
*** A reboot is needed to activate the new firmware
- Force update of VL085 and bootloader on first boot.
sudo: unable to resolve host ca87639c2e03: Name or service not known
+ command -v rfkill
/usr/sbin/rfkill
+ echo 'Checking for blocked wifi and bluetooth.'
Checking for blocked wifi and bluetooth.
+ rfkill unblock all
+ echo 'Checking for available space.'
Checking for available space.
++ stat -f / '--format=%a*%S/1024**2'
+ AVAILABLE_SPACE_MB=1841
+ NECESSARY_SPACE_MB=1024
+ (( AVAILABLE_SPACE_MB < NECESSARY_SPACE_MB ))
+ iptables -v
+ grep -q 'Failed to initialize nft'
+ echo 'Checking for docker.'
Checking for docker.
+ docker --version
./install.sh: line 120: docker: command not found
+ curl -fsSL https://get.docker.com
+ env -u VERSION sh
# Executing docker install script, commit: 6d9743e9656cc56f699a64800b098d5ea5a60020
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" -o /etc/apt/keyrings/docker.asc
+ sh -c chmod a+r /etc/apt/keyrings/docker.asc
+ sh -c echo "deb [arch=armhf signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/raspbian bullseye stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null
E: Failed to fetch http://mirror.ossplanet.net/raspbian/raspbian/pool/main/a/apparmor/apparmor_2.13.6-10_armhf.deb Error reading from server - read (104: Connection reset by peer) [IP: 163.22.17.70 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
+ echo 'Failed to start docker, something may be wrong.'
+ '[' 1 -ne 1 ']'
Failed to start docker, something may be wrong.
Running in CI is enabled, trying dind.
+ echo 'Running in CI is enabled, trying dind.'
+ systemctl enable docker
Failed to enable unit, unit docker.service does not exist.
### Error: "bash" returned 1, cleaning up...
umount: /tmp/tmp.dOAVHvD5pf/dev/pts (devpts) unmounted
umount: /tmp/tmp.dOAVHvD5pf/dev (tmpfs) unmounted
umount: /tmp/tmp.dOAVHvD5pf/sys/fs/cgroup (cgroup) unmounted
umount: /tmp/tmp.dOAVHvD5pf/sys (sysfs) unmounted
umount: /tmp/tmp.dOAVHvD5pf/proc (proc) unmounted
umount: /tmp/tmp.dOAVHvD5pf/boot (/dev/mapper/loop0p1) unmounted
umount: /tmp/tmp.dOAVHvD5pf (/dev/mapper/loop0p2) unmounted
del devmap : loop0p1
del devmap : loop0p2
Error: Process completed with exit code 1.
Could someone please help me diagnose and resolve this issue? Any guidance would be greatly appreciated!
Thanks in advance for your help.