"Error in Run SQL Script ORPPM_p##.sql: DatabaseToolException (ORA-13223: Duplicate Entry for LOCATION.GEO_LOCATION in SDO_GEOM_METADATA)" When Attempting To Upgrade A P6 EPPM Database

(Doc ID 2039288.1)

Last updated on APRIL 17, 2017

Applies to:

Primavera P6 Professional Project Management - Version 8.3 and later
Information in this document applies to any platform.


When attempting to run dbsetup to upgrade a P6 EPPM database, the following error occurs at "perform core upgrade steps":

Error in Run SQL Script ORPM_P70Sp3.sql: databaseToolException (ORA-13223: duplicate entry for LOCATION.GEO_LOCATION in SDO_GEOM_METADATA
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR". line 17
ORA-06512: at "MDSYS.SDO_GEOM_TRIG_INS1", line 48
ORA-04088: error during execution of trigger 'MDSYS.SDO_GEOM_TRIG_INS1'
ORA-06512: at line 5

The issue can be reproduced at will with the following steps:
1. Run dbsetup to upgrade a P6 EPPM database
2. Get to the "perform core upgrade steps"
3. See error noted above


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms