About a week ago, I created a new ABP Commercial project and it has been running fine.
A few days ago, I received an email "ABP Framework & ABP Commercial v3.0 has been released!"
So I went into Manage NuGet Packages for Solution, and I updated all available Volo.Abp packages from 2.9.0 to the latest 3.0.2
Then when I run the project, I get an immediate unhandled runtime exception (see below).
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found: 'Volo.Abp.EventBus.Distributed.EtoMappingDictionary Volo.Abp.EventBus.Distributed.AbpDistributedEventBusOptions.get_EtoMappings()'. Volo.Saas.SaasDomainModule+FiR5n2T2s45yZyQLKu.wBq6dA6Lag(AbpDistributedEventBusOptions options) DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Volo.Abp.EventBus.Local.ILocalEventBus, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory, Microsoft.Extensions.Options.IOptions
12 Answer(s)
-
0
-
0
I used the Manage Nuget Packages update feature and it does seem to have successfully upgraded many of the packages.
However, there are many packages that seem to still have max version 2.9.0
Is this the problem? Which of the packages have 3.0.2 versions and which do not? If some do not have 3.0.2 versions, are the 2.9.0 versions suppsed to keep working alongside the new 3.0.2 versions?
-
0
-
0
I find it troubling that the Nuget Package Manager cannot be used to manage upgrades for the Volo.Abp nuget packages.
As you recommended, I manually edited the package version numbers in the CSPROJ files, and as a result I do seem to have accomplished the upgrade.
However, there are many packages that now show as "Not available in this source" in Nuget Package Manager.
Can you please explain why this is the case? ABP is a commercial product and I don't believe I should need to manually edit my CSPROJ files to perform upgrades to the product. I believe I should be able to use the Nuget Package Manager.
-
0
-
0
There are still significant problems.
Now I have upgraded to 3.0.4 using the CLI
abp update
Which seems to correctly update all the Nuget packages so no manual editing is required. Also I have npm installed and so the npm and gulp tasks complete ok.
And the project runs, but I still can't load data into the DataTables for the entities I created while on version 2.9.0. It gets stuck at "Processing" and the console fills up with errors.
-
0
This is the update log from 2.9.0 to 3.0.4:
[11:03:31 INF] ABP CLI (https://abp.io) [11:03:32 INF] Version 3.0.1 (Stable channel) [11:03:33 WRN] ABP CLI has a newer stable version 3.0.4, please update to get the latest features and fixes. [11:03:33 WRN] [11:03:33 WRN] Update Command: [11:03:33 WRN] dotnet tool update -g Volo.Abp.Cli [11:03:33 WRN] [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Host.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Pro.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Public.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Admin.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.Application" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.ObjectExtending" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Host.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Pro.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Public.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Admin.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.Application.Contracts" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Autofac" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.Domain.Identity" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.Domain.IdentityServer" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.BackgroundJobs.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.SettingManagement.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.Domain" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.BackgroundJobs.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.SettingManagement.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.Domain.Shared" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Commercial.SuiteTemplates" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.EntityFrameworkCore.SqlServer" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.SettingManagement.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.BackgroundJobs.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.EntityFrameworkCore" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Pro.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Admin.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Public.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Host.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.HttpApi" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.PermissionManagement.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Host.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Pro.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Admin.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.HttpApi.Client" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Autofac" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AspNetCore.Authentication.JwtBearer" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.FeatureManagement.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Public.Web.IdentityServer" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Account.Pro.Admin.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AuditLogging.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Identity.Pro.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LeptonTheme.Management.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.IdentityServer.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.LanguageManagement.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Saas.Host.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TextTemplateManagement.Web" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.EntityFrameworkCore.Sqlite" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Http.Client.IdentityModel" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.TestBase" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Autofac" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.Authorization" from v2.9.0 to v3.0.4. [11:03:37 INF] Updating package "Volo.Abp.AspNetCore.TestBase" from v2.9.0 to v3.0.4. [11:03:37 INF] Volo packages are updated in AWM solution. [11:03:37 INF] Checking installed npm global packages... [11:03:41 INF] Updated @volo/abp.aspnetcore.mvc.ui.theme.lepton to ~3.0.4 in \src\AWM.Web\package.json. [11:03:42 INF] Updated @abp/chart.js to ~3.0.4 in \src\AWM.Web\package.json. [11:03:43 INF] Updated @volo/identity to ~3.0.4 in \src\AWM.Web\package.json. [11:03:44 INF] Running Gulp on C:\Projects\Code\Amazon\AWM\src\AWM.Web\ [[90m11:03:45[39m] Using gulpfile C:\Projects\Code\Amazon\AWM\src\AWM.Web\gulpfile.js [[90m11:03:45[39m] Starting 'default'... [[90m11:03:49[39m] Finished 'default' after 3.51 s
-
0
I eventually got this all working by reversing the process multiple times and re-trying. I am not even sure what changed or why it is working now.
-
0
-
0
Yes, I would actually agree with that. I think clearing the cache was an important step in completing the upgrade.
-
0
@robb: which cache did you mean? The nuget cache or the brower cache ? @maliming : could you please help to confirm the step below please?
So in su, you only need to ugrade the package but ABP Command and use the ABP Nuget url correct?
ABP Command
- Update ABP CLI: abp update
- Update ABP Suite: abp suite update
-
1
I was referring to the browser cache, post-upgrade, on first run of the application.
The "Nuget cache" (Packages folder, etc?) didn't seem to be a problem.