Activities of "akaziuka"

hi

Please check the consoleAndAngularClientRootUrl, There is no BookStore_App in your appsettings.

That worked. I have fixed that part, rebuilt the solution and was able to login. At the same time, I see a large number of console errors (see the screenshot below). Could you suggest what might be the reason?

hi

You can create a new project.

Theappsettings.json of DbMigrator

Hi. I did not change those parameters. It's not very clear why it stopped working. Could you take a look? deleted

Also, what web page are you referring to? Is it the ABP Suite interface? I had never seen a screen like that before.

hi

Client validation failed because 'http://localhost:4200' was not a valid redirect_uri for _3M_App.

The request URI matched a server endpoint: Authorization. 
The authorization request was successfully extracted: { 
  "response_type": "code", 
  "client_id": "_3M_App", 
  "state": "aGJOeWhrUXZqN3pXYTFrcVRYRWpydzRwcW02WkdhUlJSaVlOdThOUjRsbUMy", 
  "redirect_uri": "http://localhost:4200", 
  "scope": "offline_access openid profile email phone _3M", 
  "code_challenge": "7dohmnVI2zU2qvJ6W0o2crV-UUr-EXRPil8l3_HJoYw", 
  "code_challenge_method": "S256", 
  "nonce": "aGJOeWhrUXZqN3pXYTFrcVRYRWpydzRwcW02WkdhUlJSaVlOdThOUjRsbUMy", 
  "culture": "en", 
  "ui-culture": "en" 
}. 
Client validation failed because 'http://localhost:4200' was not a valid redirect_uri for _3M_App. 
The authorization request was rejected because the redirect_uri was invalid: 'http://localhost:4200'. 

I see that. What's the valid redirect URL, then? How did it get mangled after the update?

However, an attempt to login results in an HTTP 400 error message (see the screenshot attached

hi

Please share the full logs of backend app. Thanks

Here's the log from the running container (Web API) when the error occurs, as well as the log from the app's Log directory: https://1drv.ms/f/s!AtmlF7r3uFNtj7JwiEaFzXQsr09StA?e=pfZkqt

I have to reopen. It seems to be the solution is building now just fine. However, an attempt to login results in an HTTP 400 error message (see the screenshot attached). It's also not clear why the page got redirected to 'https://localhost:44354/', which is the API backend. What could be wrong?

It helped. Thanks.

  • ABP Framework version: v7.1.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: See below
  • Steps to reproduce the issue:" Perform an update from 6.0.1 to 7.1.1

We have updated ABP Suite 6.0.1 to 7.1.1 (the latest one). It seems that the backend part works fine, but the frontend got broken and shows multiple errors during the build for production (npm run build:prod)

Here's the full stack trace:

npm run build:prod

> _3M@0.0.0 build:prod
> ng build --configuration production

✔ Browser application bundle generation complete.

Warning: D:/_Sources/3Motion/_3M/angular/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.



./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Transform failed with 1 error:
D:/_Sources/3Motion/_3M/angular/src/app/dashboard/tenant-dashboard/tenant-dashboard.component.scss:64:84: ERROR: Unterminated string token

./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Transform failed with 1 error:
D:/_Sources/3Motion/_3M/angular/src/app/dashboard/tenant-dashboard/tenant-dashboard.component.scss:64:84: ERROR: Unterminated string token

./node_modules/css-loader/dist/runtime/api.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\api.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/css-loader/dist/runtime/noSourceMaps.js - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@fortawesome/fontawesome-free/css/all.min.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@swimlane/ngx-datatable/assets/icons.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@swimlane/ngx-datatable/index.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@swimlane/ngx-datatable/themes/material.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/dark.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/dark.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/dim.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/dim.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/light.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/light.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.rtl.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/bootstrap-icons/font/bootstrap-icons.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./node_modules/ng-zorro-antd/tree/style/index.min.css?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
BrowserslistError: [BABEL] D:\_Sources\3Motion\_3M\angular\node_modules\css-loader\dist\runtime\noSourceMaps.js: Unknown version 112 of chrome (While processing: "base$0$0")

Please advise.

I have re-implemented Hangfire manually

Can you share your code?

Maybe you should move some code to DbMigrator module.

I can share the code. How do I send it?

hi

Can you try https://github.com/abpframework/abp/issues/11069 ?

Hello, I have re-implemented Hangfire manually, as the documentation suggested, and I can even see the dashboard running. However, the DbMigrator exits with the following error:

Unhandled exception. Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.Hangfire.AbpHangfireModule, Volo.Abp.HangFire, Version=6.0.1.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while activating λ:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> λ:Hangfire.JobStorage.. See the inner exception for details.
 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while activating λ:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> λ:Hangfire.JobStorage.
 ---> System.InvalidOperationException: JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API.
   at Hangfire.JobStorage.get_Current()
   at Hangfire.HangfireServiceCollectionExtensions.<>c.<AddHangfire>b__1_0(IServiceProvider _)
   at Hangfire.HangfireServiceCollectionExtensions.<>c__DisplayClass13_0`1.&lt;TryAddSingletonChecked&gt;b__0(IServiceProvider serviceProvider)
   at Autofac.Extensions.DependencyInjection.AutofacRegistration.&lt;&gt;c__DisplayClass3_0.&lt;Register&gt;b__0(IComponentContext context, IEnumerable`1 parameters)
   ...

I'm not sure what JobStorage does it require. I'm using PostgresSQL as a database server, and I can see Hangfire has created a separate schema in the database to host its data. Any clues on what can it be?

Also, please suggest what's the proper place in the solution to implement Hangfire logic/jobs?

We have a tiered app/solution generated with ABP Suite. We're looking to add Hangfire support to this solution. Following the documentation that describes the steps (https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire), we were able to install the package with ABP CLI, as suggested. My understanding is that we don't need to do anything extra. When we run the solution it fails at runtime with the following error:

Volo.Abp.AbpInitializationException
  HResult=0x80131500
  Message=An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.Hangfire.AbpHangfireModule, Volo.Abp.HangFire, Version=6.0.1.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while activating λ:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> λ:Hangfire.JobStorage.. See the inner exception for details.
  Source=Volo.Abp.Core
  StackTrace:
   at Volo.Abp.Modularity.ModuleManager.<InitializeModulesAsync>d__4.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Volo.Abp.AbpApplicationBase.<InitializeModulesAsync>d__19.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Volo.Abp.AbpApplicationWithInternalServiceProvider.<InitializeAsync>d__7.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at _3M.DbMigrator.DbMigratorHostedService.<StartAsync>d__3.MoveNext() in D:\_Sources\MyAbilities\3Motion\_3M\aspnet-core\src\_3M.DbMigrator\DbMigratorHostedService.cs:line 32
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__12.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at _3M.DbMigrator.Program.<Main>d__0.MoveNext() in D:\_Sources\MyAbilities\3Motion\_3M\aspnet-core\src\_3M.DbMigrator\Program.cs:line 28

  This exception was originally thrown at this call stack:
    [External Code]

Inner Exception 1:
DependencyResolutionException: An exception was thrown while activating λ:Volo.Abp.Hangfire.AbpHangfireBackgroundJobServer -> λ:Hangfire.JobStorage.

Inner Exception 2:
InvalidOperationException: JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API.

Steps to reproduce:

  • Generate a new solution, and make it run
  • Add Hangfire support via ABP CLI (as per documentation)

Questions:

  • What might be the issue here
  • How do we access Hangfire Dashboard (it's not clear from the docs)
Showing 11 to 20 of 23 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11