so you get duplicate for the period 1993-02-06
ERROR 2024-09-04 13:26:20,646 Analytics table process failed: org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [insert into _dateperiodstructure_temp values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR: duplicate key value violates unique constraint "_dateperiodstructure_temp_pkey"
Detail: Key (dateperiod)=(1993-02-06) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "_dateperiodstructure_temp_pkey"
Detail: Key (dateperiod)=(1993-02-06) already exists.
First make sure you are upgrading to the lastest 2.30 patch ?
I guess itâs not in the aggregate model ?
but you can verify with a query like this
select * from period where startdate = '1993-02-06' or enddate = '1993-02-06'
if itâs in the tracker or event model then itâs probably more a bug in the code.
I donât remember if itâs available in 2.30 but normally thereâs a maintenance task to delete all these _⊠tables or running the period/ressources tables generation separately
I would search the jira or this forum about similar issue.
or ask @Gassim