github jmasarweh/UniFi-Insights-Plus v2.1.1
v2.1.1 — Schema Migration & SPA Caching Fixes

latest releases: v3.7.0, v3.6.3, v3.6.2...
3 months ago

What's New

No new features — this is a bug fix release.

Database

  • Fix schema migration failure on boot caused by missing function ownership transfer for cleanup_old_logs() — the function was created by the postgres superuser but never reassigned to the app user, causing InsufficientPrivilege errors (#24)
  • Migration loop now uses savepoints so a single migration failure no longer rolls back all other migrations

Web Server

  • Add no-cache headers for SPA file responses to prevent stale UI after upgrades
  • Remove unreachable duplicate root route handler

Key Files Modified

  • entrypoint.sh — transfer function ownership for fresh + existing installs
  • receiver/db.py — resilient migration loop with savepoints
  • receiver/api.py — no-cache headers for static file serving, dead code cleanup

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

NewReleases is sending notifications on new releases.