[SQLSTATE 23000]: Integrity Restraint Violation: 1062 Duplicate Entry 'tr-peer-1-account' for key 'PRIMARY'

FreePBX Version

Can someone assist with this please? I cannot register a trunk as this error keeps coming up when I submit. Thanks in advance

This was an issue some time ago, but should be resolved now. Upgrade your PBX modules.

Thanks for the reply and everything is upgraded except for four and they are all ones to purchase: Zulu, Appointment reminder, Broadcast, & Customer Relationship Mana

I saw this fix but it is above my paygrade as I am not sure how to find the table in the error? Here is the link to the “fix”

I was also told to not adjust SQL…?

Yes, but …

If upgrading your modules doesn’t solve the problem, you may need to delete the old reference which was added before the module was updated. It’s OK this time, since we vetted it pretty closely, just don’t take it as a precedent that you can go in and muck around at will. :slight_smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.