By Samson on Wednesday, 10 December 2014
Likes 0
Views 1.1K
Votes 0
Hello,

I just tried to migrate form JomSocial to EasySocial. I really love EasySocial, but I have some problems.


  1. "Normal messages" will not be migrated, is this right? Example: A user writes in JS-stream: "It is cold outside." This message does not appear in the ES stream after migration, isn't it?
  2. User-profiles get migrated correctly, also images and so on. But avatars do not appear in ES. There even is no subfolder in the "com_easysocial/avatars/" folder. I now manually set avatar for admin-account, then the files appear. Am I doing wrong? I successfully did a test-run before updating to new ES version. May there be any relation to new version?


This is only one small question an one problem. I hope, you can help me.

Regards
Samson

PS: Groups get migrated just at the moment. This will take some hours. I run the user-migrator three times. It finished alway "successfully".
Hi Samson,

I am sorry for the delay of this reply.

Basically what i did is to re-run the migrator. But off-course I edit the php code so that the migrator only run the required process. If you take a look at this file JOOMLA/administrator/components/com_easysocial/includes/migrators/helpers/jomsocial.php at line 48 ~ 58. So what i did was to comment out those not require steps. E.g.


// $this->steps[] = 'profiles';
// $this->steps[] = 'profileusers';
// $this->steps[] = 'connection';
// $this->steps[] = 'points';
// $this->steps[] = 'photos';
// $this->steps[] = 'albumscover';
// $this->steps[] = 'conversation';
$this->steps[] = 'useravatar';
// $this->steps[] = 'usercover';
// $this->steps[] = 'photocomments';
// $this->steps[] = 'fbconnects';


The above tell the migrator to run the user avatar migration only. So during my test, the user avatar migration completed without any issue. Then I re-unable back the steps one by one and that is how i come to realise the photo migration is not complete.

As for the memory_limit of 1024mb, this is not required to be permanent value. You can change back to 256mb after you complete the migration The reason of needing 1024mb is to smoothen the process of creating photos from JomSocial into EasySocial.

Hope this help and have a nice day
Sam
·
Friday, 12 December 2014 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samson,

Thanks for the kind compliments, please find the response to your inquiries below:


"Normal messages" will not be migrated, is this right? Example: A user writes in JS-stream: "It is cold outside." This message does not appear in the ES stream after migration, isn't it?

It should migrate "status updates" from JomSocial to EasySocial. If this is not working for you, any particular stream items?


User-profiles get migrated correctly, also images and so on. But avatars do not appear in ES. There even is no subfolder in the "com_easysocial/avatars/" folder. I now manually set avatar for admin-account, then the files appear. Am I doing wrong? I successfully did a test-run before updating to new ES version. May there be any relation to new version?

Hm, I believe there's actually some migration issues on the site. Can we delete the migration and re-run the migration again?
·
Wednesday, 10 December 2014 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

It should migrate "status updates" from JomSocial to EasySocial. If this is not working for you, any particular stream items?

No status updates were migrated. For my first try it all worked. Now, I deleted whole site and restored from backup. Only for me noticable difference is ES-verison.

Hm, I believe there's actually some migration issues on the site. Can we delete the migration and re-run the migration again?


I agree. I found some other strange behaviour. For example no picture-upload is possible and pictures of albums will not be shown. I try to reinstall completely and report, if problems persist.

Regards
Samson
·
Wednesday, 10 December 2014 03:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

EasySocial was now uninstalled completely. Aditionally, I deleted remaining folders manually. Then I removed all datebase-tables of EasySocial. After this, I reinstalled and startet user-migrator. The problems with picture-upload are solved now (problem with template changes, I think). But still no status updates and avatars have been migrated.

Feel free to experiment on my site, if you want / need to. It's a dev area. Only thing, you should not do: delete my Akeeba backup files.

If you try and perhaps solve this problem, would you be so kind to let me know, how you did? I will have to reproduce, because on live site, there will be many changes in between.

Kind regards
Samson
·
Wednesday, 10 December 2014 06:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samson,

I am really sorry for the delay of this reply.

Regarding the 'status updates' from JomSocial, I am really sorry for the confusion. In EasySocial, the JS migrator actually do not migrate over user's status updates into EasySocial. I will see if I can add this feature into future release of EasySocial or not. You can submit this feature request at http://stackideas.com/voices/easysocial

And for the user avatar migration, today I try to login to your dev site but the login credential you've provided failed to authenticate me.
'Benutzername und Passwort falsch oder das Benutzerkonto existiert noch nicht!'
Can you please send me again your dev site the admin login so that I can run the avatar migration again?

Please advise.
Sam
·
Wednesday, 10 December 2014 13:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I restored from backup. That's why your account didn't work any more. Sorry for this. I newly created the account with known data. For admin access pleas use the special link from site details out of the first post.

I was happy, if you could have a look at it.

Regards
Samson
·
Wednesday, 10 December 2014 17:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Samson,

Thanks for fixing the user account. However, I don't see any special links in the 1st post. When i try access your Joomla backend with
http://www.yourdomain.com/administrator/index.php, it always redirect me to frontend.

Please advise.
Sam
·
Wednesday, 10 December 2014 17:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I see, I think, there is a missunderstanding. I am not very good in englisch, sorry. Please have a look at "Site details" => "optional information" of the first post. You will need to login via this secret link for accessing the backend. This is a security option of Akeeba Admin Tools.

Regards
Samson
·
Wednesday, 10 December 2014 17:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Samson,

Em strange. The Site details -> optional information from your original post is empty. Can you reinsert the secret link again?
Please advise.
Sam
·
Wednesday, 10 December 2014 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I just tested. I can see the information. Can I attach a screenshot or will anybody see this? Is there any possibility to send you kind of a private message or E-Mail?

I now added the information to THIS post at "Site Details" => "Optional Information". I hope, you can see it now.

Kind regards
Samson
·
Wednesday, 10 December 2014 18:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samson,

As we have tighten our security as per our post at http://stackideas.com/blog/improving-our-sites-security , we would require you to re-enter your site's access again.
·
Wednesday, 10 December 2014 23:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I now re-entered all necessary data in "Site Details" of the first post. Please remember the url for admin access that is written in "Optional Information".

Thank you for watching for our security.

Regards
Samson
·
Thursday, 11 December 2014 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samson,

I am sorry for the delay of this reply and thank you for resubmit your site access to us

Regarding your issue, I've manually run the avatar migration and the migration has completed. Please verify again

Anyway, there is an issue migrating your user's photos. It seems like when I re-run the photo migration, it hit php error. I tried to set your error reporting to 'development' but I still not able to see what is the actual error caused. I did some checking in your site, look like you only have 256mb for the memory_limit in your php.ini. Can you increase this memory_limit to higher value, e.g. 512mb or 1024mb? Once you've increase the memory_limit to higher value, try to re-run the migrator again and see if all the photos are migrated from your JomSocial into EasySocial.

Please advise.

Hope this help and have a nice day
Sam
·
Thursday, 11 December 2014 18:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

okay, this looks better. Would you be so kind and tell me, how to manually run the avatar migration? I ran the user-migrator many times. No error was shown and no avatars were migrated. Now avatars are there. I increased the memory limit to 1024 mb and now many photos are migrated. I didn't even notice, these photos were not migrated. How did you notice?

Why I have to know this: We have to do multiple tests on this dev area. I will have to reset it some times. And when we perform the final migration, everything should work well. I hope you can understand, that all my checks should perform well, until I switch from running site to our new site. I do not want to make more work for you than absolutely necessary. I am not a professional. For me it sometimes is like learing by doing.

Do you think it will be necessary to let the memory limit at 1024 permanently, or is this only needed for migration? My hoster informed me, this could be a problem, if many users simultaneously visit the page.

Kind regards
Samson
·
Thursday, 11 December 2014 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

thank you very much for explanations. I now understand better.

I'm wondering, why migrator said "nothing to migrate" and did not show any error. That's why I thaught, migration was successfull and it looks for me, that all the steps after "photos" have not even started (also useravatar). Perhaps it's possible to improve this (relly good) migrator by implementing an error message for these cases. Then the user could recognize, that something could not be finished.

Howewer: I really thank you for your kind and fast help!! My problem is solved now.

Warm regards
Samson
·
Friday, 12 December 2014 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samson,

You're welcome. Glad that your issue has solved.
·
Friday, 12 December 2014 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post