Upgrade and Schema Migration Fails From P6 EPPM to PPM (Doc ID 2278108.1)

Last updated on AUGUST 11, 2017

Applies to:

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

Symptoms

Upgrade and/or Migration from PPM --> EPPM OR from EPPM --> PPM

Many different errors could potentially occur as a result of using the wrong process to accomplish the upgrade/migration.

The following error is an example of such an error.


ERROR

[INFO] <TIMESTAMP> ALTER TABLE ACTVTYPE
 ADD CONSTRAINT FK_ACTVTYPE_PROJECT FOREIGN KEY (PROJ_ID)
 REFERENCES PROJECT (PROJ_ID)
[ERROR] <TIMESTAMP> ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

[ERROR] <TIMESTAMP> Database Error: error number=2298
[ERROR] <TIMESTAMP> Error Message: ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

[WARN] <TIMESTAMP> [USER] Could not complete because the job "Run SQL Script orpm_admuser.sql" failed.
com.primavera.database.tools.DatabaseToolException: ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

at com.primavera.database.tools.ScriptRunner.ScriptRunner.runSQL(ScriptRunner.java:209)
at com.primavera.database.tools.ScriptRunner.ScriptRunner.run(ScriptRunner.java:145)
at com.primavera.database.tools.dbmt.workflow.SqlScriptJob.doJob(SqlScriptJob.java:86)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:67)
at com.primavera.database.tools.dbmt.WorkflowStepJob.doJob(WorkflowStepJob.java:49)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:67)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.runJob(BaseWizardRunner.java:206)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.commit(BaseWizardRunner.java:215)
at com.primavera.database.tools.dbmt.actions.JobTreeTypeDef$JobRunner.run(JobTreeTypeDef.java:253)
at java.lang.Thread.run(Thread.java:745)

Cause

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