Bug: ai_assistant seit 0137 in Produktion inaktiv (migration_failed) — KI-Chat down #389
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Produktionsbug: Plugin ai_assistant war seit Alembic 0137 (2026-08-21, Drop der Legacy-ai_chat-Tabellen) migration_failed und in Produktion inaktiv. Migration 0003 exec ALTER TABLE ai_chat_sessions → bei jedem Container-Start Crash → Plugin-Deaktivierung → /api/v1/ai/* 403, KI-Chat down.
Fix Commit
0383dd2: Migrationen 0001-0003 von Referenzen auf gedroppte Tabellen befreit (0003: nur ai_chat_folders behalten; 0001: Ghost-CREATE TABLEs entfernt; 0002: ai_chat_attachments + toter ALTER entfernt). Runner skipt getrackte Migrationen per Dateiname, kein Hash-Check → kein Prod-Risiko.Verifikation live: Plugin status=active, GET /api/v1/ai/agents → 200 mit echtem LeoCRM Assistant, KI-Chat wieder verfuegbar.