'ERROR: duplicate key value violates unique constraint "core_artifact_sha256_key"' is being output to /var/lib/pgsql/data/log/postgresql-* in RHUI4.

Solution In Progress - Updated -

Issue

'ERROR: duplicate key value violates unique constraint "core_artifact_sha256_key"' is being output to /var/lib/pgsql/data/log/postgresql-* in RHUI4.
Does this error affect RHUI4?

# less /var/lib/pgsql/data/log/postgresql-Tue.log 
2022-10-11 21:59:10.485 JST [920999] ERROR:  duplicate key value violates unique constraint "core_artifact_sha256_key"
2022-10-11 21:59:10.485 JST [920999] DETAIL:  Key (sha256)=(1cb61ea996355add02b1426ed4c1780ea75ce0c04c5d1107c025c3fbd7d8bcae) already exists.
2022-10-11 21:59:10.485 JST [920999] STATEMENT:  INSERT INTO "core_artifact" ("pulp_id", "pulp_created", "pulp_last_updated", "file", "size", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "timestamp_of_interest") VALUES ('03d591a3-040f-406f-a491-9f43d1fe4312'::uuid, '2022-10-11T12:59:10.472958+00:00'::timestamptz, '2022-10-11T12:59:10.472988+00:00'::timestamptz, 'artifact/1c/b61ea996355add02b1426ed4c1780ea75ce0c04c5d1107c025c3fbd7d8bcae', 134, NULL, '2524f2b99c000b224deb230b8c2cbd1781eec03f', '5c5e5ab56288fc4a0e1f89920c25f08ed55a7b96a6c80d8dca919d8f', '1cb61ea996355add02b1426ed4c1780ea75ce0c04c5d1107c025c3fbd7d8bcae', 'b290eb6427dfe45f59da7f0a9bb79432dbbc97ea0993190578dc9cbfb8d9ff947f8a6a1557094e08ee8cc277027f2fdf', '4067ecc56ce85ae2a0b59507465621321363582e4909b561801aca19591e95f1daf82c2e5b0d9831d51af4f0be2f355b66fd3c93ebf9cca8546477db997df94f', '2022-10-11T12:59:10.477278+00:00'::timestamptz)

Environment

Red Hat Update Infrastructure 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content