v1.4.7-alpha.3
Pre-release
Pre-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.shinstead 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
--reloadcmdimmediately on first--installcert;systemctl restart s-uithere 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
--homeinstall flag (caused "Unknown parameter: ----home").
How to test
bash <(curl -Ls https://raw.githubusercontent.com/shenaba/2s-ui/main/install.sh) v1.4.7-alpha.3sui -v->1.4.7-alpha.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.