Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] 2.1.5 to 2.3.0 upgrade grouperLoader type missing

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] 2.1.5 to 2.3.0 upgrade grouperLoader type missing

Chronological Thread 
  • From: Shilen Patel <>
  • To: Scott Koranda <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] 2.1.5 to 2.3.0 upgrade grouperLoader type missing
  • Date: Fri, 15 Jul 2016 12:22:14 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi Scott,

First off, the loader type and assignments on groups should have been migrated during the upgrade.  Did you use the installer to upgrade or did you do it manually?  The installer would have run postGrouper2_2Upgrade.gsh to upgrade the legacy attributes (among other things).  If you did it manually, you would have presumably followed the 2.2 and 2.3 upgrade instructions.  The 2.2 instructions ( step 9 deals with this.

Setting loader.autoadd.typesAttributes to true isn't working for you because the code sees that the migration above didn't complete.  You can re-run the migration:

new MigrateLegacyAttributes().saveUpdates(true).fullMigration()

Though if the postGrouper2_2Upgrade.gsh wasn't run at all, you'll run into other problems.

And if you want to add it manually, I updated the gsh commands on the wiki.


- Shilen

On 7/14/16, 2:49 PM, "Scott Koranda" <> wrote:


On a dev system I have upgraded from 2.1.5 to 2.3.0 and did
not notice any particular issue.

Later I noticed that the SQL loader job groups that in 2.1.5 were of
"type" grouperLoader are still there, the groups exist, but
they are no longer of "type" grouperLoader and have no
attributes like 'grouperLoaderType' (which had value

I saw on this page

that with loader.autoadd.typesAttributes set to true in (the default in base appears to also
be true) the dynamic/loadable group type should be

It did not appear to be auto-created despite having
started/stopped gsh a number of times, so I then attempted to
use GSH as instructed on that page to run

type=GroupType.createType(sess, "grouperLoader")
type.addAttribute(sess, "grouperLoaderType", read, admin, true)

and so on.

The type was apparently created but the 'addAttribute' method

How can I proceed so that SQL loader jobs can again be


Scott K

Archive powered by MHonArc 2.6.19.

Top of Page