# Upgrades no longer leave a player with nothing running


> On Raspberry Pi OS and Debian, an upgrade that asks for a reboot keeps Anthias running, a leftover port reservation no longer stops an upgrade halfway, and a download that fails partway gives its disk space back.

Anthias 2026.11.0 fixes 3 ways an upgrade on Raspberry Pi OS or Debian could leave a player worse off than before it started. All 3 are in `bin/upgrade_containers.sh`, which the installer runs.

## An upgrade that asks for a reboot

When the system updates during an install asked for a reboot, the upgrade stopped before starting Anthias again, but the installer had already removed the containers to free memory. The installer said it succeeded, and the player came back with no containers at all: a dark screen, and no web interface, even after a reboot. Now Anthias starts on the new images first and leaves the reboot for you to do. Clearing out old images still waits until after the reboot.

## A port that's still marked as taken

If the player lost power or Docker was killed while Anthias was running, Docker could remember a port such as Redis's as still in use, and the next upgrade stopped with `Bind for 127.0.0.1:6379 failed: port is already allocated`, with only some services recreated. The upgrade now recognizes that error, stops this install's containers and tries once more. Any other failure still stops the upgrade with its own error.

## A download that fails partway

A download of new images that broke off partway left its pieces on the card, where `docker image prune` doesn't reach them, so every retry had less space to work with. Now the upgrade clears them, keeping the images of the release that's running, and prints how much it freed.