Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Problems with 2.5 level 1 database upgrade

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Problems with 2.5 level 1 database upgrade


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: "" <>, Grouper-Users <>
  • Subject: Re: [grouper-users] Problems with 2.5 level 1 database upgrade
  • Date: Tue, 12 Jan 2021 14:53:00 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=osu.edu; dmarc=pass action=none header.from=osu.edu; dkim=pass header.d=osu.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=30Wjla5b5wdBdLOr/29Wg1GjiQWg1Aq132HKZBXGjG4=; b=UH0OzazUUL/FI2EHD8SJ90Qmxi67K7giLtmsR7AW+ddojgcrQK9n1T2EbHjlrNOoDrEJDKGc6CDlI4kfMVzI5ftI0ysedltCIstuSE9/o8n5Q7JtVa+Gez/NDjPQOC8t/ycFSKIdIMlo5pfcqXPbepMulnQZYxwOHdOHWD0cWNsBPmqGOqmn6q5n2pHmRYj/8CXjLovywfPCOi99C89mtDFUzt7p3udse1IK4MOe+/bYDaYp8Akr2ZHxiaIeQdCF7poD6Z6+Bkih0pDVu8JMbzLnLSYIWz+a/qGd9EZE0buCdc0zGv5T+YCcBt1rvk3BmNxowJQTPvV1FnC5FMKPWQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GnuQ8FHboQ/qGQIaCQNIB+lkFzf/CGFFSqqnK/lCdYLsU4lu5KvkEoMizs95YWNoC6dxSmPSIfzMpKaUesy1zBR4ixMRKv4ip2iZk4A0YZWgmZnW7zMbAtLMlo67gsWSJbLL7C0Hk+e1E9re+j9Zkq+sG3IWX1ZhDIqcxTkaVNwqAY+vy6BeBzhIll0GzU9OuwPm8ZYKXmq11HzZqJHSZd67pkeXEQhe4uUjvwr7nqimLqcybXdKbSuXJbHYdsyF69wUZrIWefrVGrfPmKQkBNtJDnlmmJDeAuCtxEl92GmjLqLBXFgfvcOrwuplQCfjNEKH/xhT133Ug9O8mx0PLQ==

Andre,

 

I would generally expect an upgrade from 2.4.0 to 2.5.38 to “just work”.
                However: https://spaces.at.internet2.edu/display/Grouper/v2.5+Release+Notes#v2.5ReleaseNotes-Upgradefromv2.4tov2.5
                                You may need to read/do the “Database upgrade.” Section. Maybe….

Does the JDBC user have full/all privileges to all objects in the grouper DB? ( Maybe something is a missing/wrong there?)
   Can you confirm that the JDBC user is the DB owner and the owner of the grouper_groups_v view object?

And I am not a “oracle DB user” ( in a while )  So this may be off base on this one…( I did not go find docs to check… )
Is the JDBC connection string correct?
                “jdbc:oracle:thin:@groupdev.dev.idm.aws.ucsc.edu:1521:groupdev”
                Should there be a user name before the “@” in that string?

 

-- 

Carey Matthew

 

From: <> on behalf of Andre Daniels <>
Reply-To: "" <>
Date: Tuesday, January 12, 2021 at 12:23 AM
To: Grouper-Users <>
Subject: [grouper-users] Problems with 2.5 level 1 database upgrade

 

Hello,

 

I am trying to work through the level 1 manually guide and I get errors when the ddl to update the db runs. Here is my stack trace:

 

tomee;console;;;Grouper ddl object type 'Grouper' has dbVersion: 31 (2.4.0) and java version: 35 (2.5.38)
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,223: [localhost-startStop-1] WARN  GrouperDdlEngine.updateDdlIfNeededWithStaticSql(752) -  - Grouper ddl object type 'Subject' has dbVersion: 1 (1.4.0) and java version: 1 (1.4.0)
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,284: [localhost-startStop-1] WARN  GrouperAntProject.log(96) -  - connecting to jdbc:oracle:thin:@groupdev.dev.idm.aws.ucsc.edu:1521:groupdev
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,285: [localhost-startStop-1] WARN  GrouperAntProject.log(96) -  - Loading oracle.jdbc.driver.OracleDriver using system loader.
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,852: [localhost-startStop-1] WARN  GrouperAntProject.log(96) -  - Executing resource: /opt/grouper/grouperWebapp/WEB-INF/ddlScripts/grouperDdl_20210112_05_08_47_225.sql
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,860: [localhost-startStop-1] WARN  GrouperAntProject.log(96) -  - SQL:    DROP VIEW grouper_groups_v
grouper-ui;grouper_error.log;;;2021-01-12 05:08:47,934: [localhost-startStop-1] ERROR GrouperAntProject.log(123) -  - Failed to execute:    DROP VIEW grouper_groups_v
tomee;console;;;Couldnt startup grouper: Error running script

 

...tomee;console;;;        at java.lang.Thread.run(Thread.java:748)

tomee;console;;;Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
tomee;console;;;
tomee;console;;;        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:691)
tomee;console;;;        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.runScriptFileIfShouldReturnString(GrouperDdlUtils.java:878)
tomee;console;;;        ... 22 more
tomee;console;;;Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
tomee;console;;;

-- 

 

I just chose the latest release 2.5.39 for my image. Do I maybe just need to go back a few versions to get the 2.4 to 2.5 database upgrade?

 

Thanks,

Andre

 

 

Andre Daniels 

Sr. Developer/Security Analyst

University of California Santa Cruz

(831) 459-1980




Archive powered by MHonArc 2.6.24.

Top of Page