Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vincent 1 post 71 karma points
    May 09, 2022 @ 08:09
    Vincent
    0

    Upgrade to V10-RC1 Error

    Hi,

    Newbie here, We have a new Umbraco project that we would like to launch in 2 or 3 months. We saw that it was a good option to use V10-RC1 for that. At the moment the project is running 9.5 but when we upgrade it to V10 and follow the steps we get the following Error:

    Method not found: 'Umbraco.Cms.Infrastructure.Migrations.ExecutedMigrationPlan Umbraco.Cms.Infrastructure.Migrations.Upgrade.Upgrader.Execute(Umbraco.Cms.Core.Migrations.IMigratiowatch : Exited with error code 134

    Hope anybody can help with this error. We went back to V9.5 wich works for now.

  • Mike Isaacs 1 post 71 karma points
    May 13, 2022 @ 16:06
    Mike Isaacs
    0

    I had this same issue on a project upgrade to v10. For me, the issue was USync - once I'd removed the package the project started up fine.

    I just tried installing the latest USync version on a clean Umbraco 10 project (straight from the dotnet template) and I get the same error.

  • Jamie Pollock 174 posts 853 karma points c-trib
    May 13, 2022 @ 16:33
    Jamie Pollock
    0

    Hey Mike, This is hilarious. I was upgrading our project this morning to v10-rc1 and stumbled on this thread earlier today. Found the issue was uSync about 30 minutes ago and was going to report back.

    For now v9.3.2 should work with v10-RC1. The issue is v9.4.0 came with the new FirstBoot feature which adds a migration and migrations changed in v10 ever so slightly. I've created an issue for this here: https://github.com/KevinJump/uSync/issues/390

  • Carlos Rey 13 posts 107 karma points
    May 13, 2022 @ 16:42
    Carlos Rey
    0

    Ive run into this issue with other packages too....

  • Carlos Rey 13 posts 107 karma points
    May 13, 2022 @ 16:51
    Carlos Rey
    0

    Looks like the breaking change is the method sig in the migration :

    from v9:

     public ExecutedMigrationPlan Execute(IMigrationPlanExecutor migrationPlanExecutor, ICoreScopeProvider scopeProvider, IKeyValueService keyValueService)
    

    to v10:

     public ExecutedMigrationPlan Execute(IMigrationPlanExecutor migrationPlanExecutor, IScopeProvider scopeProvider, IKeyValueService keyValueService)
    

    This would break a LOT of packages. You would think this should be backwards compatible...

  • Jamie Pollock 174 posts 853 karma points c-trib
    May 13, 2022 @ 17:06
    Jamie Pollock
    0

    To be fair this is a major release which is allowed breaking changes. Also this is a RC1 not the final release. It will give developers some time to update their packages should they choose to support v10 in the future.

  • Simon Justesen 66 posts 180 karma points
    May 17, 2022 @ 13:15
    Simon Justesen
    0

    I'd advise strongly against using RCs in production. There might still be breaking changes awaiting. Also it usually takes a while for package maintainers to update their code and dependencies.

  • Marc Goodson 1767 posts 11711 karma points MVP 7x c-trib
    May 18, 2022 @ 06:02
    Marc Goodson
    0

    @all There is a beta of usync for V10 released today that would be worth giving a spin with the v10 RC:

    https://blog.jumoo.co.uk/2022/v10-betas/

  • Carlos Rey 13 posts 107 karma points
    May 18, 2022 @ 09:12
    Carlos Rey
    0

    It stops the BO crashing and does actually sync when run. The UI seems to be broken though with placeholders for labels & text. But it works!

  • Kevin Jump 2150 posts 13644 karma points MVP 6x c-trib
    May 18, 2022 @ 10:23
    Kevin Jump
    1

    Hi,

    If you have had a older version of uSync installed on the v10 release and then updated, you should remove all uSync folders from app_plugins, and then rebuild.

    the newer vesion doesn't use the files in app_plugins anymore - but if they are there they might take priority over the ones it does use.

    (i think for the next v10 release we will put in a clean to remove them incase people do this)

  • Alexander 31 posts 81 karma points
    Jun 17, 2022 @ 03:28
    Alexander
    0

    Just upgraded from 9.5.2 to 10. I can build the project but I cannot run it. Same error: "Process finished with exit code 134" I don't have uSync installed at all.

    Any idea how to fix it?

    Including trace:

    [22:23:13 INF] Acquiring MainDom.
    [22:23:13 INF] Acquired MainDom.
    [22:23:15 FTL] Application startup exception
    Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source')
       at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
       at System.Linq.Enumerable.OfType[TResult](IEnumerable source)
       at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider..ctor(IEnumerable`1 pageRouteModelProviders, IOptions`1 mvcOptionsAccessor, IOptions`1 pagesOptionsAccessor)
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& 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.VisitRootCache(ServiceCallSite callSite, 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.CallSiteVisitor`2.VisitNoCache(ServiceCallSite callSite, TArgument argument)
       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.VisitRootCache(ServiceCallSite callSite, 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.VisitRootCache(ServiceCallSite callSite, 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.ServiceProvider.CreateServiceAccessor(Type serviceType)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at Microsoft.Extensions.DependencyInjection.ServiceProvider.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.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.GetOrCreateDataSource(IEndpointRouteBuilder endpoints)
       at Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapControllerRoute(IEndpointRouteBuilder endpoints, String name, String pattern, Object defaults, Object constraints, Object dataTokens)
       at Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapAreaControllerRoute(IEndpointRouteBuilder endpoints, String name, String areaName, String pattern, Object defaults, Object constraints, Object dataTokens)
       at Umbraco.Extensions.EndpointRouteBuilderExtensions.MapUmbracoRoute(IEndpointRouteBuilder endpoints, Type controllerType, String rootSegment, String areaName, String prefixPathSegment, String defaultAction, Boolean includeControllerNameInRoute, Object constraints)
       at Umbraco.Cms.Web.BackOffice.Install.InstallAreaRoutes.CreateRoutes(IEndpointRouteBuilder endpoints)
       at Umbraco.Extensions.UmbracoApplicationBuilderExtensions.UseInstallerEndpoints(IUmbracoEndpointBuilderContext app)
       at ChangeDetector.Web.Startup.<>c.<Configure>b__4_1(IUmbracoEndpointBuilderContext u) in /Users/akay/RiderProjects/web.changedetector.io/src/ChangeDetector.Web/Startup.cs:line 158
       at Umbraco.Cms.Web.Common.ApplicationBuilder.UmbracoApplicationBuilder.<>c__DisplayClass17_0.<WithEndpoints>b__0(IEndpointRouteBuilder endpoints)
       at Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions.UseEndpoints(IApplicationBuilder builder, Action`1 configure)
       at Umbraco.Cms.Web.Common.ApplicationBuilder.UmbracoApplicationBuilder.WithEndpoints(Action`1 configureUmbraco)
       at ChangeDetector.Web.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in /Users/akay/RiderProjects/web.changedetector.io/src/ChangeDetector.Web/Startup.cs:line 149
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
       at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
       at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
       at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
       at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
       at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
       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 ChangeDetector.Web.Program.Main(String[] args) in /Users/akay/RiderProjects/web.changedetector.io/src/ChangeDetector.Web/Program.cs:line 12
    System.ArgumentNullException: Value cannot be null. (Parameter 'source')
       at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
       at System.Linq.Enumerable.OfType[TResult](IEnumerable source)
       at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider..ctor(IEnumerable`1 pageRouteModelProviders, IOptions`1 mvcOptionsAccessor, IOptions`1 pagesOptionsAccessor)
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& 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.VisitRootCache(ServiceCallSite callSite, 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.CallSiteVisitor`2.VisitNoCache(ServiceCallSite callSite, TArgument argument)
       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.VisitRootCache(ServiceCallSite callSite, 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.VisitRootCache(ServiceCallSite callSite, 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)
    
  • jonok 285 posts 555 karma points
    Jun 30, 2022 @ 04:48
    jonok
    0

    Alexander did you find a solution for this? I'm trying to run a fresh install of Umbraco 10 and I'm seeing the same error.

  • jonok 285 posts 555 karma points
    Jun 30, 2022 @ 05:45
    jonok
    0

    All good, I managed to fix it - I just needed to install the latest version of ASP.NET Core Runtime (6.0.6)

  • mrosiak 3 posts 97 karma points
    18 days ago
    mrosiak
    0

    Value cannot be null. (Parameter 'source') happens when you try to run your application from build instead of publish folder. More info can be found on dotnet/aspnetcore/issues/38175 github page.

Please Sign in or register to post replies

Write your reply to:

Draft