Enable Offline Mode for Bold BI: Resolve Errors When Internet Connection is Not Available
Errors will occur like startup cannot be done or after startup data source creation fails if the machine is not connected to the internet, as shown below.
How to enable offline mode before application startup?
Windows
- Open the config.xml file at the below location.
{deployment_location}\app_data\bi\configuration\config.xml
Set true to the OfflineCapable node, if the node is not available, then add the node as shown below and then save the file.
<OfflineCapable>true</OfflineCapable>
Linux
- Open the config.xml file from the deployment location by running the below commands.
> cd /var/www/bold-services/application/app-data/bi/configuration/
> sudo nano config.xml Set true to the OfflineCapable node, if the node is not available, then add the node as shown below.
<OfflineCapable>true</OfflineCapable>To save the changes, press ctrl + x, shift + y, and Enter.
Docker
Bash the docker container using the below command
sudo docker exec -it <container id or container name> bash- Open the config.xml file from the deployment location by running the below commands.
> cd /application/app-data/bi/configuration/
> sudo nano config.xml Set true to the OfflineCapable node, if the node is not available, then add the node as shown below.
<OfflineCapable>true</OfflineCapable>To save the changes, press ctrl + x, shift + y, and Enter.
Kubernetes
List the pods and Exec any one pod by using the below commands.
> kubectl get pods
> kubectl exec -it {Podname} -n {namespace} -- bashInstall package nano to edit the files using the below commands.
> apt-get update
> apt-get install nano- Open the config.xml file from the deployed location by running the below commands.
> cd /application/app_data/bi/configuration/
> sudo nano config.xml - Set true to the OfflineCapable node, if the node is not available, then add the node as shown below.
<OfflineCapable>true</OfflineCapable> - To save the changes, press ctrl + x, shift + y, and Enter.
Once the above steps are completed, restart the Bold BI application, and continue the startup.
How to enable offline mode after application startup?
Go to the UMS Configuration Settings page and choose bi/config.xml on the Search your files drop-down
Example: {your_domain}/ums/administration/config-editorSet true to the OfflineCapable node, and then save it. If the node is not available, then please add the below code.
<OfflineCapable>true</OfflineCapable>
Note
- By default, the deployment location will be C:\BoldServices for Windows and /var/www/bold-services/application for Linux.