- ABP Framework version: 8.2.1
- UI Type: Angular
- Database System: MySQL
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:none
- Steps to reproduce the issue:
Hi,
I've created an microservices application using ABP Studio and started all services/gateway/authserver and Angular application. I see the databases for each service is created when I browse and login to Angular application I do not see the multiple menu items like Auditing/OpenIddict/Saas on the menu list. After digging some more I see that in my Administration service database does not contains any permissions groups and permissions.
Even my own microservices permissions groups and permissions are not added.
Thanks Krishna
8 Answer(s)
-
0
hi
Have you gotten any error logs in your microservices?
-
0
hi
Have you gotten any error logs in your microservices?
Hi,
This is the new database so initially I got Database does not exists exceptions but once the migrations are applied I started getting below error where I do not have any tenants created yet.
9/3/2024 5:00:30 PM [Information] Found 1 events in the outbox. 9/3/2024 5:00:31 PM [Error] Could not perform tenant created event. Canceling the operation. TenantId = 3a148325-10a8-1caa-e17d-3b436fa27506, TenantName = Tenancy_Test. 9/3/2024 5:00:31 PM [Error] System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.EntityFrameworkCore.Migrations.EfCoreDatabaseMigrationEventHandlerBase
1.MigrateDatabaseSchemaAsync(Nullable
1 tenantId) at Volo.Abp.EntityFrameworkCore.Migrations.EfCoreDatabaseMigrationEventHandlerBase`1.HandleEventAsync(TenantCreatedEto eventData) -
0
Hi @sgarad
Does the problem persist after you give the missing permissions to
admin
onIdentity Management
>Roles
page? or are not they present inpermissions
window? -
0
Hi @sgarad
Does the problem persist after you give the missing permissions to
admin
onIdentity Management
>Roles
page? or are not they present inpermissions
window?Hi,
Those permissions are not available in permissions window. Those permissions groups are not created. I've attached the screenshot above in original post.
Thanks Krishna
-
0
-
0
-
0
I don't see an option for configuration. I'm using enterprise edition.
You are probably not using the latest ABP Studio version, or the solution is created with a older version.
Now i'm trying to reproduce with the following configuration:
- Angular
- EfCore (MySQL)
I'll inform you.
-
0
I could not reproduce the problem. SaaS & Audit Logging permissions were listed, but not given to admin user (we are already aware of this and will solve in future releases). After permissions are given, menu items appeared.
My suggestion for your case:
- Delete existing databases
- Run the applications in the following order:
- Docker dependencies
- Administration service
- Identity service
- Other services one by one