Updates - zbrewer/homelab GitHub Wiki

Below are update instructions for all services hosted in my homelab.

Default

When not listed here, services are updated through the default package manager (such as apt for Debian and Ubuntu).

UniFi Controller

Updated with a script available here. In one line:

$ rm unifi-update.sh &> /dev/null; wget https://get.glennr.nl/unifi/update/unifi-update.sh && bash unifi-update.sh

Pi-hole

$ pihole -up

Caddy

$ caddy upgrade

Plex

Updated with the normal package manager as long as the instructions here are followed to enable repository updates on Linux.

Docker Compose

Docker apps should generally be updated automatically with Watchtower every 24 hours. The following instructions are how to do this manually, if necessary.

Update a Docker compose stack created natively by ensuring that the image specified refers to the updated version (or something like the latest tag) and then running the following commands from the directory with the docker-compose.yml file:

$ docker compose pull
$ docker compose up -d

Stacks created through Portainer can be upgraded by using the Update the stack button under Actions on the stack edit page.

Code Server

Update by re-running the install script as the user (not root):

$ curl -fsSL https://code-server.dev/install.sh | sh

Then reboot the container or restart the service.