Open Closed

microservices template not loading administration menu after login #5199


User avatar
0
smansuri created
  • ABP Framework version: v7.2.2

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes Identity Server Separated (Angular)

  • Exception message and stack trace:

  • Steps to reproduce the issue:" Download the ABP commercial framework solution with microservices as template from abp suite. After setting up the environment locally login to app. After successful login we are getting the below screen:

instead of this we should get the page with admin menus as below:


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

    UI type: Angular

    Are you using angular as the front-end, right?

    I think the URL is http:localhost:4200

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    It looks like you are not logged in

  • User Avatar
    0
    smansuri created

    earlier this page was showing 500 internal error for some reason but now loading fine. thanks

  • User Avatar
    0
    smansuri created

    Now we are getting the administration menu but we are not getting the dashboard and SaaS management menus on the left.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The saas module UI for host users only Are you logged into the application as a tenant user?

  • User Avatar
    0
    smansuri created

    We have used admin credentials to login. But still facing this issue. user: admin Password : 1q2w3E*

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you share a project that can reproduce the problem with me? I will check it. shiwei.liang@volosoft.com

  • User Avatar
    0
    smansuri created

    please check email

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I can't reproduce the problem.

    You can remove all databases&cache and re-create to try again.

  • User Avatar
    0
    smansuri created

    We have tried clearing the cache and ran the migration after dropping databases but no luck. The SaaS menu appears only when we are connected to SQL database but the issue is replicating only after migrating to mysql. we have followed steps mentioned here : https://support.abp.io/QA/Questions/5170#answer-3a0ba342-4520-a0c6-e93b-5bcadbd7ffdf to migrate to mysql.

    please suggest.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I don't think this is related to MYSQL, because the project you shared works for me.

    Can we have a meeting via zoom? I'd like to check it remotely.

  • User Avatar
    0
    smansuri created

    Yes. please set up a meeting and will join.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://us05web.zoom.us/j/81336275630?pwd=bmlSNXN4dkhyMWc3YTRva0lYbnZNQT09

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The meeting has expired.

    The database should be like this:

    Each service will persist the permission definition in the database when the application is initialized. https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/AbpPermissionManagementDomainModule.cs#L64

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    In the meeting I manually added the SaasApplicationContracts project to the admin service, it loads static permission definitions. I think it should be working now.

    If it's still now working, please let me know.

  • User Avatar
    0
    smansuri created

    We can see SaaS menu now. But my concern is that if the database records are missing in the table it could create problems anytime in the application. Can we try to figure out the exact issue.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Could you share all the logs with me? Thanks.

  • User Avatar
    0
    smansuri created

    I have uploaded the logs folde at Gdrive location earlier shared with you via gmail. please download.

  • User Avatar
    0
    smansuri created

    Hi Team, we are also missing few menu items. Under SasS menu->Features we are missing twon menus 1) Chat 2) File management

    Under administration -> users we are missing Two factor menu option from actions.

    Under Administration->Roles->Actions Menu->Permisions We are missing menus for OpenId , Chat , File management.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try to enable the source link to debug the AbpPermissionManagementDomainModule and StaticPermissionSaver classes.

    abp will save the permission definition to the database when the application is startup. But here some reason causes the save not to complete, you can debug to check

  • User Avatar
    0
    smansuri created

    Hi,

    You can try to enable the source link to debug the AbpPermissionManagementDomainModule and StaticPermissionSaver classes.

    abp will save the permission definition to the database when the application is startup. But here some reason causes the save not to complete, you can debug to check

    Hi Team, We are unable to debug the abp framework, This is related to abp framework and we expect you to debug and fix the issue at framework level ASAP.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think it may be related to the cache. Can you try to clear all the Redis caches?

  • User Avatar
    0
    smansuri created

    After clearing the redis cache we got SaaS menu and Open Id menus.

    But still missing other menus Under Administration->Roles->Actions Menu->Permisions We are missing menus for Chat , File management.

    Under administration -> users we are missing Two factor menu option from actions. Under SasS menu->Features we are missing twon menus 1) Chat 2) File management

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Under administration -> users we are missing Two factor menu option from actions.

    It look like a problem, we will check it.

    We are missing menus for Chat , File management. Under SasS menu->Features we are missing twon menus 1) Chat 2) File management

    Did you install the Chat and File management modules? they are not pre-installed.

    I didn't see you install them in the project you shared.

  • User Avatar
    0
    smansuri created
    We did not install chat and file module. BUt we will need the two factor issue resolved.
    
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11