You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge: fix agents/claw_agents table collision with n8n core Agents (#35)
Verified live on the n8n-claw instance: 009 rename applied, claw_agents holds
19 app rows, public.agents is now n8n's core table (projectId, 0 rows),
agent execution 136652 loaded config from claw_agents successfully.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1333,6 +1333,15 @@ docker compose up -d
1333
1333
1334
1334
</summary>
1335
1335
1336
+
**n8n won't start after `docker compose pull` (logs show `column "projectId" does not exist` / `CreateAgentTables1783000000000`)?**
1337
+
→ n8n 2.21.4 and newer ship a built-in *Agents* feature that creates its own `agents` table. Older n8n-claw installs already had an app table named `agents` in the same database, so n8n's migration collides and the instance crash-loops on boot. Your data is safe (the failed migration rolls back cleanly). The fix renames the app table to `claw_agents`, freeing the name for n8n:
1338
+
1339
+
```bash
1340
+
cd n8n-claw && git pull && ./setup.sh --force
1341
+
```
1342
+
1343
+
This applies migration `009_agents_rename.sql` (renames the table, keeping all your personas and tool config), lets n8n boot, and re-imports the workflows so they point at `claw_agents`. No version pin needed: you can stay on current n8n.
Copy file name to clipboardExpand all lines: supabase/migrations/002_seed.sql
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ INSERT INTO public.soul (key, content) VALUES
11
11
('communication', 'Du kommunizierst mit dem User über Telegram. Die Chat-ID ist in der Nachricht enthalten. Du KANNST dem User direkt antworten – deine Antwort wird automatisch als Telegram-Nachricht gesendet. Du brauchst keinen extra Kanal.')
12
12
ON CONFLICT (key) DO UPDATESET content =EXCLUDED.content;
0 commit comments