Before you install
Use a Debian or Ubuntu host with root access, Python 3.11 or newer, and Node.js 18 or newer. The installer uses apt and needs internet access to fetch source and dependencies. It configures nginx and a systemd or SysV service.
No minimum CPU or RAM specification is published in the pinned documentation. Hardware readings depend on the host and kernel; consult the NAS compatibility guide for storage limitations.
Install on the host
The native installer is the supported deployment method. CarbonPanel manages the machine it runs on. Docker container monitoring does not mean that CarbonPanel itself has a supported Docker deployment; the repository’s retained Docker snippets are legacy helpers.
Install the verified release
This command downloads the installer from the verified commit and explicitly selects v1.8.0. Review the installer before running it with root privileges.
curl -fsSL https://raw.githubusercontent.com/leodenglovescode/CarbonPanel/f54d83f129d8a1166fa70310728e0d35db68ef17/scripts/install-carbonpanel.sh -o install-carbonpanel.sh
sudo bash install-carbonpanel.sh install --ref v1.8.0 If you are already root, omit sudo. The installer also provides the carbonpanelctl control command.
Open the panel
- Visit
https://<server-address>:8787, unless you changedAPP_PORT. The installer enables HTTPS with a self-signed certificate. - Read the generated credentials on the server:
sudo cat /opt/carbonpanel/shared/first-install.txt. - Sign in, set a new password, and optionally enable two-factor authentication.
The managed configuration lives at /opt/carbonpanel/shared/backend.env. The installer generates production secrets and a random initial password; updates preserve existing accounts.
Choose how you sign in
The browser uses session cookies, with optional TOTP two-factor authentication and passkeys. Passkeys require a stable domain hostname and a browser-trusted HTTPS certificate. Accepting a self-signed certificate warning does not meet that requirement.
Android has a separate QR pairing flow with HTTPS and a revocable device token. It does not ask for your server password on the phone.
Understand updates
Use Settings → Server → Updates & service logs → Install Update, or run sudo carbonpanelctl update. The panel shows progress and reconnects after the service restarts. Failed deployment or health checks trigger automatic rollback. Run sudo carbonpanelctl rollback for a manual rollback.
GitHub releases publish Android artifacts. The server updater follows the installed branch, or the repository’s default branch for a tag-based install. A plain update after this pinned install can therefore include newer, unreleased server work. To explicitly select a release, use sudo carbonpanelctl update --ref v1.8.0.
Successful updates retain the running release and the previous release for rollback. sudo carbonpanelctl purge --dry-run previews cleanup; sudo carbonpanelctl purge runs it. Shared data, configuration, certificates, and database backups are preserved.
Reference from upstream
The following installation, update, and configuration sections are generated directly from the pinned README. Its short install command uses the project’s installer endpoint and follows the default branch. The command above pins the installer and target release.
Install
The native installer sets up CarbonPanel with nginx and a systemd or SysV service. Requires root, Debian/Ubuntu, Python 3.11+, and Node.js 18+.
curl -fsSL https://carbonpanel.leodeng.dev/install.sh | sudo bash
When already logged in as root, omit sudo.
Initial credentials are saved to /opt/carbonpanel/shared/first-install.txt.
On first login, set a new password and optionally enable two-factor authentication.
The installer enables HTTPS with a self-signed certificate. For a publicly trusted connection, configure a certificate for the server's domain. Passkeys require a stable domain hostname and a certificate trusted by the device; accepting a self-signed certificate warning is not sufficient. TOTP is also available when passkeys cannot be used.
CarbonPanel manages the host it runs on, including services, processes, disks,
and nginx sites. The native installer is the supported deployment method.
The retained docker/ nginx snippets are legacy integration helpers, not a
standalone deployment.
Updating
Use Settings → Server → Updates & service logs → Install Update, or run:
sudo carbonpanelctl update
The panel displays installation progress and reconnects after the service restarts. Failed deployment or health checks trigger an automatic rollback. To roll back manually:
sudo carbonpanelctl rollback
Successful updates automatically remove obsolete release directories, keeping the running release and the previous release for rollback. Interrupted builds created by the updated installer are also eligible for cleanup. To preview or run cleanup manually (serialized with updates and rollbacks):
sudo carbonpanelctl purge --dry-run
sudo carbonpanelctl purge
Purge validates release names and metadata and skips unrecognized entries and symlinks. It refuses unsafe release layouts or mounted directories. Shared data, configuration, certificates and database backups are preserved. Older temporary bootstrap clones without ownership markers are not automatically deleted; new updates clean up their bootstrap clone on exit.
Configuration
Local development reads backend/.env; managed installations read
/opt/carbonpanel/shared/backend.env. The installer generates production secrets
and initial credentials.
| Variable | Default | Description |
|---|---|---|
SECRET_KEY |
Development placeholder | JWT signing key; use a unique random secret in production |
ADMIN_USERNAME |
admin |
Initial admin username |
ADMIN_PASSWORD |
changeme (development) |
Initial password; the installer generates a random password, and updates preserve existing accounts |
APP_PORT |
8787 |
Installer setting for the nginx HTTPS port |
COOKIE_SECURE |
true (installer), false (development) |
Require HTTPS for session cookies |
TLS_CERT_FILE |
Unset in development | PEM certificate used to bind Android pairing to the server's TLS certificate |
DEVICE_TOKEN_EXPIRE_DAYS |
0 |
Android pairing lifetime: 0 means until revoked; positive values expire new pairings after that many days |
DATABASE_URL |
sqlite+aiosqlite:///./carbonpanel.db |
Database connection string |
METRICS_INTERVAL_SECONDS |
2.0 |
Metrics collection interval |
PROCESS_LIMIT |
25 |
Maximum processes displayed |
Source: README.md at v1.8.0. Verification record.