Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Trouble upgrading Grouper DB from 2.1 to 2.4

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Trouble upgrading Grouper DB from 2.1 to 2.4


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Crawford, Jeffrey" <>, " Mailing List" <>
  • Subject: [grouper-users] RE: Trouble upgrading Grouper DB from 2.1 to 2.4
  • Date: Tue, 20 Nov 2018 19:08:39 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:1ZD98xJtI6Sy3HjEltmcpTZWNBhigK39O0sv0rFitYgXKvv8rarrMEGX3/hxlliBBdydt6oUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+dYoJXyqFYVtxSyGRWgCfnzxjNUhHL727Ax3eQ7EQHB2QwtB9wCvnbUrdT0KqgSS/i5x7TWwDXDdfNW2Cz95IbVeR0mpPGDQbJwcMrQyEYxDQPIlVSQqZf5MD+Py+QNq3aU7+xmVe61lWEothxxryGpy8wxhIfJgYcVxUrF9SV/2Is1Kse4SElmYd68DpRQrTuWOJFuQsM6RWxjpSU0yqUetJKlZicG1IkryhvCZ/CaboSF5xzjWemNLTtkgX9oeqywihmz/EWlz+DwSNW43EtSoiZYnNTAqmoB2hjO5sSdVPdx40Os1SyS2w3R6+xIOU40mrTYJpI9x7M9k5QevEvfESDtnUj5l7Gaelk49eWt6enrfKvqqoOZOoNpigzzML8hl8qiCuoiKAcORXKU+eGk2b3j40L5RLJKg+UunKTFt57WOdoXqrekDgFTzIov8hG/ACy439gCmnkHMU5FdwmAj4j0PVHBPer0De+lg1SrjDdk2ezJPqHgApXKKHjPirDhfath605YzwozytNf64hIBbEGJfL/Qk7xtNrGAR8lKwG43fzoBMlg2o4bRG6DH7KVPabcsVKH+u4jP+yBaY0LtzvyKvUo4vvjgWEllVMAZaWp2IEYaHG8HvRoOUWZZn/sj88EEWgWvgo/TO3rh0OYUTNIZnayRL4z6ismCIK+E4jDQIatjKaf0yimA51afnpGBUyUEXf0a4WEXO8BaC2IIs9mjzwETaauS5U42RGzrw/11aBnLvHP9y0ctJLjz8R15/bNmR0o9Dx0Cdid3H+XT2FygGwIWyE60LphrkNg11fQmZR/1rZzD9VM6fRTXkNyF5PSwfZ3Gpq6DgDKZN6WRlG8Tv2nHXcsRdY4hdICfhA5U5+tlBfexyewRqIOmqaQLJ0y7q/G2XXtfYBwx2uO8aAgi1ggTYNrNHa6zOYr+BLUGpbEiQCEjKuwbowd2jLA7mGO0TDIsU1FBl1eS6LACDo/d1nbt5CxzUPYTqTkQeAiOQtQ28OYAqpRYZv0lVhAQrHuNMmIMDH5oHu5GRvdnuDEV4HtYWhImXyFUBJewQkO4XaLMxQ/DS69omXYSSZjDk/rf1iyrbtlsH3uSEgywknKdEBn27evsj8tzf2HA7J2vPofvTs57TB9HVKzxdXTXt+Lpxtzcb90YMg2pkpf2GTf8QFxI8/oIg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

When you say “got some errors”, do your database objects have errors?

 

 

From: <> On Behalf Of Crawford, Jeffrey
Sent: Tuesday, November 20, 2018 1:56 PM
To: Mailing List <>
Subject: [grouper-users] Trouble upgrading Grouper DB from 2.1 to 2.4

 

I’ve run the gsh.sh -registry -check, then run the SQL file, got some errors but the next time I run gsh.sh -registry -check It says the DB is fine, however trying to start the gsh prompt yealds errors about views not existing and not being able to create the “etc:deprovisioning:deprovisioningAdmins

“ group.

 

This was the error I got when running the script:

 

Error running script: /opt/grouper-2.4.0/grouper.ui-2.4.0/dist/grouper/WEB-INF/ddlScripts/grouperDdl_20181120_10_28_37_190.sql, java.sql.SQLIntegrityConstraintViolationException: ORA-02298: cannot validate (IAMUCLA_GROUPER_D.FK_PIT_GS_OWNER_STEM_ID) - parent keys not found

 

       at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:691)

       at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:1029)

       at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:858)

       at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:142)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

       at java.lang.reflect.Method.invoke(Method.java:498)

       at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:224)

       at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:158)

       at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)

Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02298: cannot validate (IAMUCLA_GROUPER_D.FK_PIT_GS_OWNER_STEM_ID) - parent keys not found

 

       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:459)

       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:400)

       at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:999)

       at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:539)

       at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:235)

       at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:543)

       at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:199)

       at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1418)

       at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1764)

       at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2821)

       at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2747)

       at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:1203)

       at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:786)

       at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:756)

       at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction(SQLExec.java:1058)

       at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000(SQLExec.java:988)

       at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:672)

       ... 10 more

 

 

Any Ideas

 

Thanks

Jeffrey Crawford




Archive powered by MHonArc 2.6.19.

Top of Page