Copied to clipboard

Flag this post as spam?

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


  • sandeep007bonds 4 posts 25 karma points
    Jan 20, 2024 @ 05:19
    sandeep007bonds
    0

    Umbraco 10 to Umbraco 13 upgrade

    Can direct upgradation from umbraco V10 to umbraco 13 is possible?

    I have followed the below link for upgradation. https://docs.umbraco.com/umbraco-cms/fundamentals/setup/upgrading

    Did everything as per the document. (Upgraded .Net version, umbraco version, connection string etc).

    After followed all the step when I started the project I got the "BootFailedException" exception.

    Complete details are

    {"@t":"2024-01-19T07:09:39.2807735Z","@mt":"Content root path: {ContentRoot}","ContentRoot":"C:\Users\S979414\UmbracoCore","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":10960,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"347c836d918bffe3f5500a6b123d7477efaa7ecb","MachineName":"CFIN-8ZFLXD3","Log4NetLevel":"INFO "} {"@t":"2024-01-19T07:09:39.5544745Z","@mt":"An unhandled exception has occurred while executing the request.","@l":"Error","@x":"Umbraco.Cms.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\r\n at Umbraco.Cms.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at Umbraco.Cms.Web.Common.Middleware.BootFailedMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)\r\n at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>cDisplayClass2_0.<0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.Invoke(HttpContext httpContext, Boolean retry)\r\n at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)","@tr":"ff3768eed9c025d6d10c0fac89838036","@sp":"dfa145c470b52aea","EventId":{"Id":1,"Name":"UnhandledException"},"SourceContext":"Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware","RequestId":"80000008-0005-fe00-b63f-84710c7967bb","RequestPath":"/","ProcessId":10960,"ProcessName":"iisexpress","ThreadId":8,"ApplicationId":"347c836d918bffe3f5500a6b123d7477efaa7ecb","MachineName":"CFIN-8ZFLXD3","Log4NetLevel":"ERROR"}

    Please suggest the way forward.

  • Stephen 26 posts 148 karma points
    Jan 23, 2024 @ 00:21
    Stephen
    0

    I'm assuming you're storing media in Azure?

    As of Umbraco 11, the Umbraco.StorageProviders.AzureBlob package was split in two.

    You need to make sure both Umbraco.StorageProviders.AzureBlob and Umbraco.StorageProviders.AzureBlob.ImageSharp are installed and configured for things to continue working as they did under Umbraco 10.

    https://docs.umbraco.com/umbraco-cms/extending/filesystemproviders/azure-blob-storage

  • sandeep007bonds 4 posts 25 karma points
    Jan 23, 2024 @ 04:12
    sandeep007bonds
    0

    No We are not storing media to azure... media are stored on the local disk under wwwroot folder.

    I have also tried create a new umbraco 13 project and pointing to the same database, its is working fine. But upgradation from version 10 to 13 is throwing this error.

    I am trying to upgrade to v13.0.3 but the same error with v13.0.0 too.

  • Luuk Peters 85 posts 331 karma points
    Jan 23, 2024 @ 14:47
    Luuk Peters
    2

    The issue is caused by an incorrect database connection string. The call stack mention of ImageSharpMiddleware seems to be a bit of a red herring.

    In this case the connection string needs to have ;TrustServerCertificate=True appended as the default used by the .NET SQL database library is now False.

    Step 8: https://docs.umbraco.com/umbraco-cms/fundamentals/setup/upgrading#upgrade-your-project-using-visual-studio.

    Credits: https://our.umbraco.com/forum/using-umbraco-and-getting-started/112407-umbraco-v12-exception-at-startup-when-run-in-docker

  • Simon steed 376 posts 688 karma points
    Jun 13, 2024 @ 10:44
    Simon steed
    0

    This combined with the post by Stephen worked great for me - thanks guys!

    Si

  • sandeep007bonds 4 posts 25 karma points
    Jan 24, 2024 @ 04:13
    sandeep007bonds
    1

    We already have "TrustServerCertificate=True" in our connection string, but still the same issue.

    Step done for migration was.

    1. Change the .net version from ".net 6" to ".net 8"
    2. Update the umbraco version "10.0.0" to latest i.e. "13.0.3".
    3. Added "TrustServerCertificate=True" in connection string.
    4. updated the program.cs

      WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
      

      builder.CreateUmbracoBuilder().AddBackOffice().AddWebsite().AddComposers().Build();

          WebApplication app = builder.Build();
      
      
      
      await app.BootUmbracoAsync();
      
      
      app.UseUmbraco()
          .WithMiddleware(u =&gt;
          {
              u.UseBackOffice();
              u.UseWebsite();
          })
          .WithEndpoints(u =&gt;
          {
              u.UseInstallerEndpoints();
              u.UseBackOfficeEndpoints();
              u.UseWebsiteEndpoints();
          });
      
      
      await app.RunAsync();
      
    5. Clean and rebuild the solution.

    FYI : The same connection string is working fine with newly created umbraco 13.0.3 project.

    Is there anything that we are missing or is there any other way to get more details about the issue.

  • Simon Napper 116 posts 370 karma points
    Jan 29, 2024 @ 15:24
    Simon Napper
    0

    I'd suggest disabling all your custom or 3rd party middleware references and then see if the site starts up, as at this point you're presumably just interested in getting Umbraco to work?

    If that does work then enabling them one by one should help you narrow this down, as it doesn't sound like a problem with Umbraco itself if your clean solution is running ok.

  • sandeep007bonds 4 posts 25 karma points
    Feb 01, 2024 @ 05:09
    sandeep007bonds
    0

    Hi,

    Thanks for reply,

    We are not using any 3rd party middleware.

  • Yaco Zaragoza 88 posts 363 karma points
    Feb 21, 2024 @ 15:50
    Yaco Zaragoza
    1

    I have a similar issue, but mine is upgrading from V 11.0.0 to 13.1.1.

    It was from a blank solution Umbraco Solution this is the error I get

    enter image description here

  • kacitov 4 posts 74 karma points
    Sep 13, 2024 @ 07:36
    kacitov
    0

    I am currently facing the same issue. Could you please help me to resolve this further?

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Sep 23, 2024 @ 08:06
    Steve Morgan
    0

    The ExecutionEngineException sounds a lot like .net core not installed on the machine rather than anything wrong with the cms / code.

    https://dotnet.microsoft.com/en-us/download

  • JacobMarcussen 6 posts 76 karma points
    Nov 13, 2024 @ 08:01
    JacobMarcussen
    0

    I having this same issue when going from v10.0 to v13.5.2. Did anyone find a a solution to this.

    When running, i get "Syntax error parsing SQL identifier '' ". So i assume its still the database. I've gone through all the steps here, but nothing seems to be helping the issue.

    Maybe since the database was originally for v7.14, then v.8 and then v.10. Im just missing the last step to v.13

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Nov 14, 2024 @ 08:30
    Steve Morgan
    0

    Sounds like a db table with a non standard name.

    Do you have any custom tables - possibly with quotes in the name, maybe from packages? I wonder if it's running an upgrade and hitting a db table name that is breaking the syntax.

Please Sign in or register to post replies

Write your reply to:

Draft