umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.44k stars 2.67k forks source link

Error upgrading from 13.1.0 to 13.5.1 #17211

Open bensheridanreason opened 1 day ago

bensheridanreason commented 1 day ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.5.1

Bug summary

Can not upgrade from 13.1.0 to 13.5.1. I get an sql error "Umbraco.Cms.Core.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Syntax error parsing SQL identifier ''"

Specifics

{ "@t": "2024-10-08T07:57:42.0854600Z", "@mt": "An error occurred during installation step {Step}", "@l": "Error", "@x": "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.\r\n ---> Umbraco.Cms.Core.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Syntax error parsing SQL identifier ''.\n Please check log file for additional information (can be found in 'LoggingSettings.Directory')\r\n at Umbraco.Cms.Infrastructure.Install.InstallSteps.DatabaseUpgradeStep.ExecuteAsync(Object model)\r\n at InvokeStub_InstallSetupStep1.ExecuteAsync(Object, Span1)\r\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n --- End of inner exception stack trace ---\r\n at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)\r\n at Umbraco.Cms.Web.BackOffice.Install.InstallApiController.ExecuteStepAsync(InstallSetupStep step, Object instruction)\r\n at Umbraco.Cms.Web.BackOffice.Install.InstallApiController.PostPerformInstall(InstallInstructions installModel)", "@tr": "8636814e2b4c4b1c739a6e45f9a881d0", "@sp": "61eb2738d18f50b0", "Step": "DatabaseUpgrade", "SourceContext": "Umbraco.Cms.Web.BackOffice.Install.InstallApiController", "ActionId": "4d708479-1f06-472b-ae4f-8bc6aa2d6fdf", "ActionName": "Umbraco.Cms.Web.BackOffice.Install.InstallApiController.PostPerformInstall (Umbraco.Web.BackOffice)", "RequestId": "4000000c-0008-ff00-b63f-84710c7967bb", "RequestPath": "/install/api/PostPerformInstall", "ProcessId": 14824, "ProcessName": "iisexpress", "ThreadId": 44, "ApplicationId": "ba34879fd7d5cac39c479685693d436c4eac11af", "MachineName": "BEN_WORK_RD", "Log4NetLevel": "ERROR", "HttpRequestId": "cc83ae25-972a-4fa0-b6ad-14d4428e91aa", "HttpRequestNumber": 3, "HttpSessionId": "81b52456-ee2b-9628-94fe-ebdce9bf07dc" }

Steps to reproduce

On version 13.0.1 use NuGet to upgrade to 13.5.1

Expected result / actual result

Expected result: is the system is upgrade

Actual result: Error above

github-actions[bot] commented 1 day ago

Hi there @bensheridanreason!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face: