Jump to content

Server won't start anymore


GasEngine
 Share

Recommended Posts

I am not able to start the server anymore. The error.log shows the following error:

2018-05-30 15:00:25,852 [17] ERROR PicaJet.Daminion.Service.Utils.CheckValidateAndUpdateCommand [(null)] - Error: (1)

Npgsql.NpgsqlException:

duplicate key value violates unique constraint "custom_502b259a_5df6_49e4_9208_0572419e981b_tree_pkey"

Severity: ERROR

Code: 23505

at Npgsql.NpgsqlState.<ProcessBackendResponses>d__0.MoveNext() in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlState.BackendResponse.cs:line 310

at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject(Boolean cleanup) in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlDataReader.cs:line 1158

at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlDataReader.cs:line 1176

at Npgsql.ForwardsOnlyDataReader.NextResultInternal() in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlDataReader.cs:line 1386

at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean preparedStatement, NpgsqlRowDescription rowDescription) in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlDataReader.cs:line 1010

at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlCommand.PrepareExecute.cs:line 279

at Npgsql.NpgsqlCommand.ExecuteNonQuery() in c:\dev\TeamCity\buildAgent\work\45caad201a245970\Npgsql\Npgsql\NpgsqlCommand.PrepareExecute.cs:line 155

at PicaJet.Daminion.Service.DbCommandWrapper.ExecuteNonQuery() in c:\DaminionAuto\Code\Service.DB\DbCommandWrapper.cs:line 42

at PicaJet.Daminion.Service.Utils.UpdateDatabaseVersion9.UpdateHierarchiLinks(String tableName, Int64 id, Int64 parentId, DbConnection connection, UniversalCatalogService service) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseVersion9.cs:line 302

at PicaJet.Daminion.Service.Utils.UpdateDatabaseVersion10.Visitor(LocalRequestRecord nodeData, Object[] state) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseVersion10.cs:line 118

at PicaJet.Daminion.Common.Functional.NTree`1.Traverse(NTree`1 node, TreeVisitor`1 visitor, Object[] state)

at PicaJet.Daminion.Common.Functional.NTree`1.Traverse(NTree`1 node, TreeVisitor`1 visitor, Object[] state)

at PicaJet.Daminion.Service.Utils.UpdateDatabaseVersion10.CreateLinksInHierarchalTable(IndexedTagInfo tag, DbConnection connection, UniversalCatalogService service) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseVersion10.cs:line 111

at PicaJet.Daminion.Service.Utils.UpdateDatabaseVersion51.FillCustomHierarchicalTagsTreeTable(DbConnection connection) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseVersion51.cs:line 44

at PicaJet.Daminion.Service.Utils.UpdateDatabaseVersion51.DoIt(DbConnection connection) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseVersion51.cs:line 21

at PicaJet.Daminion.Service.DbCommandExecutor.ExecWithTransaction(Execute execDelegate, IDatabaseEnvironment databaseEnvironment, DbConnection connection, Boolean processErrorHandler) in c:\DaminionAuto\Code\Service.DB\DbCommandExecutor.cs:line 69

at PicaJet.Daminion.Service.Utils.UpdateDatabaseSuperclass.Process(DbConnection connection) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\UpdateDatabaseSuperclass.cs:line 43

at PicaJet.Daminion.Service.Utils.CheckValidateAndUpdateCommand.Start(DbConnection connection) in c:\DaminionAuto\Code\Service.Utils.Uni\Command\CheckValidateAndUpdateCommand.cs:line 268

at PicaJet.Daminion.Service.Utils.DatabaseCommand.Start() in c:\DaminionAuto\Code\Service.Utils.Uni\DatabaseCommand.cs:line 110

at PicaJet.Daminion.Service.Utils.DatabaseCommand.Process() in c:\DaminionAuto\Code\Service.Utils.Uni\DatabaseCommand.cs:line 50

 

Pls help! :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...