Upstream's nginx.conf logs to /dev/stderr, which nginx cannot open under
systemd, so nginx failed to start on install. The proxy trust
placeholders get the entrypoint's defaults (private networks only).
(cherry picked from commit 8b5f9d3a3b)
The server build runs out of heap at about 3 GB, which is exactly what
setup_nodejs gives Node on a 4 GB container ("Ineffective mark-compacts
near heap limit", 8 installs and 24 update-apps runs in four weeks). On
6 GB setup_nodejs sets 4.5 GB.
update-lxcs and clean-lxcs ended with 1 even when every failed container
gave the same code (141 of 163 update-lxcs failures in a week were apt's
100); they now exit with that code. update-apps adds the failing step from
the engine's .errinfo in the container, so "exit code: 1" says what broke.
newt, forgejo-runner, spacebot and alpine-borgbackup-server stopped with
1 when an unattended install lacked a value it needs, which reports as a
general error; 64 is the code for a missing or invalid input, as
twingate-connector and nextdns already use.
* warracker: bump Python from 3.12 to 3.15
* warracker: use the bumped Python version in the ct update
* Warracker: fill in the nginx settings the upstream entrypoint sets
Upstream's nginx.conf logs to /dev/stderr, which nginx cannot open under
systemd, so nginx failed to start on install. The proxy trust
placeholders get the entrypoint's defaults (private networks only).
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rögl-Brunner Michel <michel.roegl-brunner@htl-braunau.at>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
* Pin install Python version in ct update scripts
* Fireshare: run nginx as root whatever user the upstream config names
Upstream switched prod.conf to "user appuser;", which the container does
not have, so nginx failed its config test on install and every update.
Its game asset alias points at /data, which is /opt/fireshare-data here.
* Anki Sync Server: print the health check ahead of the sync URL
The server has no page at /, only POST routes under /sync and /msync and
GET /health, so the printed URL answered 404 in a browser and in CI.
* Kima-Hub: install CPU builds of torch
The default wheels pull about 5 GB of CUDA libraries the container cannot
use. With --no-cache they land in /tmp, which is RAM on Debian 13, and
the install was killed at 8 GB or ran past 90 minutes.
---------
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
* Set up install PHP version in ct update scripts
* Run setup_php before the update moves the app away
In monica, part-db, privatebin, freshrss and wallos setup_php ran after
the app, its database or its uploads were moved or deleted. A failed
PHP install (Sury mirror sync) left the container without its app.
* Pass PHP modules as PHP_MODULE
setup_php reads PHP_MODULE; PHP_MODULES was ignored, so matomo never got
php-ldap.
---------
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
* Pelican Panel: leave the PHP version change to setup_php
The update removed php"${CURRENT_PHP//./}"*, which turns 8.6 into php86*: no
such package, apt exits 100 and the update stops (#19130). setup_php removes
other versions itself and keeps what the old one had.
* Pelican Panel: back up public storage only when it exists
Releases ship no storage/app/public; it appears with the first uploaded
avatar, icon or logo. Without one, the update stopped at the backup.
apt install php-xml php-intl takes Sury's unversioned packages, which now
depend on PHP 8.6: the update put a second PHP in next to the 8.4 Apache runs,
and Apache still had no intl or xml. With the core pin fixed, apt refuses them
outright. setup_php installs php8.4-xml and php8.4-intl as the install does.
* yourls: bump PHP from 8.3 to 8.4
* yourls: use the bumped PHP version in the ct update
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rögl-Brunner Michel <michel.roegl-brunner@htl-braunau.at>
* poznote: bump PHP from 8.4 to 8.5
* poznote: use the bumped PHP version in the ct update
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rögl-Brunner Michel <michel.roegl-brunner@htl-braunau.at>