Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2648

if ddl is up to date it creates a blank script, it should not do this

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.20
    • None
    • None

    Description

      2020-04-06 03:11:54,679: [main] WARN  GrouperStartup.printConfigOnce(237) -  - Grouper starting up: version: 2.5.0, build date: 2020/04/05 11:13:52 +0000, env: <no label configured>
      2020-04-06 03:11:58,885: [main] WARN  GrouperDdlEngine.updateDdlIfNeeded(733) -  - Grouper ddl object type 'Grouper' has dbVersion: 32 (2.5.0) and java version: 32 (2.5.0)
      2020-04-06 03:11:58,886: [main] WARN  GrouperDdlEngine.updateDdlIfNeeded(733) -  - Grouper ddl object type 'Subject' has dbVersion: 1 (1.4.0) and java version: 1 (1.4.0)
      2020-04-06 03:11:58,893: [main] ERROR GrouperDdlUtils.runScriptIfShould(817) -  - Run this DDL:
      /opt/grouper/grouperWebapp/WEB-INF/ddlScripts/grouperDdl_20200406_03_11_58_892.sql
      Grouper error: grouper versions do not match, GrouperVersion.class: 2.5.0, grouper.version.properties: null, manifest: null
      2020-04-06 03:11:59,126: [main] ERROR GrouperCheckConfig.checkGrouperVersion(1831) -  - grouper versions do not match, GrouperVersion.class: 2.5.0, grouper.version.properties: null, manifest: null
      2020-04-06 03:12:03,469: [main] INFO  EventLog.info(156) -  - [f513bd5f2c7f422fb2d9344d8df6555a,'GrouperSystem','application'] add group type: 'grouperLoader' (24ms)
      subject.properties read from: /opt/grouper/grouperWebapp/WEB-INF/classes/subject.properties
      sources configured in:        subject.properties
      subject.properties internalsource id:g:isa
      subject.properties groupersource id: g:gsa
      subject.properties groupersource id: grouperEntities
      Type help() for instructions
      2020-04-06 03:12:03,792: [pool-1-thread-1] ERROR GrouperStartup.verifyUtf8andTransactionsHelper(598) -  - Error: Cannot properly read UTF-8 string from database: '???????', make sure your database has UTF-8 tables and perhaps a hibernate.connection.url in grouper.hibernate.properties
      Error: Cannot properly read UTF-8 string from database: '???????', make sure your database has UTF-8 tables and perhaps a hibernate.connection.url in grouper.hibernate.properties
      Groovy Shell (2.5.0-beta-2, JVM: 1.8.0_242)
      Type ':help' or ':h' for help.
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      groovy:000> :load '/opt/grouper/grouperWebapp/WEB-INF/classes/groovysh.profile'
      groovy:000> :q
      [root@5cb150afe3e6 bin]# more /opt/grouper/grouperWebapp/WEB-INF/ddlScripts/grouperDdl_20200406_03_11_58_892.sql
      [root@5cb150afe3e6 bin]#  

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist