Copied to clipboard

Flag this post as spam?

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


  • Daniel 13 posts 103 karma points
    21 days ago
    Daniel
    0

    Issue upgrading the database when upgrading Umbraco from 12 to 13

    Hi community.

    I experienced an upgrade issue, when upgrading Umbraco from version 12 to 13.

    I have used the guide here, I have done all of the steps in guide, but without moving my code in the startup.cs. After getting the project to compile, I can run it and it shows the maintains page. When I then go to /Umbraco and tries to do the database upgrade, I get this error page without any guidance. enter image description here

    I also tried to view the logs, but there is not much useful information here.

    What would be the next step to do?

    Should I try to migrate the startup.cs file?

    My database is hosted on Azure, but the upgrade I’m trying to complete is done locally.

    This is the info the log gives me.

    {"@t":"2024-04-10T07:23:37.9040093Z","@mt":"Acquired MainDom.","SourceContext":"Umbraco.Cms.Core.Runtime.MainDom","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9454228Z","@mt":"Starting recurring background jobs hosted services","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9497154Z","@mt":"Starting background hosted service for {job}","job":"HealthCheckNotifierJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9681838Z","@mt":"Starting background hosted service for {job}","job":"KeepAliveJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9694205Z","@mt":"Starting background hosted service for {job}","job":"LogScrubberJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9707924Z","@mt":"Starting background hosted service for {job}","job":"ContentVersionCleanupJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9721787Z","@mt":"Starting background hosted service for {job}","job":"ScheduledPublishingJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9732449Z","@mt":"Starting background hosted service for {job}","job":"TempFileCleanupJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9743693Z","@mt":"Starting background hosted service for {job}","job":"InstructionProcessJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9759250Z","@mt":"Starting background hosted service for {job}","job":"TouchServerJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9780192Z","@mt":"Starting background hosted service for {job}","job":"WebhookFiring","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9798170Z","@mt":"Starting background hosted service for {job}","job":"WebhookLoggingCleanup","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9896600Z","@mt":"Starting background hosted service for {job}","job":"ReportSiteJob","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:38.9902929Z","@mt":"Completed starting recurring background jobs hosted services","SourceContext":"Umbraco.Cms.Infrastructure.BackgroundJobs.RecurringBackgroundJobHostedServiceRunner","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:43.0143850Z","@mt":"Umbraco is in {mode} mode, so uSync will not run this time.","mode":"Upgrade","SourceContext":"uSync.BackOffice.Notifications.uSyncApplicationStartingHandler","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    {"@t":"2024-04-10T07:23:43.0562223Z","@mt":"Application started. Press Ctrl+C to shut down.","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":21408,"ProcessName":"iisexpress","ThreadId":1,"ApplicationId":"3816df289547b37f3141880f3b6b78067f10f518","MachineName":"computer","Log4NetLevel":"INFO "}
    
  • Yakov Lebski 554 posts 2119 karma points
    21 days ago
    Yakov Lebski
    0

    check that you sql server not reaching maximum DTU during upgrade

  • Daniel 13 posts 103 karma points
    21 days ago
    Daniel
    0

    Hi Yakov.

    It does not seem to be the problem. The timestamp does match where I tried to do the upgrade. I don't think I can rule it out though... Any suggestion on what to do? I could try to scale it to a general purpose tier, and see if there is any changes.

    The error also happens imminently

    enter image description here

  • Daniel 13 posts 103 karma points
    21 days ago
    Daniel
    0

    I tried to upgrade the database aswell, and try again. Still it won't work

  • Daniel 13 posts 103 karma points
    21 days ago
    Daniel
    0

    I tried to look at the network tab when posting and I noticed something:

    In the PostPerformInstall states that the oldVersion is 13.0.0. but the actual oldVersion is 12.1.2. Why is that, and where does that data come from?

    enter image description here

  • Yakov Lebski 554 posts 2119 karma points
    20 days ago
    Yakov Lebski
    0

    very strange, I think you need to see more logs by changes log level to debug,

    Additional idea: azure database is not very fast, can you try to run upgrade on local database?

  • Daniel 13 posts 103 karma points
    15 days ago
    Daniel
    0

    Hi again Yakov.

    How can I turn on a more detailed logging? I can't really find anything in the documentation.

Please Sign in or register to post replies

Write your reply to:

Draft