Open Closed

Cannot upgrade 7.0.3 to 7.3.2 #5610


User avatar
0
huy.quan created
  • ABP Framework version: v7.0.3
  • UI Type: Blazor Server
  • Database System: EF Core SQL Server
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
    • I'm trying to upgrade my project from 7.0.3 to 7.3.2 (latest stable version) but when I run command "abp update" or update project from ABP Suite site (localhost:3000). It always show error when I try to build or restore MyProject.Blazor. How can I fix it?

12 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can manually change the leptonx package theme version to 2.3.*-*

  • User Avatar
    0
    huy.quan created

    I changed leptonx package theme version to 2.3.*-* but it show the other errors:

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you dotnet clean and dotnet build /graphBuild command?

  • User Avatar
    0
    huy.quan created

    Hi,

    Could you dotnet clean and dotnet build /graphBuild command?

    I tried, but no luck, still that error on .Domain project

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you share the full steps to reproduce the problem? I will check it.

    BTW, What version of ABP CLI are you using?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Or you can share a new project that can reproduce the problem with me, I can check it. shiwei.liang@volosoft.com

  • User Avatar
    0
    huy.quan created

    I create project (Blazor Server and MS SQL Server) from version 7.0.3 and add a new module to project by Abp Suite (localhost:3000 -> Module -> Create new module)

    Now I upgrade Abp suite to 7.3.2 and upgrade my project from 7.0.3 to 7.3.2 (by Abp suite site) and try to build / restore it and it show error

    Version of ABP CLI is 7.3.2 now

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I can't reproduce the problem. could you share a new project that can reproduce the problem with me, I can check it. shiwei.liang@volosoft.com

  • User Avatar
    0
    huy.quan created

    I fixed it already, there is a module project didn't upgrade version follow main project and it caused the errors. Just need to update every related reference to 7.3.2.

    But there is an other issue when I try to login or run DbMigration project. There are some columns missed. What should I do in this case?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Please add a new migration file and apply database migration.

    • https://docs.abp.io/en/commercial/latest/migration-guides/index
    • https://docs.abp.io/en/abp/latest/Migration-Guides/Index
  • User Avatar
    0
    huy.quan created

    Thanks you, I can restore and build and run project. There is a problem with background login image, I think this is on nuget package. How can we check it or change it? I cannot find it on project

  • User Avatar
    0
    jfistelmann created

    Hey, the logic for that comes from the leptonx package which source you can download via abp suite.

    I would assume that the packages are not up to date. Ensure that your package.json looks something like this:

    {
      "version": "1.0.0",
      "name": "my-app",
      "private": true,
      "dependencies": {
        "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~2.3.2",
        "@volo/aspnetcore.components.server.leptonxtheme": "~2.3.2",
        "@volo/cms-kit-pro.admin": "~7.3.2",
        "@volo/account": "~7.3.2",
        "@volo/language-management": "~7.3.2"
      }
    }
    

    If you changed something, run abp install-libs. after that, everything should be normal again.

    Let me know I guessed correctly and if the solution helped :)

    Kind regards Jack

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35