Bug: ai_assistant seit 0137 in Produktion inaktiv (migration_failed) — KI-Chat down #389

Closed
opened 2026-09-15 22:53:18 +00:00 by Leopoldadmin · 0 comments
Owner

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.

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.
Leopoldadmin added the bug label 2026-09-15 22:53:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Leopoldadmin/leocrm#389