# Server Maintenance: What FlyWP Handles and What You Do

> See which maintenance tasks FlyWP handles for you, such as security updates, log rotation, and SSL renewal, and which tasks are yours, such as full updates, Docker image updates, disk cleanup, and restarts.

Source: https://flywp.com/docs/server/server-maintenance-responsibilities/

Because your servers run on your own cloud account, FlyWP handles some maintenance and you handle the rest. This page lists both, then shows how to do your part from the FlyWP dashboard first, and over SSH only when the dashboard has no button for it.

## Who handles what

| Task | Who | What happens |
| --- | --- | --- |
| Security updates for Ubuntu | FlyWP | Installed automatically every day. See [Security updates](#security-updates). |
| Site log files | FlyWP | Rotated automatically. See [Logs](#logs). |
| Docker container logs | FlyWP | Capped in size on servers FlyWP sets up. See [Logs](#logs). |
| Let's Encrypt SSL renewal | FlyWP | Renewed automatically on the server. |
| Old scheduled backups | FlyWP | Deleted automatically after the retention period you set. Manual backups are kept. |
| Monitoring agent | FlyWP | Updates itself. |
| Restart after an update | You | The **Status** page shows when a restart is required, but FlyWP never restarts the server automatically. See [Restart the server](#restart-the-server). |
| Disk space | You | Shown on the **Status** page. FlyWP sends alerts only if you set alert limits. See [Watch your disk space](#watch-your-disk-space). |
| Docker images for Nginx Proxy, MySQL, Redis, and Ofelia | You | Updated only when you click **Update Image**. See [Update service images](#update-service-images). |
| Old Docker images left on the disk | You | Not removed automatically. See [Clean up Docker images](#clean-up-docker-images). |
| Other system package updates, including Docker | You | Not installed automatically. See [Update the server packages](#update-the-server-packages). |
| WordPress core, plugin and theme updates | You | Run them from the dashboard. See [Centralized Bulk Updates](https://flywp.com/docs/site/centralized-bulk-updates/). |

## What FlyWP does for you

### Security updates

When FlyWP sets up a server, it turns on Ubuntu's `unattended-upgrades`. Each day, the server refreshes its package list and installs updates from Ubuntu's security channel only. Updates from other channels are not installed automatically.

This does not restart the server. A security update for the kernel or a core library may not take effect until you restart the server.

### Logs

- **Site logs**: each site gets a log rotation rule. A log file that grows past 100 MB is rotated and compressed, and the last 3 files are kept. The check runs once a day.
- **Docker container logs**: on servers FlyWP sets up, each container log is capped at 100 MB, with 3 files kept.

### SSL, backups and monitoring

- Let's Encrypt certificates renew automatically through a task on the server.
- FlyWP deletes scheduled backups older than the retention period you set. See [Backup and Restore](https://flywp.com/docs/site/backups/).
- The monitoring agent updates itself. See [Server Alerts and Monitoring Agent](https://flywp.com/docs/server/server-alerts-and-monitoring-agent/).

## What you do from the dashboard

### Check for pending updates and restarts

1. Open the server, then click **Status** in the server menu.
2. In the **Monitoring** card, check **Restart** and **Updates**. **Updates** shows how many updates are pending, with a badge for security updates. **Restart** shows **Restart required** when the server needs a restart.
3. Below it, **Disk space** shows how much of the disk is used.

![Server Status page with the Restart and Updates fields in the Monitoring card, and Disk space below them](https://flywp.com/wp-content/uploads/2026/12/server-status-restart-updates.png)

If the card is empty, install the monitoring agent first. See [Server Alerts and Monitoring Agent](https://flywp.com/docs/server/server-alerts-and-monitoring-agent/).

### Update service images

FlyWP does not pull new Docker images automatically.

To update a service:

1. Open the server, then click **Manage** in the server menu.
2. In **Manage Services**, click **Update Image** next to **Nginx Proxy**, **MySQL**, **Redis**, or **Ofelia**.
3. Read the message, then click **Update Image** to confirm.

![Manage Services card with the Update Image buttons](https://flywp.com/wp-content/uploads/2026/12/manage-services-update-image.png)

FlyWP pulls the latest image and restarts the service. Your sites can be unavailable for a few seconds, so do this when traffic is low.

To update the image for one site, open the site, click **Manage**, and click **Update Image** in the **Docker Image** row. FlyWP pulls the images, restarts the site's containers, and removes unused Docker images.

### Restart the server

When **Restart** shows **Restart required**, restart the server when traffic is low. Open the **Actions** menu at the top right of the server page and click **Restart Server**. Your sites are down until the server comes back online. See [Managing Services](https://flywp.com/docs/server/managing-services/#restart-the-whole-server).

### Watch your disk space

The **Disk space** usage on the **Status** page shows how full the disk is. FlyWP does not set alert limits for you, so set a **Disk warning** and a **Disk critical** limit. See [Set the alert limits](https://flywp.com/docs/server/server-alerts-and-monitoring-agent/#set-the-alert-limits).

## What you do over SSH

FlyWP has no button for these tasks. Connect with your SSH key or open the terminal from the dashboard. See [SSH Keys](https://flywp.com/docs/server/ssh-keys/) and [Access Server Terminal From FlyWP Dashboard](https://flywp.com/docs/server/access-server-terminal-from-flywp-dashboard/).

:::caution
Take a backup of your sites first, and run these commands when traffic is low. Never run `docker system prune --volumes` or `docker volume prune`. They can delete your database and site data.
:::

The `fly` user can run `sudo`. Find the sudo password on the **Manage** tab, under **SSH Info**.

### See what Docker uses on the disk

The **Status** page shows the total disk usage. To see how much of it Docker images, containers and build cache use:

```bash
docker system df
```

### Clean up Docker images

After you click **Update Image** on a server service, the old image stays on the disk. You only need to remove these when the disk is running low. Remove unused images:

```bash
docker image prune
```

Docker asks you to confirm. This command removes only unused untagged images. It does not touch containers, volumes or the images your sites use.

### Update the server packages

FlyWP installs security updates automatically, but not other system packages. To install all pending updates:

```bash
sudo apt update
sudo apt upgrade
```

:::note
A full upgrade can update Docker. When Docker updates, it restarts the containers, so every site on the server goes down for a short time. Run it when traffic is low.
:::

After the upgrade, check **Restart** on the **Status** page. If it shows **Restart required**, restart the server as described in [Restart the server](#restart-the-server).

## Suggested schedule

| Task | How often |
| --- | --- |
| Check **Restart**, **Updates** and **Disk space** on the **Status** page | Every month if the disk has enough free space; more often if it is running low |
| `sudo apt update` and `sudo apt upgrade`, then restart if needed | Every month, when traffic is low |
| **Update Image** for the server services | Every month, or when a release you need is out |
| `docker image prune` | Only when the disk is running low |

## Related pages

- [Server Maintenance](https://flywp.com/docs/server/server-maintenance/)
- [Server Alerts and Monitoring Agent](https://flywp.com/docs/server/server-alerts-and-monitoring-agent/)
- [Managing Services](https://flywp.com/docs/server/managing-services/)
- [Access Server Terminal From FlyWP Dashboard](https://flywp.com/docs/server/access-server-terminal-from-flywp-dashboard/)
- [SSH Keys](https://flywp.com/docs/server/ssh-keys/)
- [Backup and Restore](https://flywp.com/docs/site/backups/)
