I have…
- [x] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
The restore of a backup fails with an internal error
Expected behavior
The restore should work.
Minimal reproduction of the problem
Environment
App Name:
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [x] Self hosted with other version
- [ ] Cloud version
Version: 6.14.0.0
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [x] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
The app backup URL: https://squidex-dev.testrps.click/api/apps/backups/c8b67664-31b1-4c62-ae82-21bf49e619a5?app=svw-app-content&appId=f89b673e-08ee-4aa8-9eee-af2e68453ff2
App URL: cms-test.app.werder.de
Logs from the pods:
{"logLevel":"Error","message":"Backup with job id 9be973a9-c604-4d1b-b3d1-1bf7542667b1 from URL \u0027https://squidex-dev.testrps.click/api/apps/backups/c8b67664-31b1-4c62-ae82-21bf49e619a5?app=svw-app-content\u0026appId=f89b673e-08ee-4aa8-9eee-af2e68453ff2\u0027 failed.","backupId":"9be973a9-c604-4d1b-b3d1-1bf7542667b1","url":"https://squidex-dev.testrps.click/api/apps/backups/c8b67664-31b1-4c62-ae82-21bf49e619a5?app=svw-app-content\u0026appId=f89b673e-08ee-4aa8-9eee-af2e68453ff2","timestamp":"2023-01-19T13:23:06Z","app":{"name":"Squidex","version":"6.14.0.0","sessionId":"83cc9c7c-6e24-4af2-a280-a2bea92a1a0e"},"category":"Squidex.Domain.Apps.Entities.Backup.RestoreGrain","exception":{"type":"System.FormatException","message":"An error occurred while deserializing the Events property of class Squidex.Infrastructure.EventSourcing.MongoEventCommit: An error occurred while deserializing the Payload property of class Squidex.Infrastructure.EventSourcing.MongoEvent: Exception of type \u0027System.OutOfMemoryException\u0027 was thrown.","stackTrace":" at MongoDB.Bson.Serialization.BsonClassMapSerializer\u00601.DeserializeMemberValue(BsonDeserializationContext context, BsonMemberMap memberMap)\n at MongoDB.Bson.Serialization.BsonClassMapSerializer\u00601.DeserializeClass(BsonDeserializationContext context)\n at MongoDB.Bson.Serialization.BsonClassMapSerializer\u00601.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)\n at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer\u00601 serializer, BsonDeserializationContext context)\n at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArray batch, IBsonSerializer\u00601 documentSerializer, MessageEncoderSettings messageEncoderSettings)\n at MongoDB.Driver.Core.Operations.AsyncCursor\u00601.CreateCursorBatch(BsonDocument result)\n at MongoDB.Driver.Core.Operations.AsyncCursor\u00601.ExecuteGetMoreCommandAsync(IChannelHandle channel, CancellationToken cancellationToken)\n at MongoDB.Driver.Core.Operations.AsyncCursor\u00601.GetNextBatchAsync(CancellationToken cancellationToken)\n at MongoDB.Driver.Core.Operations.AsyncCursor\u00601.MoveNextAsync(CancellationToken cancellationToken)\n at MongoDB.Driver.IAsyncCursorExtensions.ToListAsync[TDocument](IAsyncCursor\u00601 source, CancellationToken cancellationToken)\n at MongoDB.Driver.IAsyncCursorSourceExtensions.ToListAsync[TDocument](IAsyncCursorSource\u00601 source, CancellationToken cancellationToken)\n at Squidex.Infrastructure.EventSourcing.MongoEventStore.QueryManyAsync(IEnumerable\u00601 streamNames, CancellationToken ct) in /src/src/Squidex.Infrastructure.MongoDb/EventSourcing/MongoEventStore_Reader.cs:line 109\n at Squidex.Infrastructure.States.BatchContext\u00601.LoadAsync(IEnumerable\u00601 ids) in /src/src/Squidex.Infrastructure/States/BatchContext.cs:line 58\n at Squidex.Infrastructure.Commands.Rebuilder.\u003C\u003Ec__DisplayClass10_0\u00602.\u003C\u003CInsertManyAsync\u003Eb__0\u003Ed.MoveNext() in /src/src/Squidex.Infrastructure/Commands/Rebuilder.cs:line 95\n--- End of stack trace from previous location ---\n at Squidex.Infrastructure.Commands.Rebuilder.\u003C\u003Ec__DisplayClass10_0\u00602.\u003C\u003CInsertManyAsync\u003Eb__0\u003Ed.MoveNext() in /src/src/Squidex.Infrastructure/Commands/Rebuilder.cs:line 97\n--- End of stack trace from previous location ---\n at Squidex.Infrastructure.Commands.Rebuilder.InsertManyAsync[T,TState](IAsyncEnumerable\u00601 source, Int32 batchSize, Double errorThreshold, CancellationToken ct) in /src/src/Squidex.Infrastructure/Commands/Rebuilder.cs:line 150\n at Squidex.Infrastructure.Commands.Rebuilder.InsertManyAsync[T,TState](IEnumerable\u00601 source, Int32 batchSize, Double errorThreshold, CancellationToken ct) in /src/src/Squidex.Infrastructure/Commands/Rebuilder.cs:line 73\n at Squidex.Domain.Apps.Entities.Contents.BackupContents.RestoreAsync(RestoreContext context, CancellationToken ct) in /src/src/Squidex.Domain.Apps.Entities/Contents/BackupContents.cs:line 196\n at Squidex.Domain.Apps.Entities.Backup.RestoreGrain.ProcessAsync() in /src/src/Squidex.Domain.Apps.Entities/Backup/RestoreGrain.cs:line 163"}}
{"logLevel":"Warning","message":".NET Thread Pool is exhibiting delays of 2.8751408s. This can indicate .NET Thread Pool starvation, very long .NET GC pauses, or other runtime or machine pauses.","threadPoolQueueDelaySeconds":"2.8751408","timestamp":"2023-01-19T13:23:11Z","app":{"name":"Squidex","version":"6.14.0.0","sessionId":"83cc9c7c-6e24-4af2-a280-a2bea92a1a0e"},"category":"Orleans.Runtime.MembershipService.LocalSiloHealthMonitor"}
{"logLevel":"Warning","message":"Self-monitoring determined that local health is degraded. Degradation score is 2/8 (lower is better). Complaints: .NET Thread Pool is exhibiting delays of 2.8751408s. This can indicate .NET Thread Pool starvation, very long .NET GC pauses, or other runtime or machine pauses.","score":"2","maxScore":"8","complaints":".NET Thread Pool is exhibiting delays of 2.8751408s. This can indicate .NET Thread Pool starvation, very long .NET GC pauses, or other runtime or machine pauses.","timestamp":"2023-01-19T13:23:11Z","app":{"name":"Squidex","version":"6.14.0.0","sessionId":"83cc9c7c-6e24-4af2-a280-a2bea92a1a0e"},"category":"Orleans.Runtime.MembershipService.LocalSiloHealthMonitor"}