Hi,
I have almost the same issue but without an other error message:
—————————— [0m
2:: [13358] [2013/11/07 11:20:49.999] Updating PGModel 'TemporaryUniqueIntegerTable' (table '__runtime_temp_migration_tool-41210-4494')
2:: [13358] [2013/11/07 11:20:50.003] Deleted 0 rows from installed_applications for device 741
0:: [13358] [2013/11/07 11:20:50.012] Migrated 'Device' in 5455.11ms. (346 rows processed)
3:: [13358] Total transaction time: 5.497234 seconds.
1:: [13358] [2013/11/07 11:20:50.307] Starting migration of 'LabSession'...
2:: [13358] [2013/11/07 11:20:50.321] Updating PGModel 'LabSession' (table 'lab_sessions')
0:: [13358] [2013/11/07 11:20:55.479] [1;7;31mEXCEPTION: [0;31m Postgres <-[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 23505 (ERROR: duplicate key value violates unique constraint "owner_lab_sessions_device_id_index"
DETAIL: Key (device_id)=(459) already exists.
)"> [0m [0m
0:: [13358] [2013/11/07 11:20:55.481] [1;7;31mEXCEPTION: [0;31m Postgres <-[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 23505 (ERROR: duplicate key value violates unique constraint "owner_lab_sessions_device_id_index"
DETAIL: Key (device_id)=(459) already exists.
)">
USERINFO: {
SQLSTATE = 23505;
errorMessage = "ERROR: duplicate key value violates unique constraint \"owner_lab_sessions_device_id_index\"\nDETAIL: Key (device_id)=(459) already exists.\n";
}
[4;31mBACKTRACE: [0m
[0;31m? | 4504946144
? | 4504828986
? | 4502611981
? | 4502595291
? | 4502594561
? | 4504952326
? | 4504829847
? | 4502593897
? | 4502617909
? | 140735650727421
? | 2
[0m [0m
0:: [13358] [2013/11/07 11:20:55.481] [1;7;31mEXCEPTION: [0;31m Postgres <-[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 25P02 (ERROR: current transaction is aborted, commands ignored until end of transaction block
)"> [0m [0m
0:: [13358] [2013/11/07 11:20:55.482] [1;7;31mEXCEPTION: [0;31m Postgres <-[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 25P02 (ERROR: current transaction is aborted, commands ignored until end of transaction block
)">
USERINFO: {
SQLSTATE = 25P02;
errorMessage = "ERROR: current transaction is aborted, commands ignored until end of transaction block\n";
}
[4;31mBACKTRACE: [0m
[0;31m? | 4504946144
? | 4504828986
? | 4502601229
? | 4502595291
? | 4502594561
? | 4504952326
? | 4504829847
? | 4502593897
? | 4502617909
? | 140735650727421
? | 2
[0m [0m
0:: [13358] [2013/11/07 11:20:55.483] Caught unhandled exception -[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 25P02 (ERROR: current transaction is aborted, commands ignored until end of transaction block
)"
0:: [13358] [2013/11/07 11:20:55.483] *****************************************
0:: [13358] [2013/11/07 11:20:55.483] Migration from version 1 database failed!
-[PGConnection executeCSQL:] (/SourceCache/RemoteDeviceManagement/RemoteDeviceManagement-848.17/Compiled/Fra mework-Models/Postgres/PGConnection.m:323): "Postgres error 25P02 (ERROR: current transaction is aborted, commands ignored until end of transaction block
)"
0:: [13358] [2013/11/07 11:20:55.483] *****************************************
4:: [13358] Total transaction time: 0.003722 seconds.
1:: [13358] [2013/11/07 11:20:55.487] Finalizing migration....
2:: [13358] [2013/11/07 11:21:19.158] main RESULT:
[1;32m————————+———————————————————————————————————————————————————————————————— ———————————————————————————————————————————————————————————————————————————————— —————————————— [0m
Do you have an idea?
Thanks a lot in advance