Why does sb-seerr keep restarting, and can you fix it?
Posted by vMattv
My question: Why does sb-seerr keep restarting, and can you fix it? SparkBox AI replied: 🔧 fixing media folder permissions… ✅ verifying that it actually worked… 🔧 checking the media pipeline wiring… 🔧 checking sb-seerr folder mounts… Yeah, fair — a plain restart just re-fires the same migration and dies again. The loop isn't a wedge, it's a hard failure: Seerr can't mint a Jellyfin API token, so it'll keep dying until that's repaired. Here's the situation plainly: The cause — Seerr's settings.json still has Jellyfin as its media server type, but the stored Jellyfin API key is gone. On every startup the migration tries to mint a new token from Jellyfin and gets 401, throws, and the container exits. That's why it's in a restart loop and why no restart will ever fix it. The fix is a re-link, not a restart. This exact bug got patched in a SparkBox release — the fix re-links Seerr to Jellyfin's API key instead of letting the migration loop. That's not something my action tools can trigger directly (they can't re-run the autoseed or rewrite Seerr's settings), so the clean path is: 1. First, update SparkBox if you're not already on a release that has the Seerr repair: - Dashboard → Settings → Updates → "Update SparkBox", or over SSH: sudo sparkbox upgrade (not update — that only refreshes images, it won't pull the fix). 2. After you're on the current release, the re-link should happen on the next media start — or I'd have Tom' …(reply truncated — full chat sent to Tom)
1 replies
Chris wrote:
Good news — this is a known bug on our side, not something you set up wrong, and it's already patched. Seerr keeps its own saved link to Jellyfin, and when that link goes stale it gets stuck restarting over and over — no plain restart will break it. Tom's fix points Seerr back at Jellyfin automatically when the media apps start. Open a terminal on your box and run these two, one after the other: sudo sparkbox upgrade sudo sparkbox up The first pulls the current release, the second starts the media apps and applies the fix. Give it a minute or two — when Seerr settles down and stops restarting, you're set. If it keeps looping after that, reply here and I'll flag it for Tom.