Add self-maintaining Athena platform context MCP

This commit is contained in:
Mikei386
2026-08-23 17:31:05 +02:00
parent 64d36ad838
commit 3dbb66037d
22 changed files with 1071 additions and 9 deletions
@@ -60,6 +60,16 @@ if [[ $status == 20 || $status == 21 ]]; then
fi
[[ $status == 0 ]] || die "Host-Installer ist mit Status $status fehlgeschlagen."
log "Gesicherten Platform-Kontext und lokale Dokumentationspflege wiederherstellen"
if [[ -d $stage/rootfs/opt/mike-ai/stack/docs ]]; then
rsync -a "$stage/rootfs/opt/mike-ai/stack/docs/" /opt/mike-ai/stack/docs/
fi
if [[ -d $stage/rootfs/data/mike-ai-platform-context ]]; then
install -d -o 10001 -g 10001 -m 0750 /data/mike-ai-platform-context
rsync -a "$stage/rootfs/data/mike-ai-platform-context/" /data/mike-ai-platform-context/
chown -R 10001:10001 /data/mike-ai-platform-context
fi
log "OpenWebUI-Zustand atomar wiederherstellen"
volume_path=$(docker volume inspect -f '{{.Mountpoint}}' "$OPENWEBUI_VOLUME")
[[ -d $volume_path && $volume_path == /* && $volume_path != / && \