Skip to content

v1.0.2 — refuse install when manual sing-box exists

Choose a tag to compare

@tytsxai tytsxai released this 17 May 11:10
· 42 commits to main since this release
1bfd8e7

Fixed

  • Preflight now refuses to proceed if a manually-installed sing-box already exists on the target host (binary at /usr/local/bin/sing-box without a matching apt-managed /usr/bin/sing-box, or any systemd unit matching sing-box*.service other than the standard sing-box.service). Without this check, apt install sing-box silently adds a second, independent binary + systemd unit + config dir alongside the existing manual install — peacefully coexisting until the next reboot, at which point both copies race on ports 443/8443. Hard-learned during v1.0.1 verification on a real host.

Upgrade

bash <(curl -fsSL https://raw.githubusercontent.com/tytsxai/reality-resi-stack/v1.0.2/install/install.sh) \
  --node-name "US-Resi-01" --sni addons.mozilla.org --with-subscription

Tested on

  • Real Ubuntu 24.04.4 LTS host with pre-existing manual sing-box → preflight correctly aborts with actionable message
  • Real Ubuntu 24.04.4 LTS host without prior sing-box install (v1.0.1) → full GPG verification + apt install path verified end-to-end