mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: duplicate key value violates unique constraint "card_subscription_card_id_user_id_unique" #834
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?
Originally created by @kankadev on GitHub (Oct 10, 2025).
Where is the problem occurring?
I'm not sure
What browsers are you seeing the problem on?
Firefox
Current behavior
Planka crashes every few days, sometimes even more often. Once, I saw something in the log that suggested there were two users with the same ID or name. I don't have the log from back then. But during the last crash, I saw the following:
I first set up Planka normally, then activated it using Authentik SSO. I also use Traefik.
docker-compose.yml:
Desired behavior
No response
Steps to reproduce
Don't know
Other information
No response
@meltyshev commented on GitHub (Oct 10, 2025):
Hi! Thanks for reporting this. After testing, I found that the patches don't apply when building a Docker image - I'll try to fix this now.
And don't worry about these warnings for now, this behavior is expected (except from the error showing up in the logs) - the Sails.js database adapter doesn't support enforcing uniqueness across multiple fields, which is why it warns every time (and exactly this should be disabled by the patch).