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: Scott Koranda <>
  • To: Shilen Patel <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] 2.1.5 to 2.3.0 upgrade grouperLoader type missing
  • Date: Fri, 15 Jul 2016 07:25:17 -0500

Hi,

> First off, the loader type and assignments on groups should have been
> migrated
> during the upgrade.

Understood.

> Did you use the installer to upgrade or did you do it
> manually?

Installer.

> The installer would have run postGrouper2_2Upgrade.gsh to upgrade
> the legacy attributes (among other things).

I have done other upgrades on other systems (including a
production deployement) and yes, that worked fine.

I think I just missed something with this dev system.

> If you did it manually, you would
> have presumably followed the 2.2 and 2.3 upgrade instructions. The 2.2
> instructions (https://spaces.internet2.edu/display/Grouper/
> v2.2+Upgrade+Instructions+from+v2.1) 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()

Thanks. That is what I was looking for.

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

Is it "safe" to run that now manually?

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

Thanks,

Scott




Archive powered by MHonArc 2.6.19.

Top of Page