Files
hassio-addons/maintainerr
copilot-swe-agent[bot] 8631d9213c fix(maintainerr): inject ingress base path into UI files for React Router
The upstream Maintainerr builds its Vite/React frontend with a
__PATH_PREFIX__ placeholder that gets replaced at runtime by start.sh
using the BASE_PATH env var. This sets:
- React Router's basename (createBrowserRouter)
- API base URL (axios calls)
- EventSource URLs
- Vite asset prefix

Without this replacement, React Router has an empty basename and can't
match the ingress URL (/api/hassio_ingress/<token>/), returning
"No route matches URL".

Fix: Replace __PATH_PREFIX__ in the built UI files with the HA ingress
entry before starting the app. Remove nginx sub_filters (no longer
needed since the UI files already reference the correct ingress-prefixed
URLs). Keep the nginx rewrite rule to strip the prefix on the server side.

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/e0751563-06a4-4b4e-a4a7-63b2e5f66f03

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-03 14:02:46 +00:00
..
2026-04-03 07:20:01 +00:00
2026-04-03 09:17:47 +02:00
2026-03-15 23:11:54 +00:00
2026-03-15 23:11:54 +00:00
2026-04-03 12:20:32 +00:00

Home Assistant Add-on: Maintainerr

"Looks and smells like Overseerr, does the opposite."

Maintainerr is a rule-based media management tool for your Plex, Jellyfin, or Emby ecosystem. It creates smart collections based on configurable rules (watched status, age, ratings, ...) and can optionally delete unwatched content to keep your library clean.

About

Maintainerr integrates with:

  • Plex / Jellyfin / Emby — media server
  • Sonarr / Radarr — to remove media files
  • Overseerr / Jellyseerr — to reset requests
  • Tautulli — for advanced watch statistics

Installation

  1. Add the repository to Home Assistant.
  2. Install the Maintainerr add-on.
  3. Start the add-on.
  4. Open the Web UI on port 6246.

Configuration

Option Description
TZ Timezone (e.g. Europe/Paris). Defaults to Europe/London.
env_vars Extra environment variables passed to the container.

Available extra env vars

Variable Default Description
UI_PORT 6246 Change the listening port
BASE_PATH (empty) Serve under a URL subpath

Data

Persistent data (database, configuration) is stored in the HA addon config directory and survives add-on updates and reinstalls.

Support