We recently updated to the latest Deadline version, at first everything seemed fine but now a couple of days later we get an error when switching to Power user in the monitor.
After dismissing the error it still switches to Power user and we can change most things that require power user, however, one thing that doesn’t work is changing worker groups. When doing so everything seems to work (no error popup) but the changes aren’t saved.
This is the error we get as a popup when changing to Power user:
MongoDB.Driver.MongoWriteConcernException: WriteConcern detected an error 'BSONElement: bad type 76 @ 0x2550de1327d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 '. (Response was { “ok” : 1, “code” : 10320, “err” : "BSONElement: bad type 76 @ 0x2550de1327d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", “n” : NumberLong(0), “updatedExisting” : false }).
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.CreateResultOrThrow(IChannelHandle channel, BulkWriteOperationResult result, MongoBulkWriteOperationException exception)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation1 operation, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollection.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation1 operation)
at MongoDB.Driver.MongoCollection.Update(IClientSessionHandle session, IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
at MongoDB.Driver.MongoCollection.<>c__DisplayClass132_0.b__0(IClientSessionHandle session)
at MongoDB.Driver.MongoCollection.UsingImplicitSession[TResult](Func`2 func)
at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern)
at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry entries, Int32 maximumEntries)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “C:\thinkbox-conda\conda-bld\deadline_1753742888886\work\DeadlineProject\DeadlineUI\Commands\MonitorCommands.py”, line 1344, in InnerExecute
Deadline.StorageDB.MongoDB.MongoWriteDocumentException: Failed to add Repository History Entry to the Database, see inner exception for details.
MongoWriteConcernException.WriteConcernResult response:
{ “ok” : 1, “code” : 10320, “err” : "BSONElement: bad type 76 @ 0x2550de1327d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", “n” : 0, “updatedExisting” : false }
—> MongoDB.Driver.MongoWriteConcernException: WriteConcern detected an error 'BSONElement: bad type 76 @ 0x2550de1327d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 '. (Response was { “ok” : 1, “code” : 10320, “err” : "BSONElement: bad type 76 @ 0x2550de1327d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", “n” : NumberLong(0), “updatedExisting” : false }).
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.CreateResultOrThrow(IChannelHandle channel, BulkWriteOperationResult result, MongoBulkWriteOperationException exception)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation1 operation, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollection.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation1 operation)
at MongoDB.Driver.MongoCollection.Update(IClientSessionHandle session, IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
at MongoDB.Driver.MongoCollection.<>c__DisplayClass132_0.b__0(IClientSessionHandle session)
at MongoDB.Driver.MongoCollection.UsingImplicitSession[TResult](Func2 func) at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options) at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern) at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry[] entries, Int32 maximumEntries) --- End of inner exception stack trace --- at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry[] entries, Int32 maximumEntries) at Deadline.Controllers.DataController.AddRepositoryHistoryEntries(String[] entries) at Deadline.Controllers.DataController.AddRepositoryHistoryEntry(String entry) at InvokeStub_DataController.AddRepositoryHistoryEntry(Object, Span1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
— End of stack trace from previous location —
at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1752696683703\work\src\runtime\PythonException.cs:line 51
at Python.Runtime.Dispatcher.TrueDispatch(Object args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1752696683703\work\src\runtime\DelegateManager.cs:line 242
at Python.Runtime.Dispatcher.Dispatch(Object args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1752696683703\work\src\runtime\DelegateManager.cs:line 208
at __FranticX_GenericDelegate22\[\[System_Boolean\, System_Private_CoreLib\, Version=8_0_0_0\, Culture=neutral\, PublicKeyToken=7cec85d7bea7798e\]\,\[System_Boolean\, System_Private_CoreLib\, Version=8_0_0_0\, Culture=neutral\, PublicKeyToken=7cec85d7bea7798e\]\]Dispatcher.Invoke(Boolean, Boolean) at Deadline.Monitor.MonitorManager.set_PowerUser(Boolean value) at InvokeStub_MonitorManager.set_PowerUser(Object, Span1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
And the console gives me this when I exit the manage groups dialogue:
2025-11-03 11:58:12: MongoDB.Driver.MongoWriteConcernException: WriteConcern detected an error 'BSONElement: bad type 76 @ 0x2550de1027d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 '. (Response was { “ok” : 1, “code” : 10320, “err” : "BSONElement: bad type 76 @ 0x2550de1027d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", “n” : NumberLong(0), “updatedExisting” : false }).
2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.CreateResultOrThrow(IChannelHandle channel, BulkWriteOperationResult result, MongoBulkWriteOperationException exception)
2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(RetryableWriteContext context, CancellationToken cancellationToken)
2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
2025-11-03 11:58:12: at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation1 operation, CancellationToken cancellationToken) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation1 operation)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IClientSessionHandle session, IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.<>c__DisplayClass132_0.b__0(IClientSessionHandle session)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.UsingImplicitSession[TResult](Func2 func) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern) 2025-11-03 11:58:12: at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry[] entries, Int32 maximumEntries) 2025-11-03 11:58:12: 2025-11-03 11:58:12: The above exception was the direct cause of the following exception: 2025-11-03 11:58:12: 2025-11-03 11:58:12: Traceback (most recent call last): 2025-11-03 11:58:12: File "C:\thinkbox-conda\conda-bld\deadline_1753742888886\work\DeadlineProject\DeadlineUI\Forms\ManagePoolsForm.py", line 806, in saveConfig 2025-11-03 11:58:12: Deadline.StorageDB.MongoDB.MongoWriteDocumentException: Failed to add Repository History Entry to the Database, see inner exception for details. 2025-11-03 11:58:12: MongoWriteConcernException.WriteConcernResult response: 2025-11-03 11:58:12: { "ok" : 1, "code" : 10320, "err" : "BSONElement: bad type 76 @ 0x2550de1027d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", "n" : 0, "updatedExisting" : false } 2025-11-03 11:58:12: ---> MongoDB.Driver.MongoWriteConcernException: WriteConcern detected an error 'BSONElement: bad type 76 @ 0x2550de1027d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 '. (Response was { "ok" : 1, "code" : 10320, "err" : "BSONElement: bad type 76 @ 0x2550de1027d at offset 29 in block: 0x75 0x73 0x65 0x20 0x63 0x6c 0x65 0x41 0x6e 0x69 0x6e 0x67 0x0 0x0 0x3 0x10 0x31 0x34 0x0 0x3d 0x1 0x0 0x0 0x8 0x5f 0x69 0x64 0x0 0x9 0x4c 0x61 0x51 ", "n" : NumberLong(0), "updatedExisting" : false }). 2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.CreateResultOrThrow(IChannelHandle channel, BulkWriteOperationResult result, MongoBulkWriteOperationException exception) 2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.Execute(RetryableWriteContext context, CancellationToken cancellationToken) 2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(RetryableWriteContext context, CancellationToken cancellationToken) 2025-11-03 11:58:12: at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken) 2025-11-03 11:58:12: at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation1 operation, CancellationToken cancellationToken)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation1 operation) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IClientSessionHandle session, IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.<>c__DisplayClass132_0.<Update>b__0(IClientSessionHandle session) 2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.UsingImplicitSession[TResult](Func2 func)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
2025-11-03 11:58:12: at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern)
2025-11-03 11:58:12: at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry entries, Int32 maximumEntries)
2025-11-03 11:58:12: — End of inner exception stack trace —
2025-11-03 11:58:12: at Deadline.StorageDB.MongoDB.MongoSettingsStorage.AddRepositoryHistoryEntries(HistoryEntry entries, Int32 maximumEntries)
2025-11-03 11:58:12: at Deadline.Controllers.DataController.AddRepositoryHistoryEntries(String entries)
2025-11-03 11:58:12: at Deadline.Controllers.DataController.AddRepositoryHistoryEntry(String entry)
2025-11-03 11:58:12: at InvokeStub_DataController.AddRepositoryHistoryEntry(Object, Span`1)
2025-11-03 11:58:12: at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
Any idea what I can do to resolve this?