Commit Graph

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
703e5a4172 Add ingress support with nginx reverse proxy for maintainerr addon
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/14f6643d-9d4f-4c6d-8993-0dbe4404c35d

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-02 09:28:29 +00:00
copilot-swe-agent[bot]
9235b23a93 fix: symlink contents inside /opt/data instead of replacing Docker VOLUME
The upstream Maintainerr image declares /opt/data as a Docker VOLUME.
Attempting to rm -rf /opt/data fails with "Resource busy" because mount
points cannot be removed. Instead, we now:
1. Copy seed data from /opt/data to /config (persistent storage)
2. Clear contents inside /opt/data (rm -rf /opt/data/*)
3. Symlink each item in /config back into /opt/data

This ensures the VOLUME directory stays intact while all data is
redirected to persistent storage.

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/82a46feb-2e9c-4c40-b193-614167e6d5c3

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-03-31 18:55:51 +00:00
copilot-swe-agent[bot]
e907952d81 Fix maintainerr persistence: symlink /opt/data → /config instead of wrong path change
The upstream app hardcodes /opt/data for database and logs. The Docker
VOLUME at /opt/data is not persistent across HA addon updates. Symlink
/opt/data → /config (persistent via addon_config:rw) so hardcoded paths
write to persistent storage. Reverts incorrect /addon_configs path.

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/35758465-e22e-40d7-81c8-02d05c375a27

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-03-31 08:51:24 +00:00
copilot-swe-agent[bot]
51bb0fdceb Fix maintainerr config lost after restart: use persistent /addon_configs/maintainerr path
The entrypoint was setting DATA_DIR="/config" which is NOT a persistent
path in HA addon containers using addon_config:rw with init: false.
Changed to /addon_configs/maintainerr (the persistent path mapped by
addon_config:rw in config.yaml), matching the pattern used by the
cleanuparr addon.

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/40b7927f-cd03-4b83-a80a-ad56bd6dce32

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-03-31 08:32:12 +00:00
Alexandre
97f6bd8382 revert 2026-03-06 10:51:28 +01:00