Fixing Plugin Build Failure
Last updated
Last updated
Users may encounter the issue of seeing 'widget not registered' on their Sisense dashboard, which indicates that the corresponding plugin is not registered. This problem may arise from either the removal of the plugin or a failed build process. To troubleshoot, navigate to the plugin folder and verify whether the plugin is still present. If the plugin exists, the most likely cause of the widget error is a build failure. Typically, this problem arises from a low build time configuration in the Sisense Configuration Manager. To resolve it, the maxBuildTime setting needs to be increased. However, the steps for updating maxBuildTime differ between Windows and Linux environments.
Open the Add-ons page and keep it active.
In another tab, open the Admin section.
Navigate to "System Configuration" under "Server & Hardware."
Access the Configuration screen using the top-right navigation buttons.
On the Configuration screen, click the Sisense logo five times to reveal the full list of settings.
Scroll down and locate "Plugins-Service."
Modify the value of "plugins.maxBuildTime" to either 300000 or 360000. If it's already set to 300000, choose a different value. Note that the default might be 60000, which is often insufficient, leading to service-related issues.
Save the changes and click OK.
Return to the Add-ons tab, and after a few seconds, you should observe the build progress.
Wait for the build to finish and then refresh the Analytics page to use the newly built plugins.
On Windows, the default value for maxBuildTime is 60000 ms (1 minute), which is often insufficient. To address this, it's necessary to increase the value. Follow these steps:
Open the Add-ons page and keep it active: http://localhost:8081/app/settings#/add-ons
Open the Configuration Manager in a separate tab on the server itself or localhost if Sisense is running locally. Access it at http://localhost:3030/system.
Click the Sisense logo five times.
Navigate to Plugins-Service from the left navigation menu.
Modify plugins.maxBuildTime to be 240000.
Save the changes.
After some time, observe the build progress starting on the Add-ons page.
To trigger a new build, consider turning some plugins on/off.
Additionally, try restarting the Sisense.Plugins service from the Windows Services Manager.