mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
When users updated Traefik configuration or version and restarted the proxy, the warning triangle icon showing outdated version info persisted until the weekly CheckTraefikVersionJob ran (Sundays at 00:00). This was caused by the UI warning indicators reading from cached database columns (detected_traefik_version, traefik_outdated_info) that were only updated by the weekly scheduled job, not after proxy restarts. Solution: Add version check to ProxyStatusChangedNotification listener that triggers automatically after proxy status changes to "running". Changes: - Add Traefik version check in ProxyStatusChangedNotification::handle() - Triggers automatically when ProxyStatusChanged event fires with status="running" - Removed duplicate version check from Navbar::restart() (now handled by event) - Event fires after StartProxy/StopProxy actions complete via async jobs - Gracefully handles missing versions.json data with warning log Benefits: - Version check happens AFTER proxy is confirmed running (more accurate) - Reuses existing event infrastructure (ProxyStatusChanged) - Works for all proxy restart scenarios (manual restart, config save + restart, etc.) - No duplicate checks - single source of truth in event listener - Async job runs in background (5-10 seconds) to update database - User sees warning cleared after page refresh Flow: 1. User updates config and restarts proxy (or manually restarts) 2. StartProxy action completes async, dispatches ProxyStatusChanged event 3. ProxyStatusChangedNotification listener receives event 4. Listener checks proxy status = "running", dispatches CheckTraefikVersionForServerJob 5. Job detects version via SSH, updates database columns 6. UI re-renders with cleared warnings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Admin | ||
| Boarding | ||
| Destination | ||
| Notifications | ||
| Profile | ||
| Project | ||
| Security | ||
| Server | ||
| Settings | ||
| SharedVariables | ||
| Source/Github | ||
| Storage | ||
| Subscription | ||
| Tags | ||
| Team | ||
| Terminal | ||
| ActivityMonitor.php | ||
| Dashboard.php | ||
| DeploymentsIndicator.php | ||
| ForcePasswordReset.php | ||
| GlobalSearch.php | ||
| Help.php | ||
| LayoutPopups.php | ||
| MonacoEditor.php | ||
| NavbarDeleteTeam.php | ||
| SettingsBackup.php | ||
| SettingsDropdown.php | ||
| SettingsEmail.php | ||
| SettingsOauth.php | ||
| SwitchTeam.php | ||
| Upgrade.php | ||
| VerifyEmail.php | ||