Skip to content

Fix open findings: secrets on re-install, ports, toolbox, Caddy, MinIO, Sellf Node, one-liners, n8n; remove RoutePix - #38

Merged
jurczykpawel merged 9 commits into
mainfrom
fix/open-issues
Nov 26, 2026
Merged

jurczykpawel merged 9 commits into
mainfrom
fix/open-issues

Conversation

@jurczykpawel

Copy link
Copy Markdown
Owner

Fixes the open znalezisko issues, one commit each:

Test plan

  • ./tests/run.sh: 453 passed, 0 failed (main: 406)
  • Docker test servers (debian:12, Ubuntu 24.04): toolbox without rsync, littlelink without Caddy, server without ss, re-install keeps secrets (redis, minio), Sellf update with Node 18, MinIO healthcheck; tests/e2e/caddy-domain-docker.sh 15/15
  • CI green

Closes #24, closes #27, closes #29, closes #30, closes #31, closes #32, closes #34, closes #35, closes #36

🤖 Generated with Claude Code

jurczykpawel and others added 9 commits November 26, 2026 20:37
The installer clones a private repository, so deploy.sh routepix and its
one-liner failed for every user. Drop the app, its catalog entries and the
references in tests.

Closes #35

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
minio/minio is gone from Docker Hub and the upstream repository is archived.
Use the maintained fork pgsty/silo (same MINIO_* variables, server command,
S3 API and data, ships mc), pinned to one release in all three installers,
and document the choice in the MinIO README.

Closes #36

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installer banner always claimed an external PostgreSQL, also when the
bundled container starts. Print the message for the mode in use, and align
the README memory guidance with the n8n requirements (about 1 GB with an
external database, about 1.5 GB bundled).

Closes #27

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mailstack runs deploy.mjs from your computer and mailcheap needs an image
built locally, so their curl | bash endpoints could never install them.
Installers can now opt out with a "# ONELINER=false" header line; build.sh
skips them (and removes an endpoint published earlier). A test requires the
marker for every app with deploy.mjs or build.sh.

Closes #24

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PM2 start reads .env.local with util.parseEnv (Node.js 20.12+). With an
older Node.js the update removed the PM2 process first and then failed,
leaving Sellf stopped. Check Node.js next to the system path setup, before
anything is stopped or replaced, and let the installer upgrade an older
Node.js too.

Closes #34

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ensure_toolbox copied the checkout with rsync whenever rsync existed locally
and ignored a failure, so a server without rsync (minimal Debian 12) got no
toolbox and the deploy printed "Failed to install toolbox". Fall back to
system/bootstrap.sh on the server (git clone, honours STACKPILOT_REPO and
STACKPILOT_BRANCH) when rsync is missing or fails.

Closes #30

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deploy.sh installed Caddy only in the domain step, after the installer, so
littlelink stopped on a clean server ("Caddy not installed"). For caddy and
cloudflare domains, ensure_caddy now runs before the installer and stops the
deploy when Caddy cannot be installed; littlelink drops its own check.

Closes #29

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The port check in deploy.sh and port-utils read a missing ss as "nothing is
listening", so on a minimal image a second app took an occupied port and
failed to start. Listing ports now installs iproute2 when ss is missing and
fails with a clear error otherwise; deploy.sh makes sure of ss before any
installer runs and picks the free port from the same listing.

Ports published by the app's own running containers no longer count as
taken: a re-deploy of an app without a port marker kept moving it to another
port, which broke its Caddy mapping on every server that has ss.

The Docker e2e test (clean debian:12) now also covers a server without rsync
(#30), littlelink on a server without Caddy (#29) and a taken default port
with no ss on the server.

Closes #32

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README tells users to update an app by running deploy.sh again, but many
installers generated new secrets on every run: stored data became
unreadable and bundled databases rejected the new password. Installers now
reuse the value an earlier installation wrote (lib/stack-config.sh,
stack_value), keep a given value first, and generate only on a first
install: affine, cap, convertx, crawl4ai, gotenberg, immich, keila, minio,
postiz, redis, social-media-generator, supabase (all keys, API keys kept
while the JWT secret is unchanged), typebot, umami and the WordPress SQLite
salts. deploy.sh passes the helper as STACKPILOT_LIB. The README FAQ points
to deploy.sh <app> --update.

A test runs each installer twice against the same stack directory and
requires identical configuration files.

Closes #31

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jurczykpawel
jurczykpawel merged commit c874a9e into main Nov 26, 2026
1 check passed
@jurczykpawel
jurczykpawel deleted the fix/open-issues branch November 26, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment