Commit Graph

13 Commits

Author SHA1 Message Date
Alexandre
a0511bc872 Refactor entrypoint script for direct execution
Replaced sourcing of init scripts with direct bash execution. Removed application readiness check and cleanup logic.
2026-04-02 17:37:22 +02:00
Alexandre
dcc5784e1a Update maintainerr/rootfs/ha_entrypoint.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 16:58:35 +02:00
copilot-swe-agent[bot]
c5be20a4c3 Fix BusyBox grep -Z incompatibility in 00-banner.sh and fix bash vs source in maintainerr ha_entrypoint.sh
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/76d4cd88-b038-47fa-9de0-71afaf1dd19b

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-02 14:23:59 +00:00
Alexandre
e41a3c14c9 Update ha_entrypoint.sh 2026-04-02 15:18:05 +02:00
copilot-swe-agent[bot]
24d0670843 Fix: source cont-init.d scripts instead of bash to inherit bashio functions
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/88474b87-22ad-4e13-9d5c-8567d0b4098f

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-02 12:08:30 +00:00
Alexandre
6fc22476e8 Update maintainerr/rootfs/ha_entrypoint.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 14:02:35 +02:00
Alexandre
fdaed2d031 Update maintainerr/rootfs/ha_entrypoint.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 12:54:55 +02:00
copilot-swe-agent[bot]
f70b17b384 Address code review: explicit nginx config path, unused var, consistent capitalization
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:29:34 +00:00
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