Upgrade

Upgrade Raspberry Pi OS

Run this on your Raspberry Pi
sudo apt update
sudo apt full-upgrade
sudo reboot

Upgrade container images

Each application is configured via its own .env_{CONTEXT}_{INSTANCE} file in the project folder of each app.

The version of the app is usually controlled via an environment variable named PROJECT_IMAGE or PROJECT_VERSION. For some apps, this will be labeled as latest so that it always installs the latest version, while others are locked to a specific know working version. The d.rymcg.tech authors will update the .env-dist file automatically, but you must still update this in your own .env_{CONTEXT}_{INSTANCE} config files.

You can edit the .env file for any app instance:

Run this on your Raspberry Pi
## Immich is just an example app:
pi make immich config-edit instance=default

This will open the config file in the default editor (nano), find the appropriate environment variable that affects the version of the application (usually there’s a comment or URL to go to), edit it so that it points to the latest version, and save the file.

You must reinstall the application to install the new version:

[bash]: Run this on your workstation:
## Immich is just an example app:
pi make immich install

Upgrade sentry

The sentry should also be upgraded from time to time:

  • Update the Traefik version.
  • Update the WireGuard version.
Run this on your Raspberry Pi
sentry make traefik config-edit