Upgrade KX Dashboards
-
Save required changes to your current dashboard and close both kdb+ and dashboard processes.
-
Copy the
data/dashboardsdirectory and its dashboards from your dashboard installation folder to a separate folder; this folder will be returned once the upgrade is complete.Note
If you have created custom functions for use in Builder or have added .csv files as part of the html5evalcongroup connection referenced in
demo.q- renamedemo.qasdemo.bak. You will need to copy your changes from thedemo.bakfile back to the newdemo.qfile after installing the update.New
.csvfiles in the sample/data directory do not need to be backed up as part of the upgrade as only existing demo.csvfiles will be overwritten -
Download the latest version of dashboards from Install and Run.
-
Extract the zip file, and copy extracted files to your existing KX Dashboards install directory. Say ‘yes’ to copy-and-replace existing files.
-
Copy the backed up
data/dashboardsdirectory from step 2 to your existingdata/dashboardsdirectory. If you had previously removed the demo dashboards in your existing data/dashboards directory prior to the upgrade then it may be necessary to delete the contents of this folder before returning the backed-up dashboards. -
Optional: If you made changes to
demo.qfrom step 2, copy back the changes fromdemo.bakto the replacementdemo.qfile. -
Restart the dashboard and kdb+ processes by running
dash.bat.
Troubleshooting
-
Ensure all required
.csvfiles are in thesample/datadirectory. Missing files will show as an error in the kdb+ process dialog. -
If dashboards fail to start and changes were made to the
demo.qfile as part of step 2, replace thedemo.qfile with the extracted zip version - without changes - and restart dashboards. A tool like Winmerge will help copy changes fromdemo.baktodemo.q. -
When returning previous dashboards from step 2, ensure they are not part of a subdirectory in
data/dashboardsotherwise they won't be available in the dashboard dropdown.