Files
ProxmoxVE/ct
Stéphane FERREIRA 68af0f5b41 homelable: preserve MCP server config across updates (#14996)
* homelable: preserve MCP server config across updates

The update path runs CLEAN_INSTALL=1 fetch_and_deploy_gh_release, which
wipes /opt/homelable before redeploying. The backup/restore only covers
backend/.env and data/, so an optionally-installed MCP server (set up via
Pouzor/homelable's own scripts/lxc-mcp-install.sh, which targets exactly
this LXC and lives in /opt/homelable/mcp) loses its .env and .venv on
every update. The homelable-mcp service then keeps running on deleted
inodes and dies at the next restart.

Back up mcp/.env when present, and after the deploy restore it, rebuild
the venv (same uv pattern as the backend), restore ownership and restart
the service. Fully conditional: installs without the MCP are unaffected.

* homelable: remove comments per maintainer review
2026-06-08 13:33:50 +02:00
..
2026-06-06 22:20:40 +02:00
2026-06-05 13:55:33 +02:00
2026-06-03 10:30:00 +02:00
2026-06-04 07:19:02 +02:00
2026-05-27 10:06:21 +02:00
2026-06-06 22:20:40 +02:00
2026-06-06 22:11:21 +02:00
2026-06-06 16:08:46 +02:00