Unable to update some contents

I have…

I’m submitting a…

  • [X ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

I created content using version 6.14.0 then we updated to 7.3.
After several uses I realized that I can’t update some contents that all date back to the same period. Unfortunately I have no idea if there were any problems with the db on the systems side, but I wonder if it is possible to “unblock” them in some way.
I cannot update, archive or delete them.

Thank you

Federica

Environment

App Name:

  • [X ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: 7.3

Browser:

  • [X ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Log error
```
{“logLevel”:“Error”,“message”:“Failed to repair snapshot for domain object of type Squidex.Domain.Apps.Entities.Contents.DomainObject.ContentDomainObject with ID 7cc3248a-6065-474e-8306-e9e3952e1fe5–227991fd-afc2-41d1-9303-9220090cd4ad.”,“type”:“Squidex.Domain.Apps.Entities.Contents.DomainObject.ContentDomainObject”,“id”:“7cc3248a-6065-474e-8306-e9e3952e1fe5–227991fd-afc2-41d1-9303-9220090cd4ad”,“timestamp”:“2023-03-09T07:52:17Z”,“app”:{“name”:“Squidex”,“version”:“7.3.0.0”,“sessionId”:“ec0eb560-92c3-43f2-a88e-f0d52773fedb”},“web”:{“requestId”:“00-81db92f99cfd12dc78bfe83fa44e727f-aac1843d88d683da-01”,“requestPath”:"/api/content/redazionaleras/articolo/227991fd-afc2-41d1-9303-9220090cd4ad",“requestMethod”:“PUT”,“routeValues”:{“area”:“api”,“action”:“PutContent”,“controller”:“Contents”}},“category”:“Squidex.Domain.Apps.Entities.Contents.DomainObject.ContentDomainObject”,“exception”:{“type”:“MongoDB.Driver.MongoCommandException”,“message”:“Command find failed: Transaction with { txnNumber: 53043 } has been aborted…”,“stackTrace”:" at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol\u00601.ProcessResponse(ConnectionId connectionId, CommandMessage responseMessage)\n at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol\u00601.ExecuteAsync(IConnection connection, CancellationToken cancellationToken)\n at MongoDB.Driver.Core.Servers.Server.ServerChannel.ExecuteProtocolA
```

It is a problem with the transaction system. It has already been turned off by default. Either update to 7.4 or turn the setting off. I think it is called CONTENTS__USETRANSACTIONS, but you can check the appsettings.json

Thank! I fixed the problem

1 Like