Everyday care
Use this page for the routine jobs on a running server: checking it, reading its logs,
setting up email and upgrading. creekX runs as a system service called
perpetua and restarts itself if it fails. You look after it with the
creekx command on the server.
On this page
The commands
| Command | What it does |
|---|---|
sudo creekx status |
Is it running, which version, the licence and the trial |
sudo creekx logs |
What it has been saying (add -f to keep following) |
sudo creekx restart |
Restart it |
sudo creekx owner |
Set a new password for the owner |
sudo creekx email |
Let creekX send email (below) |
sudo creekx domain NAME |
Use https at a domain pointed at this server |
sudo creekx backup |
Back up (Backups and moving) |
sudo creekx activate KEY |
Activate a licence key from your creekX email |
sudo creekx licence FILE |
Add a licence file |
sudo creekx metrics |
Where monitoring tools such as Prometheus read its numbers |
Set up email
With email, people who forget their password can reset it, invitations arrive by themselves, and alerts reach you. creekX sends through a mail account you already have.
-
Find your SMTP settings
Your email provider's help pages list its "SMTP" or "outgoing mail" settings: a server name, a port (587 or 465), a user name and a password. Many providers want an app password made for this.
-
Run the command
sudo creekx emailAnswer its questions. It sends you a test email first, and keeps the settings only if it arrives.
sudo creekx email test [email protected] sends another test;
sudo creekx email off stops email.
Upgrade
Run the install line again:
curl -fsSL https://creekx.io/get.sh | sudo bash
Everything is kept. If the new version does not start, the previous one is put back by itself. Channels pause briefly while it restarts.
See how the server is doing
- More → Server: processor, memory, disk and data going out, live.
- More → Help: checks every part of the server and says what to do about anything that is not fine.
Keep Ubuntu itself up to date too:
sudo apt update && sudo apt upgrade.
Is my server really healthy?
A healthy process can still serve a picture nobody can use, so during a real stream check the numbers in More → Server and also watch from outside your network. Send yourself a test alert, and decide who acts when something passes a limit. Make a backup before any upgrade.