Error upgrading from 12.3.3 to 12.3.4 (security pa...
# help-with-umbraco
c
Getting the following error in Rider when upgrading a V12.3.3 site to V12.3.4 on Linux... 13:31:24| Checking compatibility of packages on net7.0. 13:31:24| All packages and projects are compatible with net7.0. 13:31:24| Package restore failed. Rolling back package changes for 'Site'. Warning As Error: Detected package downgrade: Umbraco.Cms.Core from 12.3.4 to 12.3.3. Reference the package directly from the project to select a different version. Site -> Umbraco.Cms 12.3.4 -> Umbraco.Cms.Persistence.EFCore.SqlS ... .Cms 12.3.4 -> Umbraco.Cms.Targets 12.3.4 -> Umbraco.Cms.StaticAssets 12.3.4 -> Umbraco.Cms.Web.Website 12.3.4 -> Umbraco.Cms.Web.Common 12.3.4 -> Umbraco.Cms.PublishedCache.NuCache 12.3.4 -> Umbraco.Cms.Infrastructure 12.3.4 -> Umbraco.Cms.Core (>= 12.3.4) Site -> Umbraco.Cms.Core (>= 12.3.3) // Rest of error in next message as too long Core has installed ok in own Core project, but CMS not in Site. Any advice appreciated.
Rest of errorÇ- NuGet.PackageManagement.PackageReferenceRollbackException: Package restore failed. Rolling back package changes for 'Site'. at NuGet.PackageManagement.NuGetPackageManager.ExecuteBuildIntegratedProjectActionsAsync(BuildIntegratedNuGetProject buildIntegratedProject, IEnumerable`1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, CancellationToken token) at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable`1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token) at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token) at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token) at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.<>c__DisplayClass7_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.InstallInternal(IProject project, String packageId, String packgeUserStr, NuGetFeedContext feedContext, Int32 nestedLevel, NuGetNotificationMode mode, NuGetOperationReporter reporter, Func`3 nativeInstall, NuGetProject givenNuGetProject)
I now see the latest version is 12.3.5, still errors!
It was missing Umbraco.Cms.StaticAssets. Having now found it manually, 12.3.5 upgrades ok. Though Umbraco.Cms.Infrastructure still fails. Is it a case of Nuget catching up maybe?
k
do you have a specific use case for why you are referencing all the packages? - usually for a site you only need
Umbraco.Cms
. and if you have a core project or something - then
Umbraco.Cms.Web.BackOffice
or
Umbraco.Cms.Web.Website
cover everything - then you have less to update, less to miss somewhere in the chain ? I see that error if there is a sub project somewhere still referencing and old version but also pulling in something that is referencing the new one (so the error in that case is right, your sub project wants the old version but that is less than something else it depends on).
c
I wasn't, it's just what the upgrade process did. I always upgrade all the packages when I do an upgrade, hopefully for obvious reasons đŸ™‚ It's fixed now anyway, with the 12.3.5 patch.
4 Views