This requires saving Google Chrome directly onto your server as well as Admin privileges.
With the addition of thumbnail generation into 10.1 there is some additional items that need to be put into place for this option to work correctly. Please select what operating system your iDashboards server is running on.
Windows:
- Install Google Chrome on the iDashboards server.
- Once completed open iDashboards Admin select System then Dashboard Thumbnails. On this screen you should see two green checkboxes. If you do you can test the thumbnail generation at this time. If you do not then you need to set it up by first editing the Hostname Path.
- On the Hostname Path click Edit...
- Unclick Autodetect:
- After unchecking the Autodetect: box type localhost in the newly available box
- For port put where your iDashboards Instance runs:
- Default 8080
- Most Installations 6700
- If your installation utilizes SSL be sure to check the Use SSL: box
- SSL Installations 443
- First copy the current Google Chrome Installation Directory Path
- Next to the Google Chrome Installation Directory Path click Edit...
- Then uncheck Autodetect:
- After unchecking the Autodetect: box paste the copied path into the newly available box
- Now click Save.
- After you have saved the changes you should have a green checkbox. If so, you can now test thumbnail creation by editing a dashboard and clicking Save.
Linux: Debian
- Download the Chrome package via the wget command:
- Now we will need to install the deb package.
- sudo apt install ./google-chrome-stable_current_amd64.deb
- Now open the iDashboards Administration Screen and from the System menu select Dashboard Thumbnails. Entering this screen you should see the green checkboxes. You can test the thumbnail generation at this time. It is recommended that you edit the Hostname Path.
- On the Hostname Path click Edit...
- Unclick Autodetect:
- After unchecking the Autodetect: box type localhost in the newly available box
- For port put where your iDashboards Instance runs:
- Default 8080
- Most Installations 6700
- If your installation utilizes SSL be sure to check the Use SSL: box
- SSL Installations 443
- First copy the current Google Chrome Installation Directory Path
- Next to the Google Chrome Installation Directory Path click Edit...
- Then uncheck Autodetect:
- After unchecking the Autodetect: box paste the copied path into the newly available box.
- Now click Save.
- After you have saved the changes you should have a green checkbox. If so, you can now test thumbnail creation by editing a dashboard and clicking Save.
Possible Issues:
In idashboards.log the following error:
HEADLESS: [1204/135731.088044:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
[ERROR][2019-12-04 13:57:31,099][REQ-ID:252][DesignerProcessor] saveDashboard(): The screencap operation failed: com.ivizgroup.idb.webapps.idashboards.screencap.ScreencapException: The thumbnail generation operation failed with an error$
com.ivizgroup.idb.webapps.idashboards.screencap.ScreencapException: The thumbnail generation operation failed with an error code of 1.
Using your editor of choice in this instance nano:
nano /opt/google/chrome/google-chrome
On the last line of the file add --no-sandbox
the finial result should look like:
exec -a "$0" "$HERE/chrome" "$@" --no-sandbox
For More Information: iDashboards Admin Manual 13.5 Dashboard Thumbnail Configuration
If the above is unable to resolve the issue, then please contact iDashboards Support for further assistance.
Comments
0 comments
Please sign in to leave a comment.