Category / Section
How to delete the custom theme files manually in Bold BI?
Published:
Bold BI allow you to add your own custom themes for the application and the dashboards. Sometimes you may want to remove the custom theme files uploaded into the application. Currently, we don't have the option at UI level to delete the custom theme. Please follow the below steps to delete the custom theme files manually from the Bold BI.
Removing custom theme reference from application
If the theme that you're looking forward to delete, is currently used by the application, follow the below step before deleting the custom theme files.
- Navigate to the URL http://{your_domain}/ums/administration/look-and-feel and choose Default under Custom Theme dropdown and save the settings. This is applicable for both custom and dashboard themes.
Based on the deployment platform, follow the below guidelines to remove the custom theme from the application.
Windows
To delete the custom theme files manually in the Windows environment, please follow the below steps:
- Navigate to the following folders,
Application theme path | {deployment_location}\app_data\custom_themes\application |
Dashboard theme path | {deployment_location}\app_data\custom_themes\dashboard |
- Now, delete the theme folders which you want to remove.
Linux
To delete the custom theme files manually in the Linux environment, please follow the below steps:
- Navigate to the following folders.
Application theme path | /var/www/bold-services/application/app_data/custom_themes/application |
Dashboard theme path | /var/www/bold-services/application/app_data/custom_themes/dashboard |
- Delete the theme folders which you want to remove using the command '-sudo rm -r <folder name>' .
Kubernetes
To delete the custom theme files manually in the Kubernetes environment, please follow the below steps:
kubectl get pods -n bold-services
kubectl exec -it {pod_name} bash -n bold-services |
- Navigate to the following folder - /application/app_data/custom_themes
Application theme path | /application/app_data/custom_themes/application |
Dashboard theme path | /application/app_data/custom_themes/dashboard |
- Delete the theme folders which you want to remove, using the command 'rm -r <folder name>' inside the container.
Docker
To delete the custom theme files manually in the Docker environment, please follow the below steps:
List the container running in docker | docker ps |
Bash into the Bold BI container | docker exec -it <container name> bash |
- Navigate to the following folder - /application/app_data/custom_themes.
Application theme path | /application/app_data/custom_themes/application |
Dashboard theme path | /application/app_data/custom_themes/dashboard |
- Delete the custom theme files which you want to remove, using the command 'rm -r <folder name>' inside the container.
Azure App Service
To delete the custom theme files manually in the Azure environment, please follow the below steps:
- Navigate to Bold BI deployed resource group and select the boldbicontainer from the containers.
- Navigate to the following folder.
Application theme path | boldbicontainer/boldservices/app_data/custom_themes/application |
Dashboard theme path | boldbicontainer/boldservices/app_data/custom_themes/dashboard |
- Delete the theme folders which you want to remove.