[GH-ISSUE #7] Bug: channel_sessions foreign key constraint violation on subsequent Telegram messages #5

Closed
opened 2026-02-27 20:20:06 +03:00 by kerem · 0 comments
Owner

Originally created by @b4yp1p0 on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/ownpilot/OwnPilot/issues/7

  • OwnPilot version: main branch (latest)
  • Error: insert or update on table "channel_sessions" violates foreign key constraint "channel_sessions_conversation_id_fkey"
  • Reproduction: First Telegram message works, second message fails with this error
  • Workaround: TRUNCATE TABLE channel_sessions temporarily fixes it
Originally created by @b4yp1p0 on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/ownpilot/OwnPilot/issues/7 - OwnPilot version: main branch (latest) - Error: insert or update on table "channel_sessions" violates foreign key constraint "channel_sessions_conversation_id_fkey" - Reproduction: First Telegram message works, second message fails with this error - Workaround: TRUNCATE TABLE channel_sessions temporarily fixes it
kerem closed this issue 2026-02-27 20:20:06 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OwnPilot#5
No description provided.