Skip to content
Docs menu

Your servers

Manage your server

Once a server is connected, its page in the panel is where you keep it healthy: restart a service, reboot, add a database or see what changed. Changing things needs the Manage servers permission.

Status

The badge next to the server’s name shows how it is. Choose Inspect to check it again now.

StatusMeaning
ReadyConnected and set up. Websites can be added.
BootstrappingBeing set up. It takes a few minutes.
UnreachableSkydun couldn’t reach it for 3 checks in a row. Its websites keep running, but changes wait until it answers again.
FailedSetup stopped. See the error on the Overview, then choose Set up again.
BlockedThe server’s SSH host key changed, for example after a reinstall. Skydun sends nothing until it’s checked: email us.

Scroll to see more

Overview also shows the server’s health: Ubuntu, Docker, Caddy and runner versions, free disk and memory. Set up again reinstalls Docker, Caddy, the firewall and the shared services; websites may be briefly unavailable while services restart.

Restart a service or reboot

Open Maintenance. Under Services, choose Restart next to one:

ServiceWhile it restarts
Proxy (Caddy)Every website on the server shows errors for a few seconds.
MariaDBWebsites can’t reach their database.
RedisWebsites fall back to the database, so they’re slower but still up.
PostgreSQL, MySQL, MongoDBIf you installed them: your apps can’t reach their databases.

Scroll to see more

Reboot restarts the whole server. Every website on it is down until it’s back, usually a minute or two, and they start again on their own. One restart or reboot runs at a time.

Runner is the small program Skydun uses on the server for each change. It updates itself when needed; Update runner brings it up to date now.

System updates

Skydun doesn’t install Ubuntu updates for you, and doesn’t change how Ubuntu handles them. To install them, log in over SSH and run:

sudo apt update && sudo apt upgrade

Then, if Ubuntu says a restart is required, choose Reboot in the panel at a quiet time.

Databases

Open Database. On an app server, Shared services shows the MariaDB and Redis every website shares. Each website gets its own database user and Redis account, and its database is backed up with the website.

Databases for your own apps

  • Database engines: install PostgreSQL, MySQL or MongoDB, each in its own container, and set how much memory it gets.
  • Databases: choose Add database to create one, with a user of the same name. Copy the password when it’s shown: the panel won’t show it again. Apps on the server connect to skydun-mariadb:3306 over TLS.
  • Database backups: back up the databases you added every day at 02:00, workspace time, to storage you connected. Keep 7 days to start, up to 90. Choose Back up on a database for one now.

Databases can only be reached from containers on the server, not from the internet.

phpMyAdmin

Under Database tools, choose Enable. phpMyAdmin gets its own HTTPS address. Choose Open next to a database to sign in as that database’s user, with a link that works once, for 60 seconds; no password is typed or shown. The server needs to be Ready, and connected by a public IP address.

Metrics, logs, operations and drift

SectionWhat it shows
MetricsCPU, load, memory and disk over 24 hours, 7 days or 30 days. You’re emailed when the disk is 90% full: see Uptime and alerts.
LogsThe last 300 lines from the proxy, MariaDB, Redis, Docker or Ubuntu’s warnings. Website logs are on each website’s page.
OperationsEvery change Skydun sent to the server, and whether it Succeeded, Failed or is still Running.
DriftAnything that differs from what Skydun expects, checked every 15 minutes, with a button to fix each.

Scroll to see more

Drift fixes are Deploy again for a website whose containers are missing, Restart for one that’s unhealthy, and Write route when the proxy doesn’t know a website’s address. Something no website uses is listed for you to remove yourself.

SSH keys

Under SSH keys, choose Add key, name it after the device, and paste its public key: Ed25519, ECDSA, a hardware key, or RSA of 2048 bits or more. It’s added to every server in the workspace, now and later, for the skydun user:

ssh skydun@your-server

A key here is root access

The skydun user can use sudo without a password. Add keys only for people you’d give the whole server to, and remove a key as soon as someone leaves. Removing it doesn’t end sessions already open.

The server’s firewall

Skydun turns on Ubuntu’s firewall (ufw) with SSH, HTTP (80) and HTTPS (443) open, and everything else closed. SSH is open to the addresses in Settings → Allow SSH from, or to everyone when it’s empty.

Don’t add your own ufw rules

Skydun rewrites the firewall from scratch whenever it sets the server up or you change Allow SSH from, so rules you add by hand are removed. Use your provider’s firewall for anything else, and keep ports 22 (or your SSH port), 80 and 443 open there.

Settings

Rename the server, set Allow SSH from (up to 20 addresses or networks), and allow or end Support access. See Your server stays yours.