Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix update modal hanging indefinitely after completion (related to #628)
rcourtman5898cb81be29
diff --git a/frontend-modern/src/components/UpdateProgressModal.tsx b/frontend-modern/src/components/UpdateProgressModal.tsxindex 4ef273d53e..589dc9d1be 100644--- a/frontend-modern/src/components/UpdateProgressModal.tsx+++ b/frontend-modern/src/components/UpdateProgressModal.tsx@@ -49,6 +49,28 @@ export function UpdateProgressModal(props: UpdateProgressModalProps) {currentStatus.status === 'idle' ||currentStatus.status === 'error') {+ // If completed successfully, verify backend health and reload to get new version+ if (currentStatus.status === 'completed' && !currentStatus.error) {+ if (pollInterval) {+ clearInterval(pollInterval);+ }+ // Verify backend is healthy and reload+ try {+ const healthCheck = await fetch('/api/health', { cache: 'no-store' });+ if (healthCheck.ok) {+ logger.info('Update completed, backend healthy, reloading...');+ window.location.reload();+ return;+ }+ } catch (error) {+ logger.warn('Update completed but health check failed, assuming restart...', error);+ }+ // If health check failed, assume restart in progress+ setIsRestarting(true);+ startHealthCheckPolling();+ return;+ }+setIsComplete(true);if (currentStatus.status === 'error' || currentStatus.error) {setHasError(true);