Closed lxatstariongroup closed 3 years ago
2021-01-29 14:34:20.5310|ERROR|CDP4WebServices.API.Modules.ExchangeFileImportyApi+<SeedDataStore>d__109.MoveNext|Unable to dump the datastore. 57014: canceling statement due to statement timeout at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<<DoReadMessage>g__ReadMessageLong|0>d.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<<DoReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Npgsql.NpgsqlDataReader.<NextResult>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlDataReader.NextResult()
at Npgsql.NpgsqlCommand.<ExecuteReaderAsync>d__102.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlCommand.<ExecuteNonQuery>d__92.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlCommand.ExecuteNonQuery()
at CDP4WebServices.API.Services.DataStore.DataStoreController.CloneDataStore() in C:\Users\Cozmin Velciu\Documents\Repositories\RHEA\CDP4-WebServices-Community-Edition\CDP4WebServices.API\Services\DataStore\DataStoreController.cs:line 49
at CDP4WebServices.API.Modules.ExchangeFileImportyApi.<SeedDataStore>d__109.MoveNext() in C:\Users\Cozmin Velciu\Documents\Repositories\RHEA\CDP4-WebServices-Community-Edition\CDP4WebServices.API\Modules\10-25\ExchangeFileImportyApi.cs:line 312
13:40:12 Export operation start
13:40:12 Pushing data to http://localhost:5000/Data/Exchange
14:34:20 Export operation end
Other than the above problems, the migration did work and all models were accessible on the new CDP4 target server.
The migration process was tested using a dump of the Redu (ESA Academy) server containing 28 models:
rheagroup/cdp4-database-community-edition:latest
, 2.0.0) on Docker in a separate Ubuntu VMSpawned issues:
Prerequisites
Description
Execute test migrations. Discuss fixes afterwards.