github jmasarweh/UniFi-Insights-Plus v3.6.2
v3.6.2 — Minute-Precision Retention Cleanup & #92 Fix

latest releases: v3.7.0, v3.6.3
13 days ago

For full documentation and setup guides, visit insightsplus.dev/docs.

What's New

  • Configurable cleanup time — pick exactly when the daily retention cleanup runs, down to the minute. A new Cleanup time field in Settings → Data & Backups accepts any time from 00:00 to 23:59 in container-local time. Previously cleanup was hardcoded to 03:00.
  • New RETENTION_TIME environment variable — same time format (HH:MM), e.g. RETENTION_TIME=23:45. UI-saved values take precedence over env; env takes precedence over the default of 03:00.
  • Live reschedule without restart — changing the cleanup time in Settings takes effect on the next scheduler tick. No container restart required.
  • Cleanup time included in config export/import — the scheduling preference now travels with the rest of your retention settings when you export and restore configuration.
  • Richer cleanup logs — every run is now logged, including quiet nights that deleted no rows. Log lines report which source (ui, env, or default) the active time came from.

Bug Fixes

  • Fixed the Data & Backups panel stranding users on a placeholder retention value of 60 days when the config fetch was slow or failed (#92). The panel now shows a skeleton while loading, surfaces errors inline with a Retry button instead of silently swallowing them, and gates all editing until the real saved values are in view.
  • The Data & Backups panel now opens quickly on large databases. It previously could take minutes to appear as your log volume grew.
  • Retention cleanup now logs every run to completion. Previously a scheduled cleanup that found nothing to delete produced no log output, making a healthy quiet night indistinguishable from a broken scheduler.
  • Dropped the misleading "UTC" suffix from the cleanup schedule footer — the scheduler runs on container-local time, not UTC.
  • Days-only retention saves no longer silently promote the env-sourced cleanup time into a UI override, which previously would have pinned the active time against future env changes.

Don't miss a new UniFi-Insights-Plus release

NewReleases is sending notifications on new releases.