Squidex does not start due to asset store config

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

  • Get multiple 500 errors

Minimal reproduction of the problem

  • Deploy latest Squidex on Azure web application

Environment

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

Others:

Logs from Azure

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #60: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “UnregisterManyAsync 1 failed.”,
“eventId”: {
“id”: 100502
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterOrPutInForwardList(IEnumerable1 addresses, UnregistrationCause cause, Int32 hopCount, Dictionary2& forward, List1 tasks, String context)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterManyAsync(List1 addresses, UnregistrationCause cause, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem.Execute()\r\n at Orleans.Runtime.Catalog.FinishDestroyActivations(List`1 list, Int32 number, MultiTaskCompletionSource tcs)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “UnregisterManyAsync 14 failed.”,
“eventId”: {
“id”: 100502
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterOrPutInForwardList(IEnumerable1 addresses, UnregistrationCause cause, Int32 hopCount, Dictionary2& forward, List1 tasks, String context)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterManyAsync(List1 addresses, UnregistrationCause cause, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem.Execute()\r\n at Orleans.Runtime.Catalog.FinishDestroyActivations(List`1 list, Int32 number, MultiTaskCompletionSource tcs)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:36Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #61: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:36Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #62: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Error”,
“message”: “Directory.RegisterAsync S10.0.6.168:11111:292493357*cli/c4a7d4a4@2cbedb68 failed.”,
“eventId”: {
“id”: 101317
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.RegisterAsync(ActivationAddress address, Boolean singleActivation, Int32 hopCount)\r\n at Orleans.OrleansTaskExtentions.LogException(Task task, ILogger logger, ErrorCode errorCode, String message)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.ClientObserverRegistrar”
}

{
“logLevel”: “Error”,
“message”: “OnClientRefreshTimer has thrown an exceptions.”,
“eventId”: {
“id”: 101319
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.RegisterAsync(ActivationAddress address, Boolean singleActivation, Int32 hopCount)\r\n at Orleans.OrleansTaskExtentions.LogException(Task task, ILogger logger, ErrorCode errorCode, String message)\r\n at Orleans.Runtime.ClientObserverRegistrar.OnClientRefreshTimer(Object data)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.ClientObserverRegistrar”
}

{
“logLevel”: “Error”,
“message”: “RunClientMessagePump has thrown exception”,
“eventId”: {
“id”: 100326
},
“exception”: {
“type”: “System.OperationCanceledException”,
“message”: “The operation was canceled.”,
“stackTrace”: " at System.Collections.Concurrent.BlockingCollection1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)\r\n at System.Collections.Concurrent.BlockingCollection1.TryTake(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at System.Collections.Concurrent.BlockingCollection`1.Take(CancellationToken cancellationToken)\r\n at Orleans.Runtime.HostedClient.RunClientMessagePump()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:38Z”,
“category”: “Orleans.Runtime.HostedClient”
}

For more details:

  • It was working on earlier version (17 Feb 2019)
  • Deployed on Azure web application
  • Using Mongo Atlas for MongoDB
  • The Migration version is 17

Thank you. Are you using it as a cluster or a single node instance?

Could I ask where can I check that ? I deployed it on single Azure web app instance.

When the application starts it logs all the configuration values. The value you are looking for is called “orleans:clustering”

“numberOfProcessors”: “1”,
“orleans:clustering”: “MongoDb”,
“orleans:gatewayport”: “40000”,
“orleans:siloport”: “11111”,

If you use a single instance only it is better to turn off clustering and set it to Development.

But I will dig into your issue. I made some changes because Orleans was behaving strange in Azure (only).

1 Like

I updated my test instance and set the clustering to MongoDB and it worked as well. But I had to add open port 11111. Alternatively you can also create a virtual network or just disable clustering.

Can you give me the full logs when the error started to happen?

Sorry for late reply. Here is the log when the error occurred.

The log is a bit too long. So I split it to 2 parts.

Logs 1/2

{
“logLevel”: “Information”,
“message”: “Application started”,
“environment”: {
“allusersprofile”: “D:\local\ProgramData”,
“appdata”: “D:\local\AppData”,
“appinsightsInstrumentationkey”: “52ddb2ff-4629-4eb2-bd06-51978e12de58”,
“applicationinsightsagentExtensionVersion”: “~2”,
“appsettingAppinsightsInstrumentationkey”: “52ddb2ff-4629-4eb2-bd06-51978e12de58”,
“appsettingApplicationinsightsagentExtensionVersion”: “~2”,
“appsettingAspnetcoreEnvironment”: “Production”,
“appsettingRemotedebuggingversion”: “15.0.28010.00”,
“appsettingScmtype”: “None”,
“appsettingWebsiteAuthAutoAad”: “False”,
“appsettingWebsiteAuthEnabled”: “False”,
“appsettingWebsiteAuthLogoutPath”: “/.auth/logout”,
“appsettingWebsiteSiteName”: “avinor-community-cms-stage”,
“appsettingXdtMicrosoftapplicationinsightsMode”: “default”,
“appPoolConfig”: “C:\DWASFiles\Sites\avinor-community-cms-stage\Config\applicationhost.config”,
“appPoolId”: “avinor-community-cms-stage”,
“aspnetcoreEnvironment”: “Production;Production”,
“aspnetcoreHostingstartupassemblies”: “Microsoft.AspNetCore.Server.IISIntegration”,
“aspnetcoreIisHttpauth”: “anonymous;”,
“assets:maxresults”: “200”,
“assets:maxsize”: “5242880”,
“assetstore:azureblob:connectionstring”: “”,
“assetstore:azureblob:containername”: “squidex-assets”,
“assetstore:exposesourceurl”: “False”,
“assetstore:folder:path”: “Assets”,
“assetstore:googlecloud:bucket”: “squidex-assets”,
“assetstore:mongodb:bucket”: “fs”,
“assetstore:mongodb:configuration”: “mongodb://”,
“assetstore:mongodb:database”: “SquidexAssets”,
“assetstore:type”: “Folder”,
“azureJetty93Cmdline”: “-Djava.net.preferIPv4Stack=true -Djetty.port=%HTTP_PLATFORM_PORT% -Djetty.base=“D:\Program Files (x86)\jetty-distribution-9.3.25.v20180904” -Djetty.webapps=“d:\home\site\wwwroot\webapps” -jar “D:\Program Files (x86)\jetty-distribution-9.3.25.v20180904\start.jar” etc\jetty-logging.xml”,
“azureJetty93Home”: “D:\Program Files (x86)\jetty-distribution-9.3.25.v20180904”,
“azureJetty9Cmdline”: “-Djava.net.preferIPv4Stack=true -Djetty.port=%HTTP_PLATFORM_PORT% -Djetty.base=“D:\Program Files (x86)\jetty-distribution-9.1.0.v20131115” -Djetty.webapps=“d:\home\site\wwwroot\webapps” -jar “D:\Program Files (x86)\jetty-distribution-9.1.0.v20131115\start.jar” etc\jetty-logging.xml”,
“azureJetty9Home”: “D:\Program Files (x86)\jetty-distribution-9.1.0.v20131115”,
“azureTomcat7Cmdline”: “-Dport.http=%HTTP_PLATFORM_PORT% -Djava.util.logging.config.file=“D:\Program Files (x86)\apache-tomcat-7.0.50\conf\logging.properties” -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dsite.logdir=“d:/home/LogFiles/” -Dsite.tempdir=“d:\home\site\workdir” -classpath “D:\Program Files (x86)\apache-tomcat-7.0.50\bin\bootstrap.jar;D:\Program Files (x86)\apache-tomcat-7.0.50\bin\tomcat-juli.jar” -Dcatalina.base=“D:\Program Files (x86)\apache-tomcat-7.0.50” -Djava.io.tmpdir=“d:\home\site\workdir” org.apache.catalina.startup.Bootstrap”,
“azureTomcat7Home”: “D:\Program Files (x86)\apache-tomcat-7.0.50”,
“azureTomcat85Cmdline”: “-noverify -Djava.net.preferIPv4Stack=true -Dcatalina.instance.name=%WEBSITE_INSTANCE_ID% -Dport.http=%HTTP_PLATFORM_PORT% -Djava.util.logging.config.file=“D:\Program Files (x86)\apache-tomcat-8.5.37\conf\logging.properties” -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dsite.logdir=“d:/home/LogFiles/” -Dsite.tempdir=“d:\home\site\workdir” -classpath “D:\Program Files (x86)\apache-tomcat-8.5.37\bin\bootstrap.jar;D:\Program Files (x86)\apache-tomcat-8.5.37\bin\tomcat-juli.jar” -Dcatalina.base=“D:\Program Files (x86)\apache-tomcat-8.5.37” -Djava.io.tmpdir=“d:\home\site\workdir” org.apache.catalina.startup.Bootstrap”,
“azureTomcat85Home”: “D:\Program Files (x86)\apache-tomcat-8.5.37”,
“azureTomcat8Cmdline”: “-Dport.http=%HTTP_PLATFORM_PORT% -Djava.util.logging.config.file=“D:\Program Files (x86)\apache-tomcat-8.0.23\conf\logging.properties” -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dsite.logdir=“d:/home/LogFiles/” -Dsite.tempdir=“d:\home\site\workdir” -classpath “D:\Program Files (x86)\apache-tomcat-8.0.23\bin\bootstrap.jar;D:\Program Files (x86)\apache-tomcat-8.0.23\bin\tomcat-juli.jar” -Dcatalina.base=“D:\Program Files (x86)\apache-tomcat-8.0.23” -Djava.io.tmpdir=“d:\home\site\workdir” org.apache.catalina.startup.Bootstrap”,
“azureTomcat8Home”: “D:\Program Files (x86)\apache-tomcat-8.0.23”,
“azureTomcat90Cmdline”: “-noverify -Djava.net.preferIPv4Stack=true -Dcatalina.instance.name=%WEBSITE_INSTANCE_ID% -Dport.http=%HTTP_PLATFORM_PORT% -Djava.util.logging.config.file=“D:\Program Files (x86)\apache-tomcat-9.0.14\conf\logging.properties” -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dsite.logdir=“d:/home/LogFiles/” -Dsite.tempdir=“d:\home\site\workdir” -classpath “D:\Program Files (x86)\apache-tomcat-9.0.14\bin\bootstrap.jar;D:\Program Files (x86)\apache-tomcat-9.0.14\bin\tomcat-juli.jar” -Dcatalina.base=“D:\Program Files (x86)\apache-tomcat-9.0.14” -Djava.io.tmpdir=“d:\home\site\workdir” org.apache.catalina.startup.Bootstrap”,
“azureTomcat90Home”: “D:\Program Files (x86)\apache-tomcat-9.0.14”,
“commonprogramfiles”: “D:\Program Files\Common Files”,
“commonprogramfiles(x86)”: “D:\Program Files (x86)\Common Files”,
“commonprogramw6432”: “D:\Program Files\Common Files”,
“computername”: “RD0003FF8F7BF3”,
“comspec”: “D:\Windows\system32\cmd.exe”,
“content:maxresults”: “200”,
“contentscontroller:enablesurrogatekeys”: “True”,
“contentscontroller:maxitemsforsurrogatekeys”: “200”,
“dotnetHostingOptimizationCache”: “D:\DotNetCache”,
“etags:strong”: “False”,
“eventpublishers:alltorabbitmq:configuration”: “amqp://guest:guest@localhost/”,
“eventpublishers:alltorabbitmq:enabled”: “False”,
“eventpublishers:alltorabbitmq:eventsfilter”: “.",
“eventpublishers:alltorabbitmq:exchange”: “squidex”,
“eventpublishers:alltorabbitmq:type”: “RabbitMq”,
“eventstore:cosmosdb:configuration”: “https://localhost:8081”,
“eventstore:cosmosdb:database”: “Squidex”,
“eventstore:cosmosdb:masterkey”: “C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==”,
“eventstore:geteventstore:configuration”: “ConnectTo=tcp://admin:changeit@localhost:1113; HeartBeatTimeout=500; MaxReconnections=-1”,
“eventstore:geteventstore:prefix”: “squidex”,
“eventstore:geteventstore:projectionhost”: “localhost”,
“eventstore:mongodb:configuration”: “mongodb://”,
“eventstore:mongodb:database”: “Squidex”,
“eventstore:type”: “MongoDb”,
“healthz:gc:threshold”: “4096”,
“home”: “D:\home”,
“homeExpanded”: “C:\DWASFiles\Sites\avinor-community-cms-stage\VirtualDirectory0”,
“identity:adminclientid”: “avinor-community:admin”,
“identity:adminclientsecret”: “QEZqGVidRh/vCRdeChFLxy8rOFI4I0MdgYYho056E84=”,
“identity:adminemail”: “”,
“identity:adminpassword”: “”,
“identity:allowpasswordauth”: “True”,
“identity:githubclient”: “”,
“identity:githubsecret”: “”,
“identity:googleclient”: “”,
“identity:googlesecret”: “”,
“identity:lockautomatically”: “False”,
“identity:microsoftclient”: “”,
“identity:microsoftsecret”: “”,
“identity:oidcauthority”: “”,
“identity:oidcclient”: “”,
“identity:oidcname”: “OIDC”,
“identity:oidcsecret”: “”,
“identity:privacyurl”: “https://squidex.io/privacy”,
“javaHome”: “D:\Program Files\Java\zulu8.31.0.2-jre8.0.181-win_x64”,
“localappdata”: “D:\local\LocalAppData”,
“localExpanded”: “C:\DWASFiles\Sites\avinor-community-cms-stage”,
“logging:colors”: “True”,
“logging:human”: “True”,
“microsoftappinsightsManagedhttpmodulepath”: “D:\Program Files (x86)\SiteExtensions\ApplicationInsightsAgent\2.8.12\fmk\Microsoft.ApplicationInsights.RedfieldIISModule.dll”,
“microsoftappinsightsManagedhttpmoduletype”: “Microsoft.ApplicationInsights.RedfieldIISModule.RedfieldIISModule”,
“mode:isreadonly”: “False”,
“news:appname”: “squidex-website”,
“news:clientid”: “squidex-website:default”,
“news:clientsecret”: “QGgqxd7bDHBTEkpC6fj8sbdPWgZrPrPfr3xzb3LKoec=”,
“numberOfProcessors”: “1”,
“orleans:clustering”: “MongoDb”,
“orleans:gatewayport”: “40000”,
“orleans:siloport”: “11111”,
“os”: “Windows_NT”,
“path”: “D:\Program Files (x86)\nodejs;D:\Windows\system32;D:\Windows;D:\Windows\System32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.0\;D:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;D:\Program Files (x86)\dotnet;D:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\PHP\v5.6;D:\Python27;”,
“pathext”: “.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW”,
“plugins:0”: “Squidex.Extensions.dll”,
“processorArchitecture”: “AMD64”,
“processorIdentifier”: “Intel64 Family 6 Model 45 Stepping 7, GenuineIntel”,
“processorLevel”: “6”,
“processorRevision”: “2d07”,
“programdata”: “D:\local\ProgramData”,
“programfiles”: “D:\Program Files”,
“programfiles(x86)”: “D:\Program Files (x86)”,
“programw6432”: “D:\Program Files”,
“psmodulepath”: “D:\Program Files\WindowsPowerShell\Modules;D:\Windows\system32\WindowsPowerShell\v1.0\Modules;D:\Program Files\WindowsPowerShell\Modules\;D:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\;D:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\;D:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Storage\;D:\Program Files\Microsoft Message Analyzer\PowerShell\”,
“public”: “D:\Users\Public”,
“rebuild:apps”: “False”,
“rebuild:assets”: “False”,
“rebuild:contents”: “False”,
“rebuild:rules”: “False”,
“rebuild:schemas”: “False”,
“regionName”: “West Europe”,
“remotedebuggingbitversion”: “vx64”,
“remotedebuggingport”: “”,
“remotedebuggingversion”: “15.0.28010.00”,
“robots:text”: “User-agent: \nAllow: /api/assets/”,
“scmtype”: “None”,
“siteBitness”: “AMD64”,
“store:mongodb:configuration”: “”,
“store:mongodb:contentdatabase”: “SquidexContent”,
“store:mongodb:database”: “Squidex”,
“store:mongodb:iscosmosdb”: “false”,
“store:type”: “MongoDb”,
“systemdrive”: “D:”,
“systemroot”: “D:\Windows”,
“temp”: “D:\local\Temp”,
“tmp”: “D:\local\Temp”,
“translations:deeplauthkey”: “”,
“ui:map:googlemaps:key”: “AIzaSyCkjO2u4NWa8tQ5ngZ3Mc4RB8wSlP3zIH8”,
“ui:map:type”: “OSM”,
“ui:onlyadminscancreateapps”: “True”,
“ui:regexsuggestions:email”: "^[a-zA-Z0-9.!#$%&’
+\/=?^`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)$",
“ui:regexsuggestions:phone”: "^\(
\+[1-9]{0,3}\)-[1-9]{0,3}[-. /]\([2-9]\d{2}\)[-. /]\d{3}[-. /]\d{4} ext\.* \d{0,4}$",
“ui:regexsuggestions:slug”: "^[a-z0-9]+(\-[a-z0-9]+)
$",
“ui:regexsuggestions:url”: "^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\.
~:\/?#%[\]@!\$&’\(\)\*\+,;=.]+$”,
“urls:baseurl”: “https://avinor-community-cms-stage.azurewebsites.net”,
“urls:enforcehttps”: “True”,
“userdomain”: “WORKGROUP”,
“username”: “RD0003FF8F7BF3$”,
“userprofile”: “D:\local\UserProfile”,
“websiteAuthAutoAad”: “False”,
“websiteAuthEnabled”: “False”,
“websiteAuthEncryptionKey”: “51CC56DCD5882868E96638FB83DDB7608990911B736CBBD760094DE428571FD7”,
“websiteAuthLogoutPath”: “/.auth/logout”,
“websiteAuthSigningKey”: “EAF89E79638A57EE0255CD7B3828795690FA96A3402969A9B43EC69A32A19C3B”,
“websiteComputeMode”: “Dedicated”,
“websiteContainerReady”: “1”,
“websiteCurrentStampname”: “waws-prod-am2-247b”,
“websiteDynamicCache”: “1”,
“websiteElasticScalingEnabled”: “0”,
“websiteFrameworkJit”: “1”,
“websiteHomeStampname”: “waws-prod-am2-247”,
“websiteHostname”: “avinor-community-cms-stage.azurewebsites.net”,
“websiteHttploggingEnabled”: “0”,
“websiteIisSiteName”: “avinor-community-cms-stage”,
“websiteInstanceId”: “dea2a9304b96326b7deb28db1bf9cdd4ca32a0f5821e65ba38d02f42bc801b16”,
“websiteLocalcacheEnabled”: “False”,
“websiteOwnerName”: “517c7578-fda3-4b99-b783-c39905ad0326+Avinor-Resource-STAGE-WestEuropewebspace”,
“websiteProactiveAutohealEnabled”: “True”,
“websiteRelays”: “”,
“websiteResourceGroup”: “avinor-resource-stage”,
“websiteRewriteTable”: “”,
“websiteScmAlwaysOnEnabled”: “0”,
“websiteScmSeparateStatus”: “1”,
“websiteSiteName”: “avinor-community-cms-stage”,
“websiteSku”: “Basic”,
“websiteVolumeType”: “PrimaryStorageVolume”,
“websocketConcurrentRequestLimit”: “350”,
“windir”: “D:\Windows”,
“windowsTracingFlags”: “”,
“windowsTracingLogfile”: “”,
“xdtMicrosoftapplicationinsightsMode”: “default”,
“xenon”: “0”
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:15Z”
}

{
“logLevel”: “Information”,
“message”: “Starting IdentityServer4 version 2.4.0.0”,
“version”: “2.4.0.0”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:18Z”,
“category”: “IdentityServer4.Startup”
}

{
“logLevel”: “Information”,
“message”: “Using the default authentication scheme Identity.Application for IdentityServer”,
“scheme”: “Identity.Application”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:18Z”,
“category”: “IdentityServer4.Startup”
}

{
“logLevel”: “Information”,
“action”: “pluginsLoaded”,
“status”: “Completed”,
“errors”: [],
“plugins”: [
“Squidex.Extensions.Samples.MemoryAssetStorePlugin”,
“Squidex.Extensions.Actions.Webhook.WebhookPlugin”,
“Squidex.Extensions.Actions.Twitter.TwitterPlugin”,
“Squidex.Extensions.Actions.Slack.SlackPlugin”,
“Squidex.Extensions.Actions.Prerender.PrerenderPlugin”,
“Squidex.Extensions.Actions.Medium.MediumPlugin”,
“Squidex.Extensions.Actions.Fastly.FastlyPlugin”,
“Squidex.Extensions.Actions.Email.EmailPlugin”,
“Squidex.Extensions.Actions.ElasticSearch.ElasticSearchPlugin”,
“Squidex.Extensions.Actions.Discourse.DiscoursePlugin”,
“Squidex.Extensions.Actions.AzureQueue.AzureQueuePlugin”,
“Squidex.Extensions.Actions.Algolia.AlgoliaPlugin”
],
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:18Z”
}

{
“logLevel”: “Information”,
“message”: “Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration”,
“endpointType”: “IdentityServer4.Endpoints.DiscoveryEndpoint”,
“url”: “/.well-known/openid-configuration”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “0f28003f-fe58-43cf-9c49-18af3f14b626”,
“requestPath”: “/.well-known/openid-configuration”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:23Z”,
“category”: “IdentityServer4.Hosting.IdentityServerMiddleware”
}

{
“logLevel”: “Information”,
“filters”: {
“costs”: 0.0
},
“elapsedRequestMs”: 1065,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “0f28003f-fe58-43cf-9c49-18af3f14b626”,
“requestPath”: “/identity-server/.well-known/openid-configuration”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:24Z”
}

{
“logLevel”: “Information”,
“message”: “Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryKeyEndpoint for /.well-known/openid-configuration/jwks”,
“endpointType”: “IdentityServer4.Endpoints.DiscoveryKeyEndpoint”,
“url”: “/.well-known/openid-configuration/jwks”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “0a551336-4e74-46e1-89a1-6deb69168ef9”,
“requestPath”: “/.well-known/openid-configuration/jwks”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:24Z”,
“category”: “IdentityServer4.Hosting.IdentityServerMiddleware”
}

{
“logLevel”: “Information”,
“filters”: {
“costs”: 0.0
},
“elapsedRequestMs”: 170,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “0a551336-4e74-46e1-89a1-6deb69168ef9”,
“requestPath”: “/identity-server/.well-known/openid-configuration/jwks”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:25Z”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:25Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:26Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Information”,
“action”: “ActivateDomainObject”,
“domainObjectType”: “AppGrain”,
“domainObjectKey”: “7ceceb42-4c16-4adb-baa9-0d7263ed6e57”,
“elapsedMs”: 761,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:27Z”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:28Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:28Z”,
“category”: “Orleans.Runtime.Catalog”
}

Last part of logs

Logs 2/2

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:28Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “Silo Squidex restarted on same host RD0003FF8F7BF3 New silo address = S10.0.6.168:11111:292493357 Previous silo address = S10.0.6.168:11111:292493304”,
“eventId”: {
“id”: 100602
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:29Z”,
“category”: “Orleans.Runtime.MembershipService.MembershipOracleData”
}

{
“logLevel”: “Information”,
“action”: “ActivateDomainObject”,
“domainObjectType”: “SchemaGrain”,
“domainObjectKey”: “4d8a6c69-2bf4-46ed-bb17-3eec931b79f0”,
“elapsedMs”: 332,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:29Z”
}

{
“logLevel”: “Information”,
“profiler”: {
“appProvider/GetAppAsync”: {
“elapsedMsTotal”: 2009,
“elapsedMsAvg”: 2009,
“count”: 1
},
“appProvider/GetSchemaAsyncById”: {
“elapsedMsTotal”: 1142,
“elapsedMsAvg”: 1142,
“count”: 1
},
“appProvider/GetSchemaIdAsync”: {
“elapsedMsTotal”: 251,
“elapsedMsAvg”: 251,
“count”: 1
},
“ExecuteResult”: {
“elapsedMsTotal”: 427,
“elapsedMsAvg”: 427,
“count”: 1
},
“ExecuteAction”: {
“elapsedMsTotal”: 1678,
“elapsedMsAvg”: 1678,
“count”: 1
},
“appProvider/GetSchemaAsyncByName”: {
“elapsedMsTotal”: 1418,
“elapsedMsAvg”: 1418,
“count”: 1
},
“appProvider/GetAppIdAsync”: {
“elapsedMsTotal”: 1068,
“elapsedMsAvg”: 1068,
“count”: 1
},
“mongoSnapshotStore`2/ReadAsync”: {
“elapsedMsTotal”: 851,
“elapsedMsAvg”: 212,
“count”: 4
},
“mongoEventStore/QueryAsync”: {
“elapsedMsTotal”: 469,
“elapsedMsAvg”: 234,
“count”: 2
}
},
“filters”: {
“appId”: “7ceceb42-4c16-4adb-baa9-0d7263ed6e57”,
“appName”: “avinor-community”,
“userId”: “5bdaa403ee9a0215ecaffc19”,
“clientId”: “squidex-frontend”,
“costs”: 0.0
},
“elapsedRequestMs”: 9256,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:29Z”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:30Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:30Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “AllActiveSilos SiloStatusOracle.GetApproximateSiloStatuses empty”,
“eventId”: {
“id”: 100506
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:30Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Information”,
“backgroundSystem”: “Squidex.Domain.Apps.Entities.Contents.IContentSchedulerGrain”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:33Z”
}

{
“logLevel”: “Information”,
“backgroundSystem”: “Squidex.Domain.Apps.Entities.Rules.IRuleDequeuerGrain”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:33Z”
}

{
“logLevel”: “Information”,
“profiler”: {
“contentQueryService/ParseQuery”: {
“elapsedMsTotal”: 1044,
“elapsedMsAvg”: 1044,
“count”: 1
},
“appProvider/GetAppAsync”: {
“elapsedMsTotal”: 120,
“elapsedMsAvg”: 120,
“count”: 1
},
“appProvider/GetSchemaAsyncById”: {
“elapsedMsTotal”: 181,
“elapsedMsAvg”: 181,
“count”: 1
},
“appProvider/GetSchemaIdAsync”: {
“elapsedMsTotal”: 176,
“elapsedMsAvg”: 176,
“count”: 1
},
“mongoContentRepository/QueryAsyncByQuery”: {
“elapsedMsTotal”: 2305,
“elapsedMsAvg”: 2305,
“count”: 1
},
“contentQueryService/QueryAsync”: {
“elapsedMsTotal”: 3425,
“elapsedMsAvg”: 3425,
“count”: 1
},
“CheckUsage”: {
“elapsedMsTotal”: 210,
“elapsedMsAvg”: 210,
“count”: 1
},
“ExecuteResult”: {
“elapsedMsTotal”: 38,
“elapsedMsAvg”: 38,
“count”: 1
},
“ExecuteAction”: {
“elapsedMsTotal”: 4214,
“elapsedMsAvg”: 4214,
“count”: 1
},
“CalculateEtag”: {
“elapsedMsTotal”: 6,
“elapsedMsAvg”: 6,
“count”: 1
},
“appProvider/GetSchemaAsyncByName”: {
“elapsedMsTotal”: 358,
“elapsedMsAvg”: 358,
“count”: 1
},
“appProvider/GetAppIdAsync”: {
“elapsedMsTotal”: 50,
“elapsedMsAvg”: 50,
“count”: 1
},
“contentQueryService/TransformCore”: {
“elapsedMsTotal”: 39,
“elapsedMsAvg”: 39,
“count”: 1
}
},
“filters”: {
“appId”: “7ceceb42-4c16-4adb-baa9-0d7263ed6e57”,
“appName”: “avinor-community”,
“userId”: “5bdaa403ee9a0215ecaffc19”,
“clientId”: “squidex-frontend”,
“costs”: 1.0
},
“elapsedRequestMs”: 4449,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “55e4ce8b-d813-4d2b-8240-59326279e8a4”,
“requestPath”: “/api/content/avinor-community/services”,
“requestMethod”: “GET”
},
“timestamp”: “2019-04-09T08:09:34Z”
}

{
“logLevel”: “Information”,
“backgroundSystem”: “Squidex.Infrastructure.EventSourcing.Grains.IEventConsumerManagerGrain”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”
}

Hosting environment: Production;Production
Content root path: D:\home\site\wwwroot
Application started. Press Ctrl+C to shut down.
{
“logLevel”: “Information”,
“backgroundSystem”: “Squidex.Domain.Apps.Entities.Rules.UsageTracking.IUsageTrackerGrain”,
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”
}

{
“logLevel”: “Fatal”,
“message”: “An error occurred starting the application”,
“eventId”: {
“id”: 9
},
“exception”: {
“type”: “System.AggregateException”,
“message”: “One or more errors occurred. (Cannot access directory D:\Windows\system32\Assets)”,
“stackTrace”: " at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.ExecuteAsync(Func`2 callback)\r\n at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.StartAsync(CancellationToken token)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor”
}

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #60: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “UnregisterManyAsync 1 failed.”,
“eventId”: {
“id”: 100502
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterOrPutInForwardList(IEnumerable1 addresses, UnregistrationCause cause, Int32 hopCount, Dictionary2& forward, List1 tasks, String context)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterManyAsync(List1 addresses, UnregistrationCause cause, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem.Execute()\r\n at Orleans.Runtime.Catalog.FinishDestroyActivations(List`1 list, Int32 number, MultiTaskCompletionSource tcs)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Warning”,
“message”: “UnregisterManyAsync 14 failed.”,
“eventId”: {
“id”: 100502
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterOrPutInForwardList(IEnumerable1 addresses, UnregistrationCause cause, Int32 hopCount, Dictionary2& forward, List1 tasks, String context)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.UnregisterManyAsync(List1 addresses, UnregistrationCause cause, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem.Execute()\r\n at Orleans.Runtime.Catalog.FinishDestroyActivations(List`1 list, Int32 number, MultiTaskCompletionSource tcs)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:35Z”,
“category”: “Orleans.Runtime.Catalog”
}

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:36Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #61: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:36Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Error”,
“message”: “SelectTarget failed with Grain directory is stopping”,
“eventId”: {
“id”: 100071
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.LookupAsync(GrainId grainId, Int32 hopCount)\r\n at Orleans.Runtime.Scheduler.AsyncClosureWorkItem`1.Execute()\r\n at Orleans.Runtime.Placement.RandomPlacementDirector.OnSelectActivation(PlacementStrategy strategy, GrainId target, IPlacementRuntime context)\r\n at Orleans.Runtime.Placement.PlacementDirectorsManager.SelectOrAddActivation(ActivationAddress sendingAddress, PlacementTarget targetGrain, IPlacementRuntime context, PlacementStrategy strategy)\r\n at Orleans.Runtime.Dispatcher.AddressMessageAsync(Message message, PlacementTarget target, PlacementStrategy strategy, ActivationAddress targetAddress)\r\n at Orleans.Runtime.Dispatcher.<>c__DisplayClass37_0.<b__1>d.MoveNext()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Warning”,
“message”: “Discarding OneWay rejection for message OneWay S10.0.6.168:11111:292493357*cli/c4a7d4a4@567612ba->*grn/FFE8F7B3/00000000 #62: . Exc = Grain directory is stopping”,
“eventId”: {
“id”: 101002
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“web”: {
“requestId”: “db24faf3-afb9-4979-84d9-057f10138f30”,
“requestPath”: “/api/apps/avinor-community/schemas/services”,
“requestMethod”: “GET”,
“routeValues”: {
“area”: “Api”,
“action”: “GetSchema”,
“controller”: “Schemas”
}
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.Dispatcher”
}

{
“logLevel”: “Error”,
“message”: “Directory.RegisterAsync S10.0.6.168:11111:292493357*cli/c4a7d4a4@2cbedb68 failed.”,
“eventId”: {
“id”: 101317
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.RegisterAsync(ActivationAddress address, Boolean singleActivation, Int32 hopCount)\r\n at Orleans.OrleansTaskExtentions.LogException(Task task, ILogger logger, ErrorCode errorCode, String message)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.ClientObserverRegistrar”
}

{
“logLevel”: “Error”,
“message”: “OnClientRefreshTimer has thrown an exceptions.”,
“eventId”: {
“id”: 101319
},
“exception”: {
“type”: “System.InvalidOperationException”,
“message”: “Grain directory is stopping”,
“stackTrace”: " at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.CheckIfShouldForward(GrainId grainId, Int32 hopCount, String operationDescription)\r\n at Orleans.Runtime.GrainDirectory.LocalGrainDirectory.RegisterAsync(ActivationAddress address, Boolean singleActivation, Int32 hopCount)\r\n at Orleans.OrleansTaskExtentions.LogException(Task task, ILogger logger, ErrorCode errorCode, String message)\r\n at Orleans.Runtime.ClientObserverRegistrar.OnClientRefreshTimer(Object data)"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:37Z”,
“category”: “Orleans.Runtime.ClientObserverRegistrar”
}

{
“logLevel”: “Error”,
“message”: “RunClientMessagePump has thrown exception”,
“eventId”: {
“id”: 100326
},
“exception”: {
“type”: “System.OperationCanceledException”,
“message”: “The operation was canceled.”,
“stackTrace”: " at System.Collections.Concurrent.BlockingCollection1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)\r\n at System.Collections.Concurrent.BlockingCollection1.TryTake(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at System.Collections.Concurrent.BlockingCollection`1.Take(CancellationToken cancellationToken)\r\n at Orleans.Runtime.HostedClient.RunClientMessagePump()"
},
“app”: {
“name”: “Squidex”,
“version”: “1.0.0.0”,
“sessionId”: “84775a58-2a90-4513-b0c8-49f36e6c7d50”
},
“timestamp”: “2019-04-09T08:09:38Z”,
“category”: “Orleans.Runtime.HostedClient”
}

Application is shutting down…

Can you also upload them as a file somewhere, so that the formatting is kept?

Btw: I would use AzureBlob storage for assets

Here is the uploaded file. I’m using AzureBlob storage but just hiding it in the log.

I have seen this:

{
  "logLevel": "Fatal",
  "message": "An error occurred starting the application",
  "eventId": {
    "id": 9
  },
  "exception": {
    "type": "System.AggregateException",
    "message": "One or more errors occurred. (Cannot access directory D:\\Windows\\system32\\Assets)",
    "stackTrace": "   at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.ExecuteAsync(Func`2 callback)\r\n   at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.StartAsync(CancellationToken token)"
  },
  "app": {
    "name": "Squidex",
    "version": "1.0.0.0",
    "sessionId": "84775a58-2a90-4513-b0c8-49f36e6c7d50"
  },
  "timestamp": "2019-04-09T08:09:35Z",
  "category": "Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor"
}

this is the real issue I think.

and also

"assetstore:type": "Folder" in the config.

1 Like

Thank you very much. Changed asset type to azureBlob fixed the problem.

1 Like