Docs cipi.yml Web panel API MCP Guides Compare GitHub Telegram channel
  1. Docs
  2. Server & runtime
  3. Server commands & updates

Server commands & updates

cipi status, self-update and shell completion.

Server & runtime

The everyday commands for the server itself.

Server status and updates
$ cipi status
$ cipi self-update --check
$ cipi self-update
CommandShows or does
cipi statusCPU, RAM, disk, services, PHP versions, apps, pending items
cipi diskDisk usage of the server and each app (Disk usage)
cipi pendingWhat needs a human (Stack upgrades)
cipi versionInstalled Cipi version
cipi help [topic]Every command, grouped

Credentials#

bash
cipi credentials                       # root, MariaDB, PostgreSQL, Valkey, Meilisearch, backup key
cipi credentials export > cipi.csv     # CSV for any password manager
cipi reset root-password
cipi reset db-password [--engine=pgsql]
cipi reset valkey-password             # restarts the shared Valkey

Run the export from your laptop (ssh cipi@server sudo cipi credentials export > cipi.csv) so no copy stays on the server. Every show or export is logged and notified (credentials_show). Secrets are stored encrypted (Vault).

Updating Cipi#

bash
cipi self-update --check
cipi self-update
Step 1 of 5Download

cipi self-update downloads the new version of Cipi from GitHub.

Updates never deploy your apps or touch their code and data. Migrations bring existing servers in line with new defaults (a security setting, a new hook); each one is written to be safe to re-run and to degrade to a warning instead of breaking the update. A nightly job (03:50) applies updates automatically; run it yourself first if you'd rather watch. What changed in each release: What's new and the changelog on GitHub.

Tab completion#

Installed for you for bash and zsh, for root and the cipi user, in login and non-login shells (su, tmux), including after sudo:

bash
sudo cipi dep<Tab>          # → deploy
sudo cipi deploy sh<Tab>    # → shop  shop-stg   (your apps)
cipi completion zsh --print # the script, for another user or rc file

It completes commands, sub-commands, flags, help topics and app names.