Postgres - Errors after refreshing an environment
search cancel

Postgres - Errors after refreshing an environment

book

Article ID: 279735

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

This is a PostgreSQL based system. It is refreshed from another environment. After the refresh, functionalities such as project creation are throwing errors.

Some errors in the app-ca.log are as follows:

2024-02-20 09:12:14.053 CST [3219] ERROR: duplicate key value violates unique constraint "inv_investments_pk"
2024-02-20 09:12:14.053 CST [3219] DETAIL: Key (id)=(50894) already exists.
...
...
2024-02-20 09:12:30.402 CST [3219] ERROR: duplicate key value violates unique constraint "fin_financials_pk"
2024-02-20 09:12:30.402 CST [3219] DETAIL: Key (id)=(50894) already exists.
...
...
2024-02-20 11:54:48.327 CST [3237] ERROR: duplicate key value violates unique constraint "fin_burden_associations_pk"
2024-02-20 11:54:48.327 CST [3237] DETAIL: Key (id)=(03014) already exists.
...
...
2024-02-20 15:27:01.257 CST [3256] ERROR: duplicate key value violates unique constraint "bpm_run_process_engine_runs_pk"
2024-02-20 15:27:01.257 CST [3256] DETAIL: Key (id)=(5128) already exists.

Cause

An environment refreshed with a hot backup.

Resolution

Refresh the environment with a cold backup.

Additional Information