Skip to main content
This page is a checklist of the settings an operator must verify when deploying Cloosphere to production.
  • Expand each item to see the exact values and cautions.
Admin panel settings (GUI) are stored in the DB as PersistentConfig and applied automatically. This page covers the items you cannot change through the GUI — environment variables and external dependencies.

Required Every environment

When CLOOSPHERE_PUBLIC_URL is unset:
  • Embed widget callback URLs are wrongly exposed as an internal IP/host
  • Teams bot manifest validDomains computation errors
(The SR feature is controlled separately by CLOOCUS_PUBLIC_URL + SR_KEY.)Always specify an HTTPS public FQDN. Behind a proxy (Nginx/Cloudflare), enter the externally visible URL.
If the connection drops, /health/db returns 503 plus an error detail. Check this endpoint right after deploying.
The deployed code version and the DB schema version must match. A missing migration surfaces at runtime as a missing column or table error.
In a multi-worker environment migrations must run exactly once. Concurrent workers attempting migration collide (fixed by an automatic lock in recent versions). See the “Serialize container startup” item in the multi-worker group for how to serialize.
  • PostgreSQL — PersistentConfig, users, audit logs, and other core data
  • File storage — uploaded documents and images
  • AGE graph — the Knowledge Graph lives inside PostgreSQL, but large graphs are safer with their own backup cadence.
Establish a regular backup policy that covers all three.

Multi-worker Required with 2+ workers

REDIS_URL is required in multi-worker environments. Operating without Redis:
  • PersistentConfig is held only in per-worker memory → settings drift between workers
  • Session data such as per-user agent selection is lost
  • Teams bot / embed widget user context is lost
When the Redis connection fails, Cloosphere fast-fails on a 5-second timeout and switches to an in-memory fallback (single-worker mode). In multi-worker deployments, monitor Redis availability through the health endpoints.
If workers reach different local files, a file uploaded to one worker does not exist on another. Mount the same shared volume (NFS, object storage, etc.) identically on every worker.
  • Mismatched environment variables → behavior differs depending on which worker a user lands on
  • Mismatched timezone (TZ) → schedule and audit log timestamps disagree between workers
Verify every worker boots with the same environment variable set and the same TZ.
Alembic migration conflicts are resolved by an automatic lock in recent versions, but serializing container start order — for example, waiting for the first worker’s healthcheck to pass before starting the rest — is safer.

Optional Only for the features you use

To enable OAuth/OIDC SSO, set the following environment variables (Keycloak, Entra ID, and Google all use the same interface).
Keycloak organization sync runs on the client_credentials grant flow. Once all the variables above are set, the Keycloak sync option becomes available on the Organization Management screen.
See the Authentication items under General settings for more.
To operate a Microsoft Teams bot:
The Teams bot requires Redis in multi-worker environments. Per-user agent selection state has to be shared across workers.
See the Teams Bot guide for detailed setup.

Cloosphere exposes health endpoints you can wire into external monitoring (Prometheus, Datadog, Azure Monitor, etc.).Response example:
Recommend /health/db for the CI/CD readiness probe and /health for the liveness probe.
The System Diagnostics panel is not an always-on screen inside the admin panel. It appears only inside the “Service Connection Error” screen — shown when the app fails to start — and only for users signed in as an admin. It lists each component as OK / ERROR with the error message, so during an outage you can tell immediately whether the DB, Redis, or the task queue is down. For routine status checks, call the endpoints above directly.
The license must include the audit log (audit_log) feature for operational activity to be recorded. See Audit Logs for how to check and use it.

General

GUI-managed authentication and feature toggles

Teams Bot

Microsoft Teams integration

Channels

Email and webhook notification channels

Troubleshooting

Common issues and solutions in operations