You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -242,6 +243,9 @@ export default function SystemUpdatePage(props: {
242
243
thrownewError('Failed to fetch update status')
243
244
}
244
245
setUpdateStatus(response)
246
+
247
+
// If we can connect again, hide the connection lost notice
248
+
setShowConnectionLostNotice(false)
245
249
246
250
// Check if update is complete or errored
247
251
if(response.stage==='complete'){
@@ -255,6 +259,8 @@ export default function SystemUpdatePage(props: {
255
259
}
256
260
}catch(err){
257
261
// During container restart, we'll lose connection - this is expected
262
+
// Show a notice to inform the user that this is normal
263
+
setShowConnectionLostNotice(true)
258
264
// Continue polling to detect when the container comes back up
259
265
console.log('Polling update status (container may be restarting)...')
260
266
}
@@ -414,6 +420,16 @@ export default function SystemUpdatePage(props: {
414
420
/>
415
421
</div>
416
422
)}
423
+
{isUpdating&&showConnectionLostNotice&&(
424
+
<divclassName="mb-6">
425
+
<Alert
426
+
type="info"
427
+
title="Connection Temporarily Lost (Expected)"
428
+
message="You may see error notifications while the backend restarts during the update. This is completely normal and expected. Connection should be restored momentarily."
0 commit comments