gdha / pi4-uptime-kuma-helm

Modified repo of uptime-kuma-helm (from https://github.com/k3rnelpan1c-dev/uptime-kuma-helm)
GNU General Public License v3.0
0 stars 0 forks source link

Actions -build fails due to missing group 'uptime-kuma' #57

Open gdha opened 1 week ago

gdha commented 1 week ago
Writing manifest to image destination
debconf: delaying package configuration, since apt-utils is not installed
E: Sub-process /usr/bin/dpkg returned an error code (1)
adduser: The group `uptime-kuma' does not exist.
chown: invalid user: 'uptime-kuma:0'
Error: building at STEP "RUN apt-get update -qqy     && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qqy         python3 python3-pip python3-cryptography python3-six python3-yaml python3-click python3-markdown python3-requests python3-requests-oauthlib         sqlite3 iputils-ping util-linux dumb-init curl ca-certificates bash     && pip3 --no-cache-dir install apprise==${APPRISE_VERSION}     && rm -rf /var/lib/apt/lists/*         && ARCH= && dpkgArch="$(dpkg --print-architecture)"     && case "${dpkgArch##*-}" in       amd64) ARCH='amd64';;       arm64) ARCH='arm64';;       armhf) ARCH='arm';;       *) echo "unsupported architecture"; exit 1 ;;     esac     && curl -fsSLo /usr/local/bin/cloudflared [https://github.com/cloudflare/cloudflared/releases/download/${CLOUDFLARED_VERSION}/cloudflared-linux-${ARCH}](https://github.com/cloudflare/cloudflared/releases/download/$%7BCLOUDFLARED_VERSION%7D/cloudflared-linux-$%7BARCH%7D)     && chmod +x /usr/local/bin/cloudflared         && addgroup --system --gid ${GID} uptime-kuma || true     && adduser --system --disabled-login --ingroup uptime-kuma --no-create-home --home /nonexistent --gecos "uptime-kuma" --shell /bin/false --uid ${UID} uptime-kuma || true     && mkdir -p /app/data     && chown -R uptime-kuma:0 /app     && chmod -R g=u /app         && set -ex || exit $?;       cloudflared version;       apprise --version;": while running runtime: exit status 1
gdha commented 1 week ago

Did notice an error during package install phase:

Processing triggers for libc-bin (2.31-13+deb11u10) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 139
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
adduser: The group `uptime-kuma' does not exist.

See also https://askubuntu.com/questions/1160366/apt-not-working-installed-libc-bin-package-post-installation-script-subprocess