Last updated March 22, 2013. Created by MD3 on November 13, 2012.
Edited by jastraat, adixon, rbruhn, manish_mics. Log in to edit this page.
Database Issues
If your database has a hyphen(-) in it, please make sure #1926418: OG Migrate fails if database name contains hyphen is resolved before reporting any new issues.
Setup
In order to upgrade Organic Groups from Drupal 6 or from OG 7.x-1.x to 7.x-2.x, the following modules must be installed and enabled:
- Migrate 7.x-2.5+, including the UI
- Entity API
- Entity Reference
- Views
Execution
Once the required modules have been enabled
- Make a backup of both your files and database.
- Download the latest version of OG 7.x-2.x (this can done via drush or ftp).
- Run update.php. If you're unsure what this means, go to the following URL and follow the instructions:
http://yoursite.com/update.php
After running the update script, you may get the message "The content access permissions need to be rebuilt. Rebuild permissions." Wait to rebuild permissions until after running the migrate scripts. - Navigate to:
http://yoursite.com/admin/content/migrate - You should see the migrates that are still pending:

- Check All of the new Migrate Classes for OG, select Import, then click on Execute.

- You should now see information regarding how many records were updated and when:

- If some of your items are not migrated over, or there is an issue after migrating, try the latest dev version of OG. You can also look at:
Comments
Circular dependencies?
After the registration step, the migrate page just shows the error:
MigrateException: Failure to sort migration list - most likely due to circular dependencies involving OgMigrateContent,OgMigrateUser,OgUiMigrateAddField,OgUiSetRoles in migrate_migrations() (line 80 of /sites/all/modules/migrate/migrate.module).Any ideas?
@thirdender - I got the same error
Posted in issue http://drupal.org/node/1880480
Stuck at Execution step 1
When I try to upload OG-7.x-2.0 (through the "Install new module" function on my Modules page), I get the message "Organic groups is already installed." (I already have OG-7.x-1.5.)
Does "Download the latest version of OG 7.x-2.x (this can done via drush or using the graphical web interface)" mean parking the newer version somewhere else? I've not used drush, and I'm not sure what "graphical web interface" means.
Thanks for your help.
G. Penn
Yes, I was referring to the
Yes, I was referring to the Update Manager ("Install new module") when I wrote the article. I always use Drush to manage websites, so I apologize for not testing that before I wrote it.
It looks like you're going to have to either use the FTP Method or install Drush. Either way, please make sure you create a backup of your drupal website and database before proceeding with this upgrade.
What if I´ve already migrate all contents (by hand)?
The migration process is just to migrate existing content, right? I mean, if you have 1 group, with a couple of contents and users, you could do it manually.
Or is it any other stuff?
I do ask because I have this site that I have to manually migrate some information (adding OG audience to certain nodes, and adding some people inside some groups... by hand).
Now I find this explanation, and I just want to make sure that you can manage the same thing with a manual migration (and I´m not missing any feature that the automatic migration process does).
Thanks!
Rosamunda
Buenos Aires | Argentina
Rebuild permissions question
These steps were very helpful - thanks to everyone who's contributed to them.
One note/question on rebuilding permissions: I was prompted to rebuild after running update.php, which I tried as above before running the migrations. When I tried - the process failed about 70% of the way through with "An AJAX HTTP error occurred. HTTP Result Code: 500". The only other content access module enabled was Field Permissions. I disabled that and tried again - same result. So I just ran the migration anyway (successfully, by the reports), and then rebuilt the permissions - no error this time.
So question: does the order matter?
Drush works too
FYI, for anyone who's using Drush to run a system upgrade, or save their sanity, all of the commands can be run via Drush too, e.g.
drush migrate-statusto see the list of available tasks, anddrush migrate_import OgUiSetRolesto run them.--
Damien McKenna | Mediacurrent