DB errors with AO_78C957_AUDITEVENTS

Hi,

I found following errors logged by PostgreSQL server:

2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732217) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732217) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732218) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732218) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:50 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: DETAIL:  Key (AUDIT_EVENT_ID)=(732220) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: DETAIL:  Key (AUDIT_EVENT_ID)=(732220) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:23:52 PDT:192.168.1.15(42249):jiradbuser@jiradb:[5148]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732888) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(732888) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:28:08 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(733545) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: ERROR:  insert or update on table "AO_78C957_AUDITHINT" violates foreign key constraint "fk_ao_78c957_audithint_audit_event_id"
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: DETAIL:  Key (AUDIT_EVENT_ID)=(733545) is not present in table "AO_78C957_AUDITEVENTS".
2013-04-23 11:32:48 PDT:192.168.1.15(44000):jiradbuser@jiradb:[8463]: STATEMENT:  UPDATE public."AO_78C957_AUDITHINT" SET "VALID_VALUES" = $1,"HINT_TEXT" = $2,"AUDIT_EVENT_ID" = $3,"EXCEPTION_STACK" = $4,"PROVIDED_VALUE" = $5,"CAUSED_REJECTION" = $6,"CREATED" = $7 WHERE "ID" = $8

Please advise on how to fix such issue.

Thanks,

Simon

2 answers

0 vote
Ahmad Danial Atlassian Team Apr 23, 2013

Hey there, Simon.

As far as the error is concerned, I recommend you to contact the plugin vendor directly to address the problem that you are facing with the plugin usage:

  1. Plugin: The Plugin People for Enterprise Mail Handler

Warm regards,

Danial

Hi Simon,

The above seems to be a Hint failing to be written as the related AuditEvent was not found. Its unclear what caused that. Can you please create a JIRA issue and attach a logfile for the time this occurred, as well as your current schema for the AUDIT_* tables, so I can review an determine if any changes are required?

@Danial, please consdier posting links to the related issue tracker for the product, address deatils are not very helpful unelss someone is going to come visiting ;)

Ahmad Danial Atlassian Team Apr 23, 2013

Hey there, Andy.

Thanks for the heads up. I will definitely take note of that. :)

Warm regards,

Danial

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

187 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you