Allan Hua (Customer) asked a question.

Cannot upgrade Sitefinity from 15.1.8300

Hello everyone,

 

I cannot upgrade Sitefinity from 15.1.8300.0 to higher version. I'm using latest release version (1.1.0.72) of Sitefinity CLI.

 

Upgrade to 15.2.8400

fail -

Error occured while upgrading Telerik.Sitefinity.All. The error was: Could not find a part of the path 'D:\Crimson Projects\CrimsonDynamicsLtd\Development\Projects\HKU\SitefinityPortal\HKUSitefinityWebApp-15.1\packages\Progress.Sitefinity.AdminApp.15.2.8436.4\content/AdminApp/monaco/node_modules_monaco-editor_esm_vs_basic-languages_abap_abap_js.2d87d77c20a78f03.js'.Check the D:\Development Tools\sf-cli-win-x86\PowerShell\upgrade.log for more details

15.2.8400 

Upgrade to 15.4.8600

Unable to retrieve package with name: Microsoft.Web.Infrastructure and version: 1.8.0.8 from any of the provided sources: https://nuget.sitefinity.commuget/, https:/lapi.nai1:get.org/v3/index.json

Unable to retrieve package with name: Microsoft.web.Infrastructure and version:1.0.0.0 fromany of theprovided:https://nuget.sitefinity.com/nuget/, https://api.nget .org/v3/index.json

9cbdd1af-5981-4266-8bb9-31c972387e27Notes: In fact, there is no such version of Microsoft.Web.Infrastructure in nuget.

 

Error occured while upgrading Telerik.Sitefinity.All. The error was: Unable to find a version of 'Microsoft.OData.Core' that is compatible with 'Microsoft.AspNet.OData 7.7.9 constraint: Microsoft.OData.Core (>= 7.20.0 && < 8.0.0)', 'Telerik.Sitefinity.Web.Services 15.4.8600 constraint: Microsoft.OData.Core (= 7.20.0)'."

15.4.8600 

How to resolve these errors?


  • Allan Hua (Customer)

    I have removed Sitefinity Nuget (package source - https://nuget.sitefinity.com/nuget), still cannot upgrade to 15.4.8600.

    nuget package source 

    Error during receiving package:

    Unable to retrieve package with name: Microsoft.Web.Infrastructure and version: 1.0.0.0 from any of the provided sources: https://nuget.sitefinity.com/nuget/, https://api.nuget.org/v3/index.json

    Microsoft.Web.InfrastructureUnable to retrieve package with name: Ninject and version: 3.2.0.0 from any of the provided sources: https://nuget.sitefinity.com/nuget/, https://api.nuget.org/v3/index.json

    Ninject 

    Error in upgrade.log:

    Upgrading from '15.1.8300' to '15.4.8600'

    Update-Package : Unable to resolve dependencies. 'Telerik.Web.UI 2023.3.1010.45' is not compatible with 

    'Telerik.Sitefinity.Core 15.1.8334 constraint: Telerik.Web.UI (= 2023.3.1616.45)'.

     

    Is there anything I missed?

  • Jochem Bökkers (Enso DX)

    Hi @Allan Hua (Customer)​ ,

     

    First regarding NuGet not being able to retrieve packages - they're are there on nuget.org as you can see from the below screenshot.

     

    NuGet package availability on nuget.orgSo I'm not sure why you're unable to retrieve them, you can try confirming on your side from the GUI interface as well.

    Given your initial reference to the AdminApp, they've updated the repo to 15.4 yesterday, did you include that into your upgrade steps?

     

    BR,

    Jochem

    • Allan Hua (Customer)

      Hi Jochem,

      I'm also strange about that, I can also find them via manage nuget package, and the version 1.0.0.0 has been installed already in the project.

      InfrastructureThe same as the adminapp

      adminappI cannot manually update them due to dependence, and there is no luck after I cleared all nuget storage.

  • Allan Hua (Customer)

    Update:

    Upgrading from '15.1.8300' to '15.4.8621'

    Update-Package : Unable to resolve dependencies. 'Telerik.Web.UI 2023.3.1010.45' is not compatible with 

    'Telerik.Sitefinity.Core 15.1.8334 constraint: Telerik.Web.UI (= 2023.3.1616.45)'.

     

    I checked this package in my VS2022, although I have set Telerik feed in nuget package source, I can only find version 2023.3.1010.45, no other versions displayed.

    Telerik Web UII followed this article to add telerik feed Adding the Telerik NuGet Feed to Your System

    Nuget Telerik 

    I think this may be the reason. How to get suitable version of Telerik.Web.UI in nuget package source?