Skip to content

SQL database backup file doesn't contain roles table and USER_ROLES & IsGlobal columns. #4796

@vishtik

Description

@vishtik

I'm trying to containerize the CSETWebNg and CSETWebAPI using docker and use them as images in Azure ACR for Azure Web Apps.

Instead of the SQL container image I'm using an Azure managed SQL Database with this stack. I have been able to connect each of these components together successfully but when I'm trying to login through web UI using an already created user it is showing session expired and I'm not authorized to access. Please try login again.

After debugging the API app I can see it is looking for a Roles table and USER_ROLES &IsGlobal columns inside that table. After searching the restored database I can't see this table or columns.

This attached log might help you.

If the latest release version has an incomplete database then please provide the complete version with all the required tables and columns.

THIS IS AN URGENT ASK PLEASE HELP!

I already wasted a lot of time trying to troubleshoot this issue.

Api-logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues related to the build process or installationdependenciesPull requests that update a dependency fileduplicateThis issue or pull request already existsexternalDepends on a feature or bug external to CSET

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions