Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MethodHowDescription
Auto

grouper.hibernate.properties

Code Block
registry.auto.ddl.upToVersion = 2.5.*


Just start the Grouper UI or WS or GSH or the daemon, and Grouper will auto-upgrade the DDL
Manual run script


Code Block
docker exec -u tomcat -it grouper-ui /bin/bash
cd /opt/grouper/grouperWebapp/WEB-INF/bin
./gsh.sh -registry -check -runscript


This will generate a script and run it in your database
Manual generate script


Code Block
docker exec -u tomcat -it grouper-ui /bin/bash
cd /opt/grouper/grouperWebapp/WEB-INF/bin
./gsh.sh -registry -check


This will generate a script that you can run against your database

If a DDL script does not complete successfully, you will need to trace through the script and the database to see where it stopped and what needs to be run.  This is not as difficult as it seems.  e.g. here is a postgres upgrade script for 2.5.39

Database upgrades in v2.5

...