From c192a154f5a62637f0e6eccb5403f9733551f50e Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 13 Mar 2026 14:36:45 +1300 Subject: [PATCH] (fix): Prevent auto-redirect on installer step errors --- app/views/install/installer/js/modules/progress.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/views/install/installer/js/modules/progress.js b/app/views/install/installer/js/modules/progress.js index 5aa72928d0..a6e784ada9 100644 --- a/app/views/install/installer/js/modules/progress.js +++ b/app/views/install/installer/js/modules/progress.js @@ -725,6 +725,20 @@ }); renderProgress(); + // If any step ended in error (e.g. account creation + // failed), stay on the progress screen so the user can + // see the error and choose to retry or navigate to the + // console manually — don't auto-redirect. + const hasErrors = INSTALLATION_STEPS.some((step) => { + const state = progressState.get(step.id); + return state && state.status === STATUS.ERROR; + }); + + if (hasErrors) { + finalizeInstall(); + return; + } + const accountState = progressState.get(STEP_IDS.ACCOUNT_SETUP); const sessionDetails = accountState?.details; finalizeInstall();