nodejs - Rendering of Thumbnail Images - still asking for wkhtmltopdf

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

JuergenB
Posts: 141
Joined: Thu Dec 05, 2019 9:03 pm

nodejs - Rendering of Thumbnail Images - still asking for wkhtmltopdf

Post by JuergenB »

I installed the current release with runtime 20.10.000.150 and 23.10.000.167.

During installation i did not install wkhtmltopdf at all.
I followed the Admin Guide 1.0.2 and installed nodejs as recommended.
But the Runtime still complains about missing WKHTML.

Has someone a working guide for usage of nodejs?

Code: Select all

=================================================
= OpenEMM Maintenance Tool (OMT) v23.10.000.167 =
=================================================
Root mode: On
Hostname: localhost.localdomain
Free diskspace: 81.6 % (of 28.93 GiB)
OpenEMM License: OpenEMM (ID: 0)
OpenEMM Runtime Version: 23.10.000.167
OpenEMM Version: 23.10.000.167
System-Url: http://192.168.2.179

Basic webapplication configuration for WKHTML (wkhtmltopdf) is missing or invalid. Please configure.

Current menu: Configure basic environment (Java, Tomcat, Tomcat-Native, Wkhtml, Proxy)

Current webapp basic configuration:
 JAVA_HOME:     /usr/lib/jvm/java-17-openjdk-17.0.10.0.7-2.el9.x86_64
 CATALINA_HOME: /home/openemm/opt/tomcat
 Tomcat-Native: None
 WKHTMLTOPDF:   None
 WKHTMLTOIMAGE: /usr/local/bin/wkhtmltoimage
 PROXY:         None

Please choose entry to change (Blank => Back):
Even if wkhtmltoxis deprecated and potentially insecure...

Why does the runtime still installs the module at all ?!

Code: Select all

Please choose entry to change (Blank => Back):
 > WKHTMLTOPDF
Please enter path for wkhtmltopdf (Blank => Cancel):
 >
Install wkhtmltopdf and wkhtmltoimage by command 'yum install https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos8.x86_64.rpm'
Do you want to install wkhtmltopdf and wkhtmltoimage now? (N/y, Blank => Cancel):
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: nodejs - Rendering of Thumbnail Images - still asking for wkhtmltopdf

Post by maschoff »

Some OpenEMM users do not want to use nodejs or are not allowed to use it. Therefore, we kept wkhtmltox as an alternative.
OpenEMM Maintainer
Post Reply