Page 1 of 1

First GA version of OpenEMM 23.10 available

Posted: Fri Jan 12, 2024 1:32 pm
by maschoff
We just published the first GA (general availability) version of OpenEMM 23.10.

See the OpenEMM Wiki at https://wiki.openemm.org for more details.

Re: First GA version of OpenEMM 23.10 available

Posted: Fri Jan 12, 2024 5:59 pm
by JuergenB
How do i make use of nodejs instead of wkhtmtox?

OpenEMM 23.10 Installation & Administration Guide 1.0.2 recommends not to make use of wkhtmtox.
I install nodejs but openemm-runtime-23.10.000.150 still asks for WKHTML.

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

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

What do i need to enter here, to install Tomcat-Native during Basic webapplication configuration?

Please choose entry to change (Blank => Back):
> Tomcat-Native
Please enter path for optional Tomcat-Native (Blank => Skip configuration of Tomcat-Native, 'Install' for installation):
> Install
Invalid path for Tomcat-Native

Re: First GA version of OpenEMM 23.10 available

Posted: Fri Jan 12, 2024 6:19 pm
by maschoff
You do not have to install wkhtmltox.

To use OpenEMM with secure HTTPS connections, for Tomcat you should use the NIO Connector, because according to the Apache Foundation
the APR/Native HTTP Connector is deprecated and removed in Tomcat 10.1 and later.

See chapter 12 of the Install & Admin Guide for details.

Re: First GA version of OpenEMM 23.10 available

Posted: Fri Jan 12, 2024 6:27 pm
by JuergenB
Thanks,
i have the 23.04.000.222 release running with NIO Connector and certificates.

I wanted to get a clean install with 23.10.000.150 without SSL, but it still asks for WKHTML and i can´t get it running properly.
The installation of tomcat-native asks for a install path.

If i don´t install any WKHTML or any tomcat-native during the basic configuration, the openemm Status shows a missing Wkhtml file .
Where do i get this?

Tomcat-Native version: Undefined
Wkhtml file not available: None
OpenEMM Application is NOT running

If i use the same inital setup like a 23.04.000.222 release and i install tomcat-native-2.0.6 and wkhtmltox the runtime 23.10.000.150 will get me a working setup.

can you provide more information howto get rid of WKHTML?

Re: First GA version of OpenEMM 23.10 available

Posted: Mon Jan 15, 2024 9:16 am
by aso
Can you provide a screenshot of the question screen, asking for WKHMTL?
Because I rather think it is asking for a proper installation of JAVA and Apache Tomcat.

Re: First GA version of OpenEMM 23.10 available

Posted: Tue Jan 16, 2024 12:13 pm
by JuergenB
Hi,
during installation ...

I do not install wkhtmltox-0.12.6.1-3.el9.x86_64.rpm
I do not install tomcat-native-1.2.3 or 2.0.6

I unpack the runtime 23.10.000.150 and configure the dbms and create a database.
I start to configure the basic environment and set JAVA_HOME, CATALINA_Home is empty and installer asks to install tomcat.

I leave these empty

Code: Select all

Tomcat-Native: None
 WKHTMLTOPDF:   None
 WKHTMLTOIMAGE: None
 PROXY:         None
Because the new admin guide recommends not use WKHTML and make use of nodejs instead.
after restarting the runtime with ./OMT.sh i get this

Code: Select all

=================================================
= OpenEMM Maintenance Tool (OMT) v23.10.000.150 =
=================================================
Root mode: On
Hostname: localhost.localdomain
Free diskspace: 88.2 % (of 27.14 GiB)
OpenEMM Runtime Version: 23.10.000.150
OpenEMM Version: Unknown
System-Url: Unknown

Database structure does not exist. (Maybe OpenEMM is not installed)
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.9.0.9-2.el9.x86_64
 CATALINA_HOME: /home/openemm/opt/tomcat
 Tomcat-Native: None
 WKHTMLTOPDF:   None
 WKHTMLTOIMAGE: None
 PROXY:         None

Please choose entry to change (Blank => Back):
And OpenEMM status shows

Code: Select all

=================================================
= OpenEMM Maintenance Tool (OMT) v23.10.000.150 =
=================================================
Root mode: On
Hostname: localhost.localdomain
Free diskspace: 88.3 % (of 27.14 GiB)
OpenEMM Runtime Version: 23.10.000.150
OpenEMM Version: Unknown
System-Url: Unknown

Current menu: Show OpenEMM status

OpenEMM status:
Operating System (OS): Alma 9
Python version: 3.9.18
DBCFG: OK
Postfix Version: 3.5.9
Database client version: /usr/bin/mariadb  Ver 15.1 Distrib 10.6.16-MariaDB, for Linux (x86_64) using  EditLine wrapper
Database Connection: OK
System-Time: 2024-01-16 12:12:57
System-Time-DB: 2024-01-16 12:12:57
Database version: MariaDB 10.6.16-MariaDB
OpenEMM database structure does NOT exist
Java version: 17.0.9 (Oracle)
Tomcat version: 10.1.15.0
Tomcat-Native version: Undefined
Wkhtml file not available: None
OpenEMM Application is NOT running
Frontend application integrity: ERROR
Statistics application integrity: ERROR
Webservices application integrity: ERROR
So i continued to install the application and configured as described in '6.3.1 Rendering of Thumbnail Images and PDF Documents'.
OpenEMM still complains about missing Wkhtml file not available: None.

If install tomcat-native and wkhtmltox all is fine ...