Updates run without a terminal (update-apps, pct exec, cron) hit bare
read prompts and failed with 'read exited 1'.
- komodo, alpine-komodo, dockge, dokploy, runtipi, cockpit: prompt_confirm,
so the default (legacy update, no 45Drives extras) applies unattended
- bichon (low space), semaphore (BoltDB migration): exit 75 unattended,
which update-apps reports as skipped
- termix: unattended keeps the current Nginx config
- gitea-mirror, jellyseerr, overseerr, paperless-ngx, vikunja, zabbix: the
PHS_SILENT guards now use is_unattended, so a missing terminal counts too
Since 2.29 every service refuses to start without COMMIT_SHA and VERSION,
which upstream only passes as Docker build args, and the API needs
ICU_TIMEZONE_FILES_DIR pointing at the tz data in docker/icu-timezone.
Installs finished but nothing listened on port 3000. The update adds the
three lines to existing installs.
Fixes#18922
nodesig is a git dependency without a rev. On 2026-11-18 its main moved
to kuchikiki 0.8.9-speedreader, while firecrawl 2.11.0 still asks for
kuchikiki 0.8.2, so cargo cannot resolve the native module and pnpm
install fails. The pin applies only while the release still uses 0.8.2;
the next release, which moved to 0.8.9 itself, builds unchanged.
* FileFlows: check for updates without the REST API
Since 26.10 the FileFlows API is off by default and every /api path
answers 404, so the update check always failed and fell through to a
read that aborts unattended runs. Compare the installed build with the
version fileflows.com hands FileFlows' own updater instead. When that
cannot be reached, ask through prompt_confirm (default no, so unattended
runs skip with a hint) unless FORCE_UPDATE=1 is set.
* FileFlows: install the server unless an agent is asked for
Since prompts survive a closed stdin, an unanswered "Server or Agent?"
came back empty and only "S" chose the server, so every unattended install
(CI, app defaults, a closed console) set up an agent with no web UI on
19200 that restarted forever with "Configuration not set".
* clean
* Change Detection: create the SockPuppetBrowser unit whenever it is missing
The update wrote sockpuppetbrowser.service only while replacing Browserless,
then restarted it unconditionally. A container without browserless.service
(installs before 2023-05, or a lost unit) had SockPuppetBrowser deployed and
the update stopped with "Unit sockpuppetbrowser.service not found" (exit 5).
* ref
Removed outdated comments regarding Browserless and SockPuppetBrowser.
Install and update build TheBadFella/Pinchflat-NGX. The first update of an
original Pinchflat container keeps a backup of .env, app and config (without
metadata and logs) in /opt/pinchflat-pre-ngx.tar.gz and runs the database
migration before the service starts, outside the systemd start timeout.
The thumbnail directory previously was removed by
the root user. However, there are cases where the
root user lacks privileges on a filesystem the
opencloud user has. This is common in network
filesystems like NFS, where, depending on the
NFS server- and client configuration only specific
user ids have access to the filesystem.
* Fetch libssl1.1 for deCONZ over HTTPS on arm64
* deCONZ: start in privileged Incus containers, skip an update with nothing new
The postinst gives /usr/bin/deCONZ the sys_time and sys_boot file caps; a
privileged Incus container lacks them in its bounding set, so exec failed
with 'Operation not permitted'. The service runs as root and needs none, so
an apt hook drops them after every dpkg run. The update now upgrades deconz
only when a newer version exists.
* deCONZ: drop the file caps right after install and update
The apt hook and the version check go. setcap -r now runs once after the
install and after apt upgrade in the update. The service runs as root and
needs none of the caps; in a privileged Incus container they make exec fail.
New installs get the latest v1 release. Existing 0.16 installs are
brought to 0.16.27 first, then update runs stalwart-migrate: prepare
asks its questions, the final run copies the RocksDB store to a new
-v1 directory, and v1 starts on it. The 0.16 store and its config stay
in place for a rollback.
The migration only runs from the container console, needs room for a
second copy of the store and only handles the default RocksDB backend.
If the copy fails, 0.16 is started again.
Bump OpenResty to 1.31.8.1 (the version NPM 2.17 ships) and apply the
upstream nginx 1.31.9 HTTP/2 fixes on top of its bundled nginx 1.31.8.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Add aiostreams (ct)
* AIOStreams: drop mimalloc, cap the heap, add ffprobe
Testing in an LXC showed lower and steadier memory without the mimalloc
preload. The service now runs with NODE_ENV=production, a heap cap of
half the container RAM and MALLOC_ARENA_MAX=2.
ffmpeg provides ffprobe for the media info probe, which is on by
default.
The commit lookup for metadata.json no longer aborts the install when
the GitHub API rate limit is hit.
---------
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
changedetection.io recommends its own SockPuppetBrowser since 2024. Chrome now comes from Google's repository and runs as a dedicated user under SockPuppetBrowser, which installs from its releases. Updates no longer build Browserless or download every Playwright browser; existing containers migrate once, keeping a custom PLAYWRIGHT_DRIVER_URL.
Based on #18613 by skkzsh.
* Portabase: support file and folder backups
Install rclone and restic as the Docker image does and route /storage/restic/ and /storage/sync/ to rclone's restic and WebDAV servers. Updates add both to existing containers and restart Portabase, which looks for rclone only at start.
* Portabase: check rclone and restic releases the usual way
check_for_gh_release already reports a tool without a version file as new, so the extra existence checks only hid its release line.
Dawarich's JavaScript uses relative imports such as `import "./channels"`.
The browser resolves them to undigested paths like /assets/channels and
/assets/channels/consumer. These files are not on disk; Rails serves them.
The Nginx block for /assets/ ended in `try_files $uri =404`, so these
requests never reached Rails. One failed import stops the whole module
graph, and the map stays on "Loading...".
- install: use `try_files $uri @rails` in the /assets/ block.
- update: apply the same change to existing vhosts.
Co-authored-by: Ryan Vo <rvo@fastmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Ollama/OpenWebUI: download update before stopping the service
Stage the release in <dir>.new while Ollama keeps running, stop the service
only for the directory swap. A failed or stalled download no longer leaves
the container without an Ollama binary. Restores the intent of #9894, which
was lost in the tools.func refactor (#14501).
* Remove inline comments
* immich: reuse prebuilt image-processing libraries from the base image
The installer compiles libjxl, jpegli, libheif, libraw, ImageMagick and
libvips from source, which takes 15min-2h. These are the same artifacts
Immich already ships in its ghcr.io/immich-app/base-server-dev base image.
Pull /usr/local out of that image (pinned by digest, parsed from the
release's server/Dockerfile) with daemonless skopeo + umoci and reuse it.
Verify vips is usable before committing to this path; on any failure, or
with IMMICH_LIBS_FROM_SOURCE=1, fall back to the unchanged source compile.
A version-matched ~/.immich_library_revisions is written so the update
script does not needlessly recompile the libraries.
* immich: keep build toolchain only in the source-compile fallback
Move the build-only toolchain (autoconf, automake, libtool, cmake, meson,
ninja-build, gcc-13) into the fallback branch and drop the unused ccache,
so the prebuilt-library path no longer installs them. The runtime library
-dev packages stay in the common path because they pull the shared
libraries the prebuilt libvips loads at runtime.
Also restore the base-images clone and source-dir creation in the fallback,
which the previous commit dropped.
* immich: update adds the Testing repo without debian.sources
Containers without /etc/apt/sources.list.d/debian.sources (Incus images) got
testing.sources from the install, but the update only looked in debian.sources
and ran sed on the missing file. Check every *.sources file, and write
testing.sources like the install does when debian.sources can't take it.
* immich: fall back to compiling when copying the prebuilt libraries fails
The tar copy out of the unpacked base image ran outside the if, so a failed or
partial unpack hit the ERR trap and aborted the install instead of compiling
from source.
* immich: use only the prebuilt image-processing libraries
Drop compiling libjxl, jpegli, libheif, libraw, ImageMagick and libvips from
source. The install pulls them from the base image the release's Dockerfile
pins and stops with a clear error when it can't (skopeo/umoci need Proxmox VE
9.1+). The update fetches and unpacks the new image before it stops or changes
anything, so a failure leaves the running install as it is, and installs it
only when the Immich release changes. ~/.immich_base_image records the image;
the old compile leftovers and ~/.immich_library_revisions are removed.
* Trilium: keep the installed version when an update download fails
update_script deleted /opt/trilium before fetch_and_deploy_gh_release, so a
failed download (GitHub answered 502 for the v0.107.0 archive) left the
container without Trilium, and every later update stopped at "No Trilium
Installation Found".
CLEAN_INSTALL=1 lets core clear the target only after the archive has
downloaded and extracted. If the deploy still fails, the service is started
again on the installed version and the pending marker makes the next update
retry. The install check now looks for trilium.service, so containers broken
by the old order recover with a plain update.
The "database" backup copied /opt/trilium/assets/db, which only holds files
shipped in the release; notes live in Trilium's data directory, which the
update never touches. Removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjCs8G7xWJ12fzC1g4v81E
* Trilium: back up the notes database before updating
With the service stopped and before the new release is deployed, the update
copies document.db (and a -wal file left by an unclean stop) to
<data dir>/backup/backup-before-update.db. The copy is kept after the update,
overwritten by the next one, and listed on Trilium's Backup page. If it cannot
be written, the update does not start and Trilium is restarted.
An install whose TRILIUM_DATA_DIR is inside /opt/trilium is refused before
anything is stopped, since CLEAN_INSTALL replaces that directory.
The install check accepts /opt/trilium again as well as trilium.service, so no
install that passed the old check fails the new one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjCs8G7xWJ12fzC1g4v81E
---------
Co-authored-by: s31teg <23174852+s31teg@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenCloud: bump to v9.0.0, configure the service account through env
- Pin v9.0.0 in the update and install scripts.
- Copy the service account from opencloud.yaml into opencloud.env as
OC_SERVICE_ACCOUNT_ID/OC_SERVICE_ACCOUNT_SECRET, which every service
falls back to (covers 9.0's new auth_guest). Replaces the sed block
that inserted sharing.service_account into the YAML.
- Rename GRAPH_SPACES_DEFAULT_QUOTA to OC_SPACES_DEFAULT_QUOTA.
- Remove the unused thumbnails/files cache.
- Add a commented OC_ENABLE_GUEST_LINKS block to opencloud.env.
* OpenCloud: warn on install if the service account cannot be read
Same check as the update path, in case the opencloud init output changes.
* OpenCloud: name the FQDN variables literally for unattended installs
The prompt loop builds var_opencloud_<server>_fqdn at runtime, so the PR
script test found no variables to pre-answer and the install exited 64.
---------
Co-authored-by: Sim Kai Long <2094270+SimKaiLong@users.noreply.github.com>
openresty.org stalls or refuses for part of the users and is the top cause of NPM failures; Alpine's distfiles serve the same tarball (same sha256 for 1.29.2.5).
upstream stopped shipping backend/node_modules in the release tarball
for any arch as of 3.3.1, so amd64 installs crash on boot with
ERR_MODULE_NOT_FOUND. run npm ci unconditionally in install and update.