Upgrading 10 to 11 and eventually 12 (Error in Ver...
# help-with-umbraco
c
Hey All, Following along the "Major Upgrades" documentation, we've decided to upgrade one of our 10 sites (that's currently on cloud) to version 12, we are slowly following the documentation on the docs.umbraco.com site however we have hit our first snag. Our site was on 10.4, we swapped the framework version to .net 7 and hit upgrade in nuget for the CMS, Deploy (Cloud and Contrib), Forms, Deploy Forms and Identity CMS packages to take them all up to the first 11 versions also. However, we simply get the following error of: Version conflict detected for Umbraco.Cms.Web.Website. Install/reference Umbraco.Cms.Web.Website 11.1.0 directly to project UmbracoProject to resolve this issue. UmbracoProject -> Umbraco.Cms 11.1.0 -> Umbraco.Cms.Targets 11.1.0 -> Umbraco.Cms.Web.Website (>= 11.1.0) UmbracoProject -> Umbraco.Deploy.Cloud 10.0.2 -> Umbraco.Cms.Web.Website (>= 10.0.0 && < 11.0.0). UmbracoProject Am i going to have to go down the rabbit hole of installing every namespace of Umbraco? (As attempting to install the Umbraco.Cms.Web.Website then complains about Cms.Web.Backoffice being wrong).
s
No that's wrong.. You ONLY need to have Umbraco.Cms v12.0.1 installed, so that's the only thing that should be in your csproj for the CMS
c
So i just restarted the process - Pulled the project back down as 10.4 again and decided ill whack it on 10.6.1 before going up a major version again. Aaaaand:
Sadly. Doesnt appear like its actually logging anything to that location. Last recorded log is from 2 hours prior :<
s
No need to go to 10.6.1. Open your csproj file, change
<PackageReference Include="Umbraco.Cms" Version="10.4.0" />
to
<PackageReference Include="Umbraco.Cms" Version="12.0.1" />
and build the project (on .NET 7 of course).
c
As you command:
s
Ah you're on Cloud?
c
indeed
s
Cool cool! Yeah this is annoying, let me tell you the other things that need an update, one sec!
The annoying part is that I can never get the order right so NuGet in Rider / VS just complains it can't.. but it's a lie!
Copy code
xml
        <PackageReference Include="Umbraco.Cloud.Identity.Cms" Version="12.0.8" />
        <PackageReference Include="Umbraco.Cloud.StorageProviders.AzureBlob" Version="12.0.0" />
        <PackageReference Include="Umbraco.Cms" Version="12.0.1" />
        <PackageReference Include="Umbraco.Deploy.Cloud" Version="12.0.0" />
        <PackageReference Include="Umbraco.Deploy.Contrib" Version="12.0.0" />
        <PackageReference Include="Umbraco.Deploy.Forms" Version="12.0.0" />
        <PackageReference Include="Umbraco.Forms" Version="12.0.0" />
That should do the trick!
Oh and Semrush is v1.2.1
Contentment 4.4.4
c
Tidy thank you sir
s
UlrTracker 12.0.0 lol
And.. Iconic 5.3.0 that's all of them yeah? 😅
c
Haha cheers for going above and beyond, was going to sort out the extra's after 😛
s
Haha! You might need the extras already as they might not be compatible with 12 otherwise 🙂
c
Ok sadly still with that same error :/
Copy code
csharp
<PackageReference Include="Our.Iconic" Version="5.3.0" />
    <PackageReference Include="Our.Umbraco.Community.Contentment" Version="4.4.4" />
    <PackageReference Include="Umbraco.Cloud.Identity.Cms" Version="12.0.8" />
    <PackageReference Include="Umbraco.Cloud.StorageProviders.AzureBlob" Version="12.0.0" />
    <PackageReference Include="Umbraco.Cms" Version="12.0.1" />
    <PackageReference Include="Umbraco.Cms.Integrations.SEO.Semrush" Version="1.2.1" />
    <PackageReference Include="Umbraco.Deploy.Cloud" Version="12.0.0" />
    <PackageReference Include="Umbraco.Deploy.Contrib" Version="12.0.0" />
    <PackageReference Include="Umbraco.Deploy.Forms" Version="12.0.0" />
    <PackageReference Include="Umbraco.Forms" Version="12.0.0" />
    <PackageReference Include="UrlTracker" Version="12.0.0" />
Copy code
Version conflict detected for Umbraco.Cms.Web.BackOffice. Install/reference Umbraco.Cms.Web.BackOffice 12.0.1 directly to project UmbracoProject to resolve this issue. 
 UmbracoProject -> Umbraco.Cms 12.0.1 -> Umbraco.Cms.Targets 12.0.1 -> Umbraco.Cms.StaticAssets 12.0.1 -> Umbraco.Cms.Web.BackOffice (>= 12.0.1) 
 UmbracoProject -> Umbraco.Cms.Integrations.SEO.Semrush 1.2.1 -> Umbraco.Cms.Web.BackOffice (>= 11.0.0 && <= 12.0.0).    UmbracoProject    D:\Webwork\DevCompananny\src\UmbracoProject\UmbracoProject.csproj    1
s
Ah yeah looks like maybe Semrush is not yet compatible 🤔
c
Ah poop
s
let me give it a whirl, one sec
Yeah same error until I remove Semrush! 😅 then it works
c
Would potentially then the option of going temporarily to 11.6.1 until semrush is updated be feasible?
s
Says it works with v11 to yes
c
Aaah thank you once again sir!
s
This works now @Chancer ! 👍
v1.2.2 is available
c
Tidy tidy! Shall replan in the work! Cheers again Sebastiaan ❤️
27 Views