ejabberd - Comments for "Migrate from jabberd2 to ejabberd with jabberd1.4 intermediate" https://www.ejabberd.im/jabberd2-to-ejabberd en Links updated to new download page https://www.ejabberd.im/jabberd2-to-ejabberd#comment-54167 <p>I found another page that has the script, so I've updated the link in the tutorial.</p> Wed, 15 Apr 2009 11:59:00 +0000 mfoss comment 54167 at https://www.ejabberd.im link broken https://www.ejabberd.im/jabberd2-to-ejabberd#comment-54164 <p>Where is script perl jd2to1.pl ?</p> Mon, 13 Apr 2009 14:47:54 +0000 alexandrecorreia comment 54164 at https://www.ejabberd.im Another way that might work: https://www.ejabberd.im/jabberd2-to-ejabberd#comment-2285 <p>Another way that might work: <noindex><a href="http://www.capsec.org/lurkingblog/?p=11" rel="nofollow" >Migrate jabber 2 to ejabberd</a></noindex>.</p> <p>--<br /> sander</p> Tue, 19 Sep 2006 21:26:44 +0000 sander comment 2285 at https://www.ejabberd.im Thanks for the bugreport and the patch https://www.ejabberd.im/jabberd2-to-ejabberd#comment-752 <p>Thanks for the bugreport and the patch. I've applied it to the local copy, and I've reported the author of the script.</p> Fri, 02 Sep 2005 09:10:18 +0000 mfoss comment 752 at https://www.ejabberd.im From jadmin@ https://www.ejabberd.im/jabberd2-to-ejabberd#comment-751 <p>There is serious bug in script that converts contacts from jabberd2 to jabberd1.4 and then to ejabberd<br /> (<a href="http://www.ejabberd.im/jabberd2-to-ejabberd" title="http://www.ejabberd.im/jabberd2-to-ejabberd">http://www.ejabberd.im/jabberd2-to-ejabberd</a>).</p> <p>bug have 2 impacts:<br /> - it converts groups wrong (unpredictable behavior)<br /> - it is very slow (1 contact with 120 roster items ~60sec on 3Ghz machine)</p> <p>Thanks to Jacek Konieczny (Jajcus) that fix sql query - j2to1.pl works right and much faster (above example took 1sec).</p> <p>kolargol.</p> <blockquote><p>--- j2to1.pl 2005-09-02 09:27:26.000000000 +0200<br /> +++ j2to1_fixed.pl 2005-09-02 09:27:53.000000000 +0200<br /> @@ -67,8 +67,7 @@<br /> $xdb-&gt;{query}-&gt;[0]-&gt;{xmlns} = "jabber:iq:roster";<br /> $xdb-&gt;{query}-&gt;[0]-&gt;{xdbns} = "jabber:iq:roster";</p> <p>- my $asth = $dbh-&gt;prepare("SELECT `roster-items`.jid,`roster-items`.name,`roster-items`.`to`,`roster-items`.`from`,`roster-items`.ask,`roster-groups`.`group` FROM `roster-items` LEFT JOIN `roster-groups` ON `roster-items`.jid = `roster-groups`.jid WHERE `roster-items`.`collection-owner` = '$jid' ORDER BY `group`,jid");<br /> -<br /> + my $asth = $dbh-&gt;prepare("SELECT `roster-items`.jid,`roster-items`.name,`roster-items`.`to`,`roster-items`.`from`,`roster-items`.ask,`roster-groups`.`group` FROM `roster-items` LEFT JOIN `roster-groups` ON (`roster-items`.jid = `roster-groups`.jid and `roster-items`.`collection-owner` = `roster-groups`.`collection-owner`) WHERE `roster-items`.`collection-owner` = '$jid' ORDER BY `group`,jid");</p> <p>$asth-&gt;execute;<br /> my $cnt = 0;</p></blockquote> Fri, 02 Sep 2005 07:04:39 +0000 malik comment 751 at https://www.ejabberd.im