Guest User

Untitled

a guest
May 31st, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. erik-van-zijsts-mac-pro:bin ervzijst$ ./fisheyectl.sh restore -f /tmp/backup2.zip -j "jdbc:mysql://localhost:3306/test" -u root -d com.mysql.jdbc.Driver -i crucible -t mysql
  2. Listening for transport dt_socket at address: 5005
  3. Restoring crucible...
  4. log4j:WARN No appenders could be found for logger (fisheye.app).
  5. log4j:WARN Please initialize the log4j system properly.
  6. 1 rows written, 0 tables completed.
  7. 751 rows written, 0 tables completed.
  8. 2798 rows written, 0 tables completed.
  9. 5418 rows written, 5 tables completed.
  10. 8739 rows written, 5 tables completed.
  11. java.io.IOException: Error writing to the database: Duplicate entry 'mm011744' for key 2
  12. at com.atlassian.crucible.migration.item.CrucibleDBBackup.restore(CrucibleDBBackup.java:153)
  13. at com.cenqua.fisheye.ctl.Restore.run(Restore.java:86)
  14. at com.cenqua.fisheye.ctl.Restore.main(Restore.java:102)
  15. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  16. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  17. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  18. at java.lang.reflect.Method.invoke(Method.java:585)
  19. at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:107)
  20. at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:40)
  21. Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'mm011744' for key 2
  22. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1011)
  23. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  24. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
  25. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
  26. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
  27. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
  28. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554)
  29. at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761)
  30. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2046)
  31. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1964)
  32. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1949)
  33. at com.atlassian.crucible.migration.item.DBImporter$InserterBuilder$1.execute(DBImporter.java:197)
  34. at com.atlassian.crucible.migration.item.DBImporter.importTable(DBImporter.java:138)
  35. at com.atlassian.crucible.migration.item.DBImporter.importData(DBImporter.java:98)
  36. at com.atlassian.crucible.migration.item.CrucibleDBBackup.restore(CrucibleDBBackup.java:120)
  37. ... 8 more
  38. erik-van-zijsts-mac-pro:bin ervzijst$
Add Comment
Please, Sign In to add comment