Skip to content

v1.4.7-alpha.3

Pre-release
Pre-release

Choose a tag to compare

@shenaba shenaba released this 08 Jun 13:20
· 7 commits to develop since this release

v1.4.7-alpha.3 — Pre-release (testing only, not for production)

The amd64 asset was built locally (musl static); CI rebuilds the same commit for the other arches.

Fixes vs alpha.2

  • Robust acme.sh path discovery: probes $HOME/.acme.sh, /root/.acme.sh, /.acme.sh instead of one hard-coded path. Fixes "not found after install" under systemd (HOME empty → acme.sh lands in /.acme.sh); reuses an existing install if present.
  • Fix self-killing reloadcmd (no-nginx mode): acme.sh runs --reloadcmd immediately on first --installcert; systemctl restart s-ui there killed the request doing the issuance, so the UI showed "failed" even when the cert succeeded. No-nginx mode now configures no reloadcmd (restart the panel manually after issuing).
  • Concurrency mutex: a second issuance is rejected while one is in progress (avoids LE rate limits from double-clicks).
  • Port-80 precheck before standalone issuance (friendly error if occupied, e.g. by nginx).
  • curl/wget adaptive acme.sh install + PATH fallback for systemd's minimal PATH.
  • Removed the broken --home install flag (caused "Unknown parameter: ----home").

How to test

  1. bash <(curl -Ls https://raw.githubusercontent.com/shenaba/2s-ui/main/install.sh) v1.4.7-alpha.3
  2. sui -v -> 1.4.7-alpha.3
  3. Settings -> domain + email -> "Issue Certificate". No nginx: certs at /root/cert/{domain}/, then Save + restart panel. With nginx: dropdown auto-detects, uses --nginx.

Prerequisites

Linux + root; a real domain pointing here; port 80 free for the no-nginx case.