Articles in this section
Category / Section

How to Manually Remove Pending Deployment Sites in Bold BI?

Published:

If you encounter an issue where a site is stuck in Pending Deployment and cannot be deleted, you can manually remove the site from the database by following these steps:

  1. Go to the sites listing page and click on the site name to access the site information.

    image.png

    image.png

  2. Copy the Client ID for all deployment pending sites.

  3. Update the copied ID in the Client_id field in the following SQL query and run it in your SQL query tool:

MS SQL Server

UPDATE BOLDTC_Tenant
SET IsDeleted = 1,
    IsActive = 0
WHERE BOLDTC_Tenant.Id in
   (SELECT BOLDTC_TenantInfo.TenantId from BOLDTC_TenantInfo
WHERE BOLDTC_TenantInfo.Id in ('Client_id'));

UPDATE BOLDTC_TenantInfo
SET IsDeleted = 1,
    IsActive = 0,
    TenantStatus = 22
WHERE BOLDTC_TenantInfo.Id in ('Client_id');

PostgreSQL

UPDATE BOLDTC_Tenant
SET IsDeleted = 1,
    IsActive = 0
WHERE BOLDTC_Tenant.Id in
   (SELECT BOLDTC_TenantInfo.TenantId from BOLDTC_TenantInfo
WHERE BOLDTC_TenantInfo.Id in ('Client_id'));

UPDATE BOLDTC_TenantInfo
SET IsDeleted = 1,
    IsActive = 0,
    TenantStatus = 22
WHERE BOLDTC_TenantInfo.Id in ('Client_id');

MySQL

UPDATE BOLDTC_Tenant
SET IsDeleted = 1,
    IsActive = 0
WHERE BOLDTC_Tenant.Id in
   (SELECT BOLDTC_TenantInfo.TenantId from BOLDTC_TenantInfo
WHERE BOLDTC_TenantInfo.Id in ('Client_id'));

UPDATE BOLDTC_TenantInfo
SET IsDeleted = 1,
    IsActive = 0,
    TenantStatus = 22
WHERE BOLDTC_TenantInfo.Id in ('Client_id');

Note: You can add multiple client IDs by separating them with a comma (,) as shown below:

UPDATE BOLDTC_Tenant
SET IsDeleted = 1,
    IsActive = 0
WHERE BOLDTC_Tenant.Id in
   (SELECT BOLDTC_TenantInfo.TenantId from BOLDTC_TenantInfo
WHERE BOLDTC_TenantInfo.Id in ('Client_id', 'Client_id', 'Client_id'));

UPDATE BOLDTC_TenantInfo
SET IsDeleted = 1,
    IsActive = 0,
    TenantStatus = 22
WHERE BOLDTC_TenantInfo.Id in ('Client_id', 'Client_id', 'Client_id');
  1. Refresh the sites page. The deployment pending tenants will not be listed after this.

For more information on managing sites in Bold BI, please refer to the official documentation.

Additional References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Reethika Moovendhan
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied