:( Application Error

I have…

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

Expected behavior

Minimal reproduction of the problem

The Squidex are working Ok… until

:frowning: Application Error

If you are the application administrator, you can access the [diagnostic resources]

Environment

App Name:

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

Version: [VERSION]

Browser:

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

Others:

ERROR LOG

2022-06-24T19:21:24.405416707Z {
2022-06-24T19:21:24.405461707Z “logLevel”: “Information”,
2022-06-24T19:21:24.405476307Z “initializedSystem”: “MongoTextIndex”,
2022-06-24T19:21:24.405487407Z “timestamp”: “2022-06-24T19:21:24Z”,
2022-06-24T19:21:24.405498307Z “app”: {
2022-06-24T19:21:24.405508807Z “name”: “Squidex”,
2022-06-24T19:21:24.405519507Z “version”: “6.7.0.0”,
2022-06-24T19:21:24.405536407Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:24.405547407Z }
2022-06-24T19:21:24.405557507Z }
2022-06-24T19:21:24.405567507Z
2022-06-24T19:21:24.417029316Z {
2022-06-24T19:21:24.417061016Z “logLevel”: “Information”,
2022-06-24T19:21:24.417075116Z “initializedSystem”: “MongoTextIndexerState”,
2022-06-24T19:21:24.417086716Z “timestamp”: “2022-06-24T19:21:24Z”,
2022-06-24T19:21:24.417097516Z “app”: {
2022-06-24T19:21:24.417128616Z “name”: “Squidex”,
2022-06-24T19:21:24.417141316Z “version”: “6.7.0.0”,
2022-06-24T19:21:24.417152016Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:24.417165216Z }
2022-06-24T19:21:24.417175616Z }
2022-06-24T19:21:24.417185816Z
2022-06-24T19:21:24.438510332Z {
2022-06-24T19:21:24.438554332Z “logLevel”: “Information”,
2022-06-24T19:21:24.438568732Z “initializedSystem”: “MongoUsageRepository”,
2022-06-24T19:21:24.438580432Z “timestamp”: “2022-06-24T19:21:24Z”,
2022-06-24T19:21:24.438591332Z “app”: {
2022-06-24T19:21:24.438601832Z “name”: “Squidex”,
2022-06-24T19:21:24.438612632Z “version”: “6.7.0.0”,
2022-06-24T19:21:24.438623332Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:24.438634532Z }
2022-06-24T19:21:24.438644832Z }
2022-06-24T19:21:24.438655032Z
2022-06-24T19:21:24.463386450Z {
2022-06-24T19:21:24.463424851Z “logLevel”: “Information”,
2022-06-24T19:21:24.463439551Z “initializedSystem”: “MongoUserStore”,
2022-06-24T19:21:24.463451251Z “timestamp”: “2022-06-24T19:21:24Z”,
2022-06-24T19:21:24.463462351Z “app”: {
2022-06-24T19:21:24.463473051Z “name”: “Squidex”,
2022-06-24T19:21:24.463483851Z “version”: “6.7.0.0”,
2022-06-24T19:21:24.463494451Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:24.463505451Z }
2022-06-24T19:21:24.463515751Z }
2022-06-24T19:21:24.463526151Z
2022-06-24T19:21:25.011480862Z {
2022-06-24T19:21:25.011556762Z “logLevel”: “Information”,
2022-06-24T19:21:25.011571762Z “initializedSystem”: “TokenStoreInitializer”,
2022-06-24T19:21:25.011583162Z “timestamp”: “2022-06-24T19:21:25Z”,
2022-06-24T19:21:25.011594162Z “app”: {
2022-06-24T19:21:25.011604562Z “name”: “Squidex”,
2022-06-24T19:21:25.011615162Z “version”: “6.7.0.0”,
2022-06-24T19:21:25.011625962Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:25.011636962Z }
2022-06-24T19:21:25.011647062Z }
2022-06-24T19:21:25.011657262Z
2022-06-24T19:21:25.018878067Z {
2022-06-24T19:21:25.018929567Z “logLevel”: “Information”,
2022-06-24T19:21:25.018944167Z “initializedSystem”: “CreateAdminInitializer”,
2022-06-24T19:21:25.018955867Z “timestamp”: “2022-06-24T19:21:25Z”,
2022-06-24T19:21:25.018967167Z “app”: {
2022-06-24T19:21:25.019001067Z “name”: “Squidex”,
2022-06-24T19:21:25.019013867Z “version”: “6.7.0.0”,
2022-06-24T19:21:25.019024967Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:25.019036067Z }
2022-06-24T19:21:25.019046367Z }
2022-06-24T19:21:25.019056567Z
2022-06-24T19:21:26.737316244Z {
2022-06-24T19:21:26.737401244Z “logLevel”: “Information”,
2022-06-24T19:21:26.737421044Z “message”: “Migration Migrations.Migrations.StopEventConsumers started.”,
2022-06-24T19:21:26.737433144Z “migration”: “Migrations.Migrations.StopEventConsumers”,
2022-06-24T19:21:26.739973746Z “timestamp”: “2022-06-24T19:21:26Z”,
2022-06-24T19:21:26.740010546Z “app”: {
2022-06-24T19:21:26.740025346Z “name”: “Squidex”,
2022-06-24T19:21:26.740036646Z “version”: “6.7.0.0”,
2022-06-24T19:21:26.740047446Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:26.740058446Z },
2022-06-24T19:21:26.740068946Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:26.740079946Z }
2022-06-24T19:21:26.740090246Z
2022-06-24T19:21:26.740104246Z {
2022-06-24T19:21:26.740115546Z “logLevel”: “Information”,
2022-06-24T19:21:26.740126446Z “message”: “Migration Migrations.Migrations.StopEventConsumers started.”,
2022-06-24T19:21:26.740137346Z “migration”: “Migrations.Migrations.StopEventConsumers”,
2022-06-24T19:21:26.740148146Z “timestamp”: “2022-06-24T19:21:26Z”,
2022-06-24T19:21:26.740159146Z “app”: {
2022-06-24T19:21:26.740169446Z “name”: “Squidex”,
2022-06-24T19:21:26.740179846Z “version”: “6.7.0.0”,
2022-06-24T19:21:26.740190646Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:26.740201446Z },
2022-06-24T19:21:26.740211846Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:26.740222546Z }
2022-06-24T19:21:26.740232646Z
2022-06-24T19:21:27.922748517Z {
2022-06-24T19:21:27.922806118Z “logLevel”: “Information”,
2022-06-24T19:21:27.922820718Z “message”: “Migration Migrations.Migrations.StopEventConsumers completed after 1178ms.”,
2022-06-24T19:21:27.922832518Z “migration”: “Migrations.Migrations.StopEventConsumers”,
2022-06-24T19:21:27.922843718Z “time”: “1178”,
2022-06-24T19:21:27.922854618Z “timestamp”: “2022-06-24T19:21:27Z”,
2022-06-24T19:21:27.922865718Z “app”: {
2022-06-24T19:21:27.922876418Z “name”: “Squidex”,
2022-06-24T19:21:27.922908618Z “version”: “6.7.0.0”,
2022-06-24T19:21:27.922921418Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:27.922932518Z },
2022-06-24T19:21:27.922942818Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:27.922953718Z }
2022-06-24T19:21:27.922968018Z
2022-06-24T19:21:27.922978718Z {
2022-06-24T19:21:27.922989218Z “logLevel”: “Information”,
2022-06-24T19:21:27.923000018Z “message”: “Migration Migrations.Migrations.StopEventConsumers completed after 1178ms.”,
2022-06-24T19:21:27.923011118Z “migration”: “Migrations.Migrations.StopEventConsumers”,
2022-06-24T19:21:27.923022018Z “time”: “1178”,
2022-06-24T19:21:27.923032518Z “timestamp”: “2022-06-24T19:21:27Z”,
2022-06-24T19:21:27.923043318Z “app”: {
2022-06-24T19:21:27.923053918Z “name”: “Squidex”,
2022-06-24T19:21:27.923064418Z “version”: “6.7.0.0”,
2022-06-24T19:21:27.923075518Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:27.923086218Z },
2022-06-24T19:21:27.923096418Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:27.923107218Z }
2022-06-24T19:21:27.923117618Z
2022-06-24T19:21:27.923128018Z {
2022-06-24T19:21:27.923138418Z “logLevel”: “Information”,
2022-06-24T19:21:27.923149118Z “message”: “Migration Migrations.Migrations.ConvertEventStore started.”,
2022-06-24T19:21:27.923159918Z “migration”: “Migrations.Migrations.ConvertEventStore”,
2022-06-24T19:21:27.923171018Z “timestamp”: “2022-06-24T19:21:27Z”,
2022-06-24T19:21:27.923182218Z “app”: {
2022-06-24T19:21:27.923192518Z “name”: “Squidex”,
2022-06-24T19:21:27.923203118Z “version”: “6.7.0.0”,
2022-06-24T19:21:27.923213918Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:27.923224518Z },
2022-06-24T19:21:27.923234918Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:27.923245618Z }
2022-06-24T19:21:27.923255918Z
2022-06-24T19:21:27.923266518Z {
2022-06-24T19:21:27.923276818Z “logLevel”: “Information”,
2022-06-24T19:21:27.923287618Z “message”: “Migration Migrations.Migrations.ConvertEventStore started.”,
2022-06-24T19:21:27.923298418Z “migration”: “Migrations.Migrations.ConvertEventStore”,
2022-06-24T19:21:27.923309018Z “timestamp”: “2022-06-24T19:21:27Z”,
2022-06-24T19:21:27.923319518Z “app”: {
2022-06-24T19:21:27.923329918Z “name”: “Squidex”,
2022-06-24T19:21:27.923348118Z “version”: “6.7.0.0”,
2022-06-24T19:21:27.923359718Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:27.923370318Z },
2022-06-24T19:21:27.923380618Z “category”: “Squidex.Infrastructure.Migrations.Migrator”
2022-06-24T19:21:27.923391418Z }
2022-06-24T19:21:27.923401618Z
2022-06-24T19:21:28.057986517Z {
2022-06-24T19:21:28.058043817Z “logLevel”: “Fatal”,
2022-06-24T19:21:28.058127917Z “message”: “Migration Migrations.Migrations.ConvertEventStore failed.”,
2022-06-24T19:21:28.058146717Z “migration”: “Migrations.Migrations.ConvertEventStore”,
2022-06-24T19:21:28.058158617Z “timestamp”: “2022-06-24T19:21:28Z”,
2022-06-24T19:21:28.058170017Z “app”: {
2022-06-24T19:21:28.058181417Z “name”: “Squidex”,
2022-06-24T19:21:28.058192717Z “version”: “6.7.0.0”,
2022-06-24T19:21:28.058204117Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:28.058215717Z },
2022-06-24T19:21:28.058226717Z “category”: “Squidex.Infrastructure.Migrations.Migrator”,
2022-06-24T19:21:28.058238417Z “exception”: {
2022-06-24T19:21:28.058249417Z “type”: “System.InvalidCastException”,
2022-06-24T19:21:28.058262117Z “message”: “Unable to cast object of type \u0027MongoDB.Bson.BsonDocument\u0027 to type \u0027MongoDB.Bson.BsonString\u0027.”,
2022-06-24T19:21:28.058274317Z “stackTrace”: " at Migrations.Migrations.ConvertEventStore.\u003C\u003Ec__DisplayClass2_0.\u003C\u003CUpdateAsync\u003Eb__1\u003Ed.MoveNext() in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 56\n— End of stack trace from previous location —\n at MongoDB.Driver.IAsyncCursorExtensions.ForEachAsync[TDocument](IAsyncCursor\u00601 source, Func\u00603 processor, CancellationToken cancellationToken)\n at MongoDB.Driver.IAsyncCursorSourceExtensions.ForEachAsync[TDocument](IAsyncCursorSource\u00601 source, Func\u00602 processor, CancellationToken cancellationToken)\n at Migrations.Migrations.ConvertEventStore.UpdateAsync(CancellationToken ct) in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 54\n at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in /src/src/Squidex.Infrastructure/Migrations/Migrator.cs:line 60"
2022-06-24T19:21:28.058294317Z }
2022-06-24T19:21:28.058304917Z }
2022-06-24T19:21:28.058315417Z
2022-06-24T19:21:28.068514824Z {
2022-06-24T19:21:28.068561724Z “logLevel”: “Fatal”,
2022-06-24T19:21:28.068576324Z “message”: “Migration Migrations.Migrations.ConvertEventStore failed.”,
2022-06-24T19:21:28.068587824Z “migration”: “Migrations.Migrations.ConvertEventStore”,
2022-06-24T19:21:28.068598924Z “timestamp”: “2022-06-24T19:21:28Z”,
2022-06-24T19:21:28.068609824Z “app”: {
2022-06-24T19:21:28.068620324Z “name”: “Squidex”,
2022-06-24T19:21:28.068649324Z “version”: “6.7.0.0”,
2022-06-24T19:21:28.068661825Z “sessionId”: “1a14701c-a6a6-4f4f-9cd5-4378dc5b6fb9”
2022-06-24T19:21:28.068672925Z },
2022-06-24T19:21:28.068683325Z “category”: “Squidex.Infrastructure.Migrations.Migrator”,
2022-06-24T19:21:28.068694025Z “exception”: {
2022-06-24T19:21:28.068704525Z “type”: “System.InvalidCastException”,
2022-06-24T19:21:28.068715325Z “message”: “Unable to cast object of type \u0027MongoDB.Bson.BsonDocument\u0027 to type \u0027MongoDB.Bson.BsonString\u0027.”,
2022-06-24T19:21:28.068727025Z “stackTrace”: " at Migrations.Migrations.ConvertEventStore.\u003C\u003Ec__DisplayClass2_0.\u003C\u003CUpdateAsync\u003Eb__1\u003Ed.MoveNext() in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 56\n— End of stack trace from previous location —\n at MongoDB.Driver.IAsyncCursorExtensions.ForEachAsync[TDocument](IAsyncCursor\u00601 source, Func\u00603 processor, CancellationToken cancellationToken)\n at MongoDB.Driver.IAsyncCursorSourceExtensions.ForEachAsync[TDocument](IAsyncCursorSource\u00601 source, Func\u00602 processor, CancellationToken cancellationToken)\n at Migrations.Migrations.ConvertEventStore.UpdateAsync(CancellationToken ct) in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 54\n at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in /src/src/Squidex.Infrastructure/Migrations/Migrator.cs:line 60"
2022-06-24T19:21:28.068742825Z }
2022-06-24T19:21:28.068753225Z }
2022-06-24T19:21:28.068763725Z
2022-06-24T19:21:28.161344492Z Unhandled exception. Squidex.Infrastructure.Migrations.MigrationFailedException: Failed to run migration ‘Migrations.Migrations.ConvertEventStore’
2022-06-24T19:21:28.161399592Z —> System.InvalidCastException: Unable to cast object of type ‘MongoDB.Bson.BsonDocument’ to type ‘MongoDB.Bson.BsonString’.
2022-06-24T19:21:28.161415092Z at Migrations.Migrations.ConvertEventStore.<>c__DisplayClass2_0.<b__1>d.MoveNext() in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 56
2022-06-24T19:21:28.161427392Z — End of stack trace from previous location —
2022-06-24T19:21:28.161438292Z at MongoDB.Driver.IAsyncCursorExtensions.ForEachAsync[TDocument](IAsyncCursor1 source, Func3 processor, CancellationToken cancellationToken)
2022-06-24T19:21:28.161449592Z at MongoDB.Driver.IAsyncCursorSourceExtensions.ForEachAsync[TDocument](IAsyncCursorSource1 source, Func2 processor, CancellationToken cancellationToken)
2022-06-24T19:21:28.161460892Z at Migrations.Migrations.ConvertEventStore.UpdateAsync(CancellationToken ct) in /src/src/Migrations/Migrations/ConvertEventStore.cs:line 54
2022-06-24T19:21:28.161472192Z at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in /src/src/Squidex.Infrastructure/Migrations/Migrator.cs:line 60
2022-06-24T19:21:28.161483592Z — End of inner exception stack trace —
2022-06-24T19:21:28.161494292Z at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in /src/src/Squidex.Infrastructure/Migrations/Migrator.cs:line 67
2022-06-24T19:21:28.161524892Z at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in /src/src/Squidex.Infrastructure/Migrations/Migrator.cs:line 78
2022-06-24T19:21:28.161537492Z at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
2022-06-24T19:21:28.161548492Z at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2022-06-24T19:21:28.161559692Z at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2022-06-24T19:21:28.161570792Z at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
2022-06-24T19:21:28.161581692Z at Squidex.Program.Main(String[] args) in /src/src/Squidex/Program.cs:line 18

2022-06-24T19:21:29.165Z ERROR - Container squidex-hml-3_0_46167a4a for site squidex-hml-3 has exited, failing site start
2022-06-24T19:21:29.500Z ERROR - Container squidex-hml-3_0_46167a4a didn’t respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2022-06-24T19:21:29.514Z INFO - Stopping site squidex-hml-3 because it failed during startup.

Please use code blocks to format your logs.

It seems that your installation is running an old migration.

Check the current migration version: