Skip to content

Version 5.0.6

Choose a tag to compare

@andreapollastri andreapollastri released this 05 Aug 22:31

[5.0.6] — 2026-08-06

Added

  • cipi api ip-whitelist — restrict panel API / MCP clients by IP. Default file /etc/cipi/api-ip-whitelist is * (allow all). Subcommands: show (default), add, remove, set, allow-all. Entries: one IPv4/IPv6 or CIDR per line (or comma-separated --ips=). --json for automation.
  • Non-interactive SMTPcipi smtp configure --host= --port= --user= --password= --from= --to= [--tls=on|off] [--enabled=on|off] [--no-test]; cipi smtp status --json (password never printed); cipi smtp delete --force.
  • Healthcheck JSONcipi health list --json, cipi health check <app> --json (includes last state / failcount when present).
  • cipi app webhook recreate <app> [--rotate-secret] — recreate the GitHub/GitLab deploy webhook; optional secret rotation updates apps.json + shared/.env CIPI_WEBHOOK_TOKEN.
  • --json on cipi php list / cipi ssh list / cipi service list — structured output for the panel API.
  • Panel API sudoersphp list|install|remove, ssh list|add|remove, service list|restart, status, db install|default, app webhook recreate, smtp status|configure|enable|disable|test|delete, api ip-whitelist (+ args). Migration 5.0.6 creates the default IP whitelist file and regenerates /etc/sudoers.d/cipi-api on cipi self-update.

Fixed

  • cipi app edit --repository= recreated deploy key + webhook even when the URL was unchanged — provider cleanup/setup now runs only when the repository actually changes (same for unchanged --php / --branch).
  • GitHub/GitLab API curl could hang forever — added --connect-timeout 10 --max-time 30.
  • cipi php remove hung under the panel API — confirmation is skipped without a TTY (or with --force), matching other non-interactive commands.
  • Clearer error when editing to a PHP version that is not installed — suggests cipi php install <ver>.