* 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.
The install wrote a random 52-character string as APP_KEY and only
replaced it with a real key (key:generate) after artisan migrate. A
migration of the current release encrypts, so every new install died
with "Unsupported cipher or incorrect key length" (#18773). Write a
32-byte base64 key up front; key:generate afterwards would rotate it
past what the migration encrypted.
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>
* 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.
* 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>
Debian's nginx security update now passes HTTP_HOST as $host in fastcgi_params, which drops the port. Wallabag, Investbrain, Invoice Ninja, Poznote and WatchState then redirected to port 80 and the browser got connection refused. Pass $http_host again after the include.
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.