Hi.<br><br>I try to make a migration in my dev server from MySQL to Postgres.<br><br>Now im trying to use the scrip from Dario given in this thread <a href="http://www.gossamer-threads.com/lists/rt/users/103305">http://www.gossamer-threads.com/lists/rt/users/103305</a><br>
<br>I get this error:<br><br>[root@rt ~]# ./RTmysqltoPg <br>Migrating ACL...<br>maxid=83<br>Asked ACL for 2000 starting from 0, got 73<br>DBD::Pg::st execute failed: ERROR:  duplicate key violates unique «acl_pkey» at ./RTmysqltoPg line 130.<br>
Use of uninitialized value $values[6] in join or string at ./RTmysqltoPg line 130.<br>Use of uninitialized value $values[8] in join or string at ./RTmysqltoPg line 130.<br> <br> 2,0,SuperUser,1,0,Group,,1,,RT::System at ./RTmysqltoPg line 130.<br>
<br><br><br>in the ACL table there aren“t duplicates key for ID.<br>The new database is empty, only generated by # make initialize-database<br><br>Any help?<br><br>I attach the script.<br><br>Thanks.<br>Kindest Regards.<br clear="all">
<br>-- <br>Un saludo.<br>Juanjo Corral<br>