Self-hosted install¶
No setup email¶
Cause: The first owner is created. The link is printed at the end of the install. Mail is a second copy, and it is not delivered when the SMTP server cannot be reached, or when --email-log was used.
Fix:
- Use the link at the end of the install output. It works once and expires after 24 hours.
- If that output is gone, read
sudo kubectl -n watchtower logs job/watchtower-first-runand use thesetup-link:line. The job is removed on the next upgrade, and 24 hours after it finishes. - Confirm
--smtp-hostis your mail server, and that port 587 presents a certificate for that name. - After the first owner exists, that owner sends a new invite from Users. See Users and roles.
Certificate not issued¶
Cause: Let's Encrypt answers the HTTP-01 challenge on port 80. The name in the certificate request must resolve on the public internet to this server, and port 80 must reach it. Until that succeeds, the chat pod waits for its certificate.
Fix: Open TCP 80, and check that <hostname> and chat.<hostname> resolve to this server from outside your network. A private CA or a certificate you supply does not use port 80. See Install on your own server.
Restricted mode¶
Collection, dashboards, and alarms keep running. Changes and new Edges stop. Billing stays available so you can upload a license. The banner is one of these:
| Message | Meaning |
|---|---|
| No license is installed. | The install has no valid license file yet. |
| This license has ended. | The term and the grace period are both over. |
| This license was revoked. Contact Privitty. | Privitty revoked this license id. |
This license is for <hostname>. |
The file was issued for a different name than this server. |
Upload a current license on Billing. Restricted mode clears on that request.
The server clock is behind¶
Cause: The clock is more than 24 hours behind the latest time this install has already seen. Watchtower keeps using that later time for the license decision, so setting the clock back does not extend a term.
Fix: Set the server time with NTP. The amber banner says: "The server clock is behind the last time Watchtower saw. Fix the server time (NTP)."
Lost recovery key¶
The sealed keys cannot be opened without the recovery key, and they cannot be derived again. Edges and Apps must be enrolled again on a new install. A backup of the key file does not help without that same key. Store the key when the installer prints it, then delete <data-dir>/RECOVERY-KEY.txt.
Usage reporting fails behind a proxy¶
Cause: The daily report is an outbound HTTPS POST. On a network that requires a proxy, the worker cannot reach the report address, and Health shows usage reporting as failing.
Fix: Set HTTPS_PROXY on the worker to your proxy, and set NO_PROXY so in-cluster addresses are not sent there. The report client trusts the operating-system roots and the public web roots, and it reads those two variables. To stop the post instead, set usageReporting.enabled to false.
install.sh upgrade stops at the backup¶
Cause: Upgrade takes a backup first and stops when that job fails. The command prints the backup container logs. The usual causes are not enough free disk under <data-dir>, and a backup pod that cannot reach Postgres.
Fix: Read those logs. Free disk space, or fix why the backup pod cannot reach Postgres, then run sudo ./install.sh upgrade again. See Install on your own server.
The previous install did not finish¶
Cause: The last install stopped before Helm finished. The recorded state is not installed, so upgrade and backup refuse to run.
Fix: Uninstall, then install again: sudo bash install.sh uninstall --yes, then the install command.