[SOLVED] Save as Draft content is Gone!

I have…

  • [ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

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

Save content updates as draft is gone!!

Expected behavior

Possibility to save content updates as draft

Minimal reproduction of the problem

Environment

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

Version: [4.2.0 beta 2]

Browser:

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

Hi,the feature is not one, you should see it on the side panel. There is a green button to create a new version:

After the update all my content in squidex UI are empty and there is not button create for draft version (screen shot joint).

Can you try the newest dev version?

Perhaps you also have to go to the migration collection and set the version to 20:

image

I’m in the newest dev version and it seems there is Fatal error in migration (log part join).

{

“logLevel”: “Information”,

“action”: “FolderAssetStoreConfigured”,

“path”: “C:\Webs\squidex\assets”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “FolderAssetStore”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoEventStore”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “SerializationInitializer”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoMigrationStatus”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoRequestLogRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoUsageRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoRuleEventRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoHistoryEventRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoRoleStore”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoUserStore”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoAssetRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoAssetFolderRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoContentRepository”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoTextIndexerState”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “MongoPersistedGrantStore”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“initializedSystem”: “LanguagesInitializer”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:39Z”

}

{

“logLevel”: “Information”,

“action”: “Migration”,

“status”: “Started”,

“migrator”: “Migrate_01.Migrations.StopEventConsumers”,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:40Z”

}

{

“logLevel”: “Error”,

“message”: "Error creating activation for Squidex.Infrastructure.EventSourcing.Grains.EventConsumerManagerGrain. Message NewPlacement Request S127.0.0.1:11111:322077458cli/81e67282@d8732bb7-\u003ES127.0.0.1:11111:322077458grn/89DA8F81/00000000\u002BDefault@ce54949a #13: ",

“eventId”: {

"id": 101540

},

“exception”: {

"type": "System.TypeLoadException",

"message": "Could not load type \u0027Algolia.Search.Index\u0027 from assembly \u0027Algolia.Search, Version=6.5.1.0, Culture=neutral, PublicKeyToken=null\u0027.",

"stackTrace": "   at Squidex.Extensions.Actions.Algolia.AlgoliaActionHandler..ctor(RuleEventFormatter formatter)\r\n   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)\r\n   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.\u003C\u003Ec__DisplayClass1_0.\u003CRealizeService\u003Eb__0(ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\r\n   at Microsoft.Extensions.DependencyInjection.DependencyInjectionExtensions.InterfaceRegistrator\u00601.\u003C\u003Ec__5\u00601.\u003CAs\u003Eb__5_0(IServiceProvider c) in C:\\Users\\HATEM-LENOVO\\source\\repos\\squidex-master-git\\backend\\src\\Squidex.Infrastructure\\DependencyInjection\\DependencyInjectionExtensions.cs:line 61\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.\u003C\u003Ec__DisplayClass1_0.\u003CRealizeService\u003Eb__0(ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)\r\n   at Microsoft.Extensions.DependencyInjection.DependencyInjectionExtensions.InterfaceRegistrator\u00601.\u003C\u003Ec__5\u00601.\u003CAs\u003Eb__5_0(IServiceProvider c) in C:\\Users\\HATEM-LENOVO\\source\\repos\\squidex-master-git\\backend\\src\\Squidex.Infrastructure\\DependencyInjection\\DependencyInjectionExtensions.cs:line 61\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor\u00602.VisitCallSite(ServiceCallSite callSite, TArgument argument)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.\u003C\u003Ec__DisplayClass1_0.\u003CRealizeService\u003Eb__0(ServiceProviderEngineScope scope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)\r\n   at lambda_method(Closure , IServiceProvider , Object[] )\r\n   at Orleans.Runtime.DefaultGrainActivator.Create(IGrainActivationContext context)\r\n   at Orleans.Runtime.GrainCreator.CreateGrainInstance(IGrainActivationContext context)\r\n   at Orleans.Runtime.Catalog.CreateGrainInstance(String grainTypeName, ActivationData data, String genericArguments)\r\n   at Orleans.Runtime.Catalog.SetupActivationInstance(ActivationData result, String grainType, String genericArguments)\r\n   at Orleans.Runtime.Catalog.GetOrCreateActivation(ActivationAddress address, Boolean newPlacement, String grainType, String genericArguments, Dictionary\u00602 requestContextData, Task\u0026 activatedPromise)\r\n   at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message)"

},

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:40Z”,

“category”: “Orleans.Runtime.Dispatcher”

}

{

“logLevel”: “Information”,

“action”: “Migration”,

“status”: “Completed”,

“migrator”: “Migrate_01.Migrations.StopEventConsumers”,

“elapsedMs”: 305,

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:40Z”

}

{

“logLevel”: “Fatal”,

“action”: “Migration”,

“status”: “Failed”,

“migrator”: “Migrate_01.Migrations.StopEventConsumers”,

“exception”: {

"type": "Orleans.Runtime.OrleansException",

"message": "Error creating activation for Squidex.Infrastructure.EventSourcing.Grains.EventConsumerManagerGrain. Message NewPlacement Request S127.0.0.1:11111:322077458*cli/81e67282@d8732bb7-\u003ES127.0.0.1:11111:322077458*grn/89DA8F81/00000000\u002BDefault@ce54949a #13: ",

"stackTrace": "   at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in C:\\Users\\HATEM-LENOVO\\source\\repos\\squidex-master-git\\backend\\src\\Squidex.Infrastructure\\Migrations\\Migrator.cs:line 78"

},

“app”: {

"name": "Squidex",

"version": "1.0.0.0",

"sessionId": "88f400f1-02c0-40f6-8e57-3a19de5db9e7"

},

“timestamp”: “2020-03-16T17:57:40Z”

}

Unhandled exception. Squidex.Infrastructure.Migrations.MigrationFailedException: Failed to run migration ‘Migrate_01.Migrations.StopEventConsumers’

—> Orleans.Runtime.OrleansException: Error creating activation for Squidex.Infrastructure.EventSourcing.Grains.EventConsumerManagerGrain. Message NewPlacement Request S127.0.0.1:11111:322077458cli/81e67282@d8732bb7->S127.0.0.1:11111:322077458grn/89DA8F81/00000000+Default@ce54949a #13:

—> System.TypeLoadException: Could not load type ‘Algolia.Search.Index’ from assembly ‘Algolia.Search, Version=6.5.1.0, Culture=neutral, PublicKeyToken=null’.

at Squidex.Extensions.Actions.Algolia.AlgoliaActionHandler…ctor(RuleEventFormatter formatter)

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)

at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)

at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)

at Microsoft.Extensions.DependencyInjection.DependencyInjectionExtensions.InterfaceRegistrator1.<>c__51.b__5_0(IServiceProvider c) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex.Infrastructure\DependencyInjection\DependencyInjectionExtensions.cs:line 61

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)

at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)

at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)

at Microsoft.Extensions.DependencyInjection.DependencyInjectionExtensions.InterfaceRegistrator1.<>c__51.b__5_0(IServiceProvider c) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex.Infrastructure\DependencyInjection\DependencyInjectionExtensions.cs:line 61

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)

at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)

at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)

at lambda_method(Closure , IServiceProvider , Object[] )

at Orleans.Runtime.DefaultGrainActivator.Create(IGrainActivationContext context)

at Orleans.Runtime.GrainCreator.CreateGrainInstance(IGrainActivationContext context)

at Orleans.Runtime.Catalog.CreateGrainInstance(String grainTypeName, ActivationData data, String genericArguments)

at Orleans.Runtime.Catalog.SetupActivationInstance(ActivationData result, String grainType, String genericArguments)

at Orleans.Runtime.Catalog.GetOrCreateActivation(ActivationAddress address, Boolean newPlacement, String grainType, String genericArguments, Dictionary`2 requestContextData, Task& activatedPromise)

at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message)

— End of inner exception stack trace —

at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message)

— End of stack trace from previous location where exception was thrown —

at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex.Infrastructure\Migrations\Migrator.cs:line 78

— End of inner exception stack trace —

at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex.Infrastructure\Migrations\Migrator.cs:line 88

at Squidex.Infrastructure.Migrations.Migrator.MigrateAsync(CancellationToken ct) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex.Infrastructure\Migrations\Migrator.cs:line 97

at Squidex.Config.Startup.SafeHostedService.StartAsync(CancellationToken cancellationToken) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex\Config\Startup\SafeHostedService.cs:line 30

at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)

at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)

at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)

at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)

at Squidex.Program.Main(String[] args) in C:\Users\HATEM-LENOVO\source\repos\squidex-master-git\backend\src\Squidex\Program.cs:line 23

You are building it yourself, I guess? If you want you can also send me a backup of your DB.

Yes no problem, but also i cannot do a backup

I mean a full MongoDB backup of your database. Which exception do you get on backups?

Hi Sebastien, I resolved my issue with upgrading to the last version it was a problem in my publish.

But now I’m confused with the new working method of draft, so I don’t have a duplicated data (data Draft) to content anymore but just a new status when I create a draft.

Can you explain to me the new working method please with some example if you can?

Thank you!

It is almost the same behavior as before. When you create a new version the data is the same, but when you click Save the new version gets updated and the old version stays the same.

The big difference to before is that the new version has the same workflow as the current version, I have explained the detail here:

https://support.squidex.io/t/content-revisions-versions/1625/7

The only difference to the concept that only 2 versions are supported. One “published” version and the other “working” or “draft” version.