| What | How |
|---|---|
| Stack images | Komodo → stack media → Pull → Deploy. "Poll for updates" flags new digests. |
| Jellyfin major versions | Read the release notes and back up /opt/docker/jellyfin/config first, then update like the rest. |
| rclone, fuse3 | Regular apt updates on the host; afterwards sudo systemctl restart rclone-ultra. |
| Item | Location | Notes |
|---|---|---|
| App configs | /opt/docker/{jellyfin,sonarr,radarr,prowlarr,seerr}/config |
Jellyfin and Seerr use SQLite; copy them while the service is stopped for a consistent copy. |
| Sonarr, Radarr, Prowlarr backups | Backups/scheduled inside each config dir |
Created by the apps themselves. |
| Stack definition | Komodo | Covered by Komodo's database backups. For a files-on-server stack, also the compose file. |
| rclone | /etc/systemd/system/rclone-ultra.service, /home/gooner/.config/rclone/rclone.conf, /home/gooner/.ssh/ultra* |
Small, easy to forget. |
| Library | /home/oreobox/media |
Large and re-downloadable; back up selectively. |
For a backup taken on this instance, the simplest way is System → Backup → Restore in the app itself.
For a backup from another installation (like the old slot), restore it by hand, because its config.xml carries that installation's port and URL base. Stop the service in Komodo first:
app=sonarr; port=8989 # radarr 7878, prowlarr 9696
sudo mv /opt/docker/$app/config /opt/docker/$app/config.old
sudo mkdir -p /opt/docker/$app/config
sudo unzip ~/${app}_backup_*.zip -d /opt/docker/$app/config
sudo sed -i -e "s|<Port>[0-9]*</Port>|<Port>$port</Port>|" \
-e 's|<UrlBase>.*</UrlBase>|<UrlBase></UrlBase>|' \
-e 's|<BindAddress>.*</BindAddress>|<BindAddress>*</BindAddress>|' \
/opt/docker/$app/config/config.xml
sudo chown -R gooner:gooner /opt/docker/$app/config
Then start the service in Komodo again. If the restored database uses different root folders, fix them as described in Sonarr and Radarr under "Rules of thumb".
Sonarr never deletes files it doesn't track. This lists video files in the library that Sonarr doesn't know about, typically leftovers from the old duplicate problem. It only builds a list:
KEY=$(sudo grep -oP '(?<=<ApiKey>)[^<]+' /opt/docker/sonarr/config/config.xml)
API=http://127.0.0.1:8989/api/v3
for id in $(curl -s -H "X-Api-Key: $KEY" $API/series | jq '.[].id'); do
curl -s -H "X-Api-Key: $KEY" "$API/episodefile?seriesId=$id" | jq -r '.[].path'
done | sort > tracked.txt
find "/home/oreobox/media/TV Shows" -type f \( -iname '*.mkv' -o -iname '*.mp4' -o -iname '*.avi' \) \
| sed 's|^/home/oreobox|/data|' | sort > ondisk.txt
comm -13 tracked.txt ondisk.txt | sed 's|^/data|/home/oreobox|' > delete.txt
For Radarr, the tracked list comes from one call; the find and comm part stays the same with /home/oreobox/media/Movies:
KEY=$(sudo grep -oP '(?<=<ApiKey>)[^<]+' /opt/docker/radarr/config/config.xml)
curl -s -H "X-Api-Key: $KEY" http://127.0.0.1:7878/api/v3/movie \
| jq -r '.[].movieFile.path // empty' | sort > tracked-movies.txt
Review
delete.txtbefore deleting. Where an episode had several copies, Sonarr linked one based on quality and custom format score; if you care which release group survives (e.g. dual-audio releases), make sure the one you want isn't on the list. Extras such as featurettes or samples show up too.
xargs -d '\n' rm -v -- < delete.txt
Jellyfin drops the removed files on its next library scan.
ssh ultra 'du -sh ~/downloads', or the UCP.For maintenance or another migration: set RSS Sync Interval to 0 in Sonarr and Radarr (Settings → Indexers → Options, advanced). That stops all automatic grabbing. Set it back to 15 afterwards.
Only needed if releases packed as .rar show up: they get stuck in the queue with "No files found are eligible for import". Unpackerr has to see the downloads under the same path Sonarr reports and write the extracted files next to the archives, so the mount has to become writable:
rclone-ultra.service, remove --read-only and change --vfs-cache-mode off to --vfs-cache-mode writes, then sudo systemctl daemon-reload && sudo systemctl restart rclone-ultra.SONARR_API_KEY and RADARR_API_KEY and add them to the stack Environment:SONARR_API_KEY=[[SONARR_API_KEY]]
RADARR_API_KEY=[[RADARR_API_KEY]]
unpackerr:
image: golift/unpackerr:latest
container_name: unpackerr
user: "${PUID}:${PGID}"
environment:
- TZ=${TZ}
- UN_SONARR_0_URL=http://sonarr:8989
- UN_SONARR_0_API_KEY=${SONARR_API_KEY}
- UN_SONARR_0_PATHS_0=/seedbox/downloads
- UN_RADARR_0_URL=http://radarr:7878
- UN_RADARR_0_API_KEY=${RADARR_API_KEY}
- UN_RADARR_0_PATHS_0=/seedbox/downloads
volumes:
- type: bind
source: /mnt/seedbox
target: /seedbox
bind:
propagation: rslave
restart: unless-stopped
Trade-offs: extraction runs over SFTP (archives are read from the slot, the extracted file is written back, then Sonarr copies it once more), and the mount loses its read-only safety net. Unpackerr keeps the archives for seeding and deletes the extracted copy a few minutes after the import.