By Amadeus on Tuesday, 04 August 2015
Posted in General Issues
Replies 11
Likes 0
Views 717
Votes 0
Hello,

Issue 1 :
After migration from jomsocial some of my groups took event fields. (pic01.jpg)

Issue 2 :
Some field doesn't match well (pic02.jpg)
Her you'll see that the Group Title is unset whereas the Group Type is displayed as group Title in group view (pic03.jp).

I tried to look at the database but did not understand how it works (clusters...)

I've searched the forum but didn't find any similar issue.

An idea ?
Hi,
I have found a way... crazy but it seems to work.
In my "junk" categories I deleted all fields and rebuild with standard fields, saved and that matchs !

Thank you for your replies
·
Friday, 07 August 2015 20:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ynover,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue? I need to take a look at the existing data and the imported data, the image that you uploaded only shows a fraction of the problem

By the way, can we clear the existing data and re-migrate them over for you again?
·
Tuesday, 04 August 2015 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. I give you access to the old jomsocial version before migration with ES installed.

Regards
·
Thursday, 06 August 2015 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ynover,

I am sorry for the delay of this reply and thanks for the access to your site. I've re-run the JomSocial group migration and everything is working fine after the migration. Please see:
http://screencast.com/t/sAmhZp0Yewd
http://screencast.com/t/XngPV0wnf

As you can see, the group's content ( title and etc ) are mapped to the correct fields.
Hope this help and have a nice day!
Sam
·
Friday, 07 August 2015 15:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

indeed your migration worked fine.
Unluckily the site I run is not as well. Could you tell me witch mysql table do I have to edit to rebuild field association ?

Regards
·
Friday, 07 August 2015 15:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ynover,

I afraid to fix the fields association, it will be a very tedious works and you will need to understand fully how the data being stored. I believe rerun the migration will be easier for you. To re-run your JomSocial group's migration, you will first need to clear the migrated groups data. Below are the sql statements you must run in order to clear the migrated data.

Please backup your database before you execute the sql statements.

Please execute the below sql statement in the following sequence. Also, you will need to rename the jos_ to your own Joomla db table prefix.

1. Delete group streams.

delete a, b from jos_social_stream as a
inner join jos_social_stream_item as b on a.id = b.uid
where a.cluster_type = 'group'
and a.cluster_id IN (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


2. Delete group members.

delete from jos_social_clusters_nodes where cluster_id in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


3. Delete group photos.

delete from jos_social_photos where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


4. Delete group avatars.

delete from jos_social_avatars where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


5. Delete group cover.

delete from jos_social_covers where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


6. Delete group albums.

delete from jos_social_albums where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


7. Delete group discussion.

delete from jos_social_discussions where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


8. Delete group files.

delete from jos_social_files where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


9. Delete group bulletin.

delete from jos_social_clusters_news where cluster_id in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


10. Delete group data.

delete from jos_social_fields_data where `type` = 'group' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


11. Delete group.

delete from jos_social_clusters where cluster_type = 'group' and id in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groups');


12. Delete group category's fields.

delete from jos_social_fields where step_id in (select id from jos_social_fields_steps where `type` = 'clusters' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groupcategory'));


13. Delete group category's steps.

delete from jos_social_fields_steps where `type` = 'clusters' and uid in (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groupcategory');


14. Delete group category.

delete from jos_social_clusters_categories where id IN (select m.uid from jos_social_migrators as m where m.component = 'com_community' and m.element = 'groupcategory');


15. Delete group migration history.

delete from jos_social_migrators where component = 'com_community' and element like 'group%';


Once you've complete the execution of above sql statements, you can then re-run the JomSocial groups migrations from your EasySocial.

Hope this help and have a nice day!
Sam
·
Friday, 07 August 2015 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your replay !
My issue is that I have created other groups and categories since my migration. More over I have uninstalled the old jomsocial and its table.
Maybe I could create new category and import old groups into but I can't find our change group category.

Regards
·
Friday, 07 August 2015 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ynover,

Em, if that is the case, can you pass me your live site the Joomla backend access, your ftp account and your phpmyadmin access so that i can take a look what i can do to fix your issue?

Also, is all the migrated groups having the same issue or just a few?
Please advise.
Sam
·
Friday, 07 August 2015 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ynover,

Please also backup your database in your live site as well
Sam
·
Friday, 07 August 2015 18:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for all,

Finally I deleted all fields in junk group and recreate as it is in good ones and all came back as aspected.

Regards
·
Friday, 07 August 2015 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating and glad that your issues are resolved now
·
Saturday, 08 August 2015 03:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post