scripts/cliprctl health
scripts/cliprctl logs app --tail 100
Start and deployment
Message or symptom
Cause and fix
Preflight failed
The lines above name the reason (missing .env, port in use, overlay requirement missing). Nothing was changed.
Port 443 is already in use
Another service uses the port. Choose a different one: scripts/cliprctl config set CLIPR_HTTPS_PORT 8443 (and set CLIPR_PUBLIC_URL with the port).
App does not start: CLIPR_SECRET_KEY muss mindestens 32 Zeichen lang sein
Key too short or truncated (e.g. by quotes). With existing data restore the original key – do not create a new one.
App starts but nothing is readable / errors opening the database
Wrong CLIPR_SECRET_KEY for this data. Put in the key from your backup.
CLIPR_WIKI_DOMAIN fehlt in der .env
The wiki overlay is active but without a hostname: scripts/cliprctl config set CLIPR_WIKI_DOMAIN … or remove the overlay.
Timed out after 180s during deployment
A container does not become "healthy". scripts/cliprctl logs <service> shows why; often too little memory (CLIPR_MEM_LIMIT).
Network error Pool overlaps with other one on this address space
CLIPR_SUBNET overlaps an existing Docker network. Choose another one, e.g. 172.30.60.0/24.
Access and certificates
Symptom
Cause and fix
Browser warns about the certificate (home network)
CLIPR_TLS=internal: install Caddy's root certificate on the device (see Installation).
Let's Encrypt issues no certificate
Ports 80 and 443 must be reachable from the internet and the DNS record must point to the server. scripts/cliprctl logs caddy.
Links in emails point to the wrong address
Set CLIPR_PUBLIC_URL (with the port if it is not 443).
Passkeys cannot be set up
CLIPR_PUBLIC_URL must contain a hostname, not an IP address.
Mailbox
Message from the connection test
Cause
Server is in a private network
Mail server in the home network: set CLIPR_IMAP_ALLOW_HOSTS. For Proton: overlay not active, or server/port differ from protonbridge:1143.
Server unreachable: connection refused
Bridge or imap-relay not running (scripts/cliprctl logs imap-relay), or the host firewall blocks the port.
TLS error: certificate verify failed
Own mail server: CLIPR_IMAP_CA_FILE missing. Proton: the bridge still uses its own certificate (import or restart missing).
Sign-in failed
Wrong password; many providers need an app password. For Proton use the bridge password, not the Proton password.
Emails do not arrive, log: Mailversand … fehlgeschlagen: timed out
The host firewall does not allow the bridge's SMTP port (1025).
Wiki
Symptom
Cause and fix
No "Sign in" in the wiki
Set CLIPR_WIKI_EDIT=1 and run scripts/cliprctl deploy. The wiki also needs a valid issuer (CLIPR_PUBLIC_URL or CLIPR_DOMAIN, with https://).
Clipr says "This service is not registered in Clipr"
The app does not know the wiki: CLIPR_WIKI_DOMAIN and CLIPR_WIKI_EDIT=1 must also apply to the app – after a change run scripts/cliprctl deploy (recreates the app).
Clipr says "Only admins can sign in here"
The account is not an admin.
Clipr asks to sign in again with a second factor
CLIPR_2FA_REQUIRED=admins: the current session was signed in without a second factor. Sign out of Clipr and back in.
Wiki: "Sign-in failed or expired"
Ticket older than 60 seconds (check the server clock), sign-in started in a different browser, or CLIPR_HTTPS_PORT/CLIPR_PUBLIC_URL differ between app and wiki. The wiki log names the reason (scripts/cliprctl logs wiki).
Saving reports "Session expired"
Signed out of Clipr, admin role revoked or Clipr unreachable – the wiki checks on every change. Sign in again; your changes stay in the editor until then.
Diagram is not drawn
Syntax error in the Mermaid code. The editor preview shows the error right away.