fix(seerr): set public.initialized=true to skip setup wizard on every start

This commit is contained in:
Will Anderson
2026-04-11 02:01:54 -05:00
parent c1d4390393
commit 7225f56fbc
+9 -1
View File
@@ -48,6 +48,14 @@ data:
settings.main.mediaServerType = 'JELLYFIN';
console.log('Set main.mediaServerType = JELLYFIN');
}
// Mark setup as complete so the wizard never shows
if (!settings.public) {
settings.public = {};
}
if (!settings.public.initialized) {
settings.public.initialized = true;
console.log('Set public.initialized = true');
}
if (!settings.jellyfin || !settings.jellyfin.apiKey) {
console.log('Jellyfin apiKey missing — restoring from defaults');
settings.jellyfin = JSON.parse(fs.readFileSync(DEFAULTS, 'utf8'));
@@ -83,7 +91,7 @@ spec:
labels:
app: overseerr
annotations:
restartedAt: "2026-04-11T07:00:00Z"
restartedAt: "2026-04-11T07:30:00Z"
spec:
initContainers:
# Restore Jellyfin connection config if it was cleared (e.g. after pod restart with bad key)