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"}
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.
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.
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.
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.
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.
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
andUmbraco.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
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.
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
We already have "TrustServerCertificate=True" in our connection string, but still the same issue.
Step done for migration was.
updated the program.cs
builder.CreateUmbracoBuilder().AddBackOffice().AddWebsite().AddComposers().Build();
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.
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.
Hi,
Thanks for reply,
We are not using any 3rd party middleware.
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
is working on a reply...