Hello, I am trying migrating Bamboo server to a new VM.
I have original server running: Bamboo 6.0.0 build 60001 - 24 Apr 17
New server running: 6.6.0 build 60604 - 25 Jun 18
During import of Bamboo backup created on server 6.0.0 build 60001 onto 6.6.0 build 60604 I get:
Import failed. Please contact Atlassian at https://support.atlassian.com/ and attach your export file. <br /> java.lang.RuntimeException: Unexpected exception <a lot of logs ommited> Caused by: java.sql.BatchUpdateException: Violation of UNIQUE KEY constraint 'ASSIGNMENT_UNIQUE'. Cannot insert duplicate key in object 'dbo.AGENT_ASSIGNMENT'. The duplicate key value is (62619649, AGENT, 55934980, PROJECT). at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeBatch(SQLServerPreparedStatement.java:1824) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2544) at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:111) Prior to this I tried doing the following: alter table dbo.AGENT_ASSIGNMENT drop constraint ASSIGNMENT_UNIQUE; |