It fails even with the simplest configuration steps.
After configuring the environment variables, the database is created.
The next step would be to create the basic configuration.
But this is where the runtime version falls flat on its face.
I get the following error message after the database is created and the runtime would process to the next step

Code: Select all
=================================================
= OpenEMM Maintenance Tool (OMT) v23.04.000.213 =
=================================================
Root mode: On
Hostname: localhost.localdomain
Free diskspace: 89.6 % (of 27.78 GiB)
OpenEMM Runtime Version: 23.04.000.213
OpenEMM Version: Unknown
System-Url: Unknown
Current configuration changes or updates need the OpenEMM system to be restarted.
Current menu: Change basic configuration
TypeError: '>' not supported between instances of 'NoneType' and 'int'
[root@localhost native]#

Even if the creation of the server.xml with the certificates failed.
Here is the debug ..
Code: Select all
[root@localhost bin]# ./OMT.sh -debug
Checking python installation ...
Python version found: 3.9.16 (/usr/bin/python3)
Checking Zip installation ...
Zip version 3.0 found
Starting python ...
ERROR:root:Cannot detect SendmailVersion
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/EMTUtilities.py", line 529, in getSendmailVersion
allSendmailVersions = subprocess.check_output("rpm -qa | grep -i sendmail 2>/dev/null", shell=True).decode("UTF-8")
File "/usr/lib64/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib64/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'rpm -qa | grep -i sendmail 2>/dev/null' returned non-zero exit status 1.
SQL: SELECT COUNT(*) FROM agn_dbversioninfo_tbl WHERE 1 = 0
Parameters: ()
ERROR:root:executeSql
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 413, in executeSql
cursor.execute(sqlStatement, tuple(parameterList))
File "/usr/local/lib64/python3.9/site-packages/mariadb/cursors.py", line 307, in execute
self._readresponse()
mariadb.ProgrammingError: Table 'openemm.agn_dbversioninfo_tbl' doesn't exist
SQL: SELECT class, name, hostname, value FROM config_tbl WHERE (hostname IS NULL OR TRIM(hostname) = '' OR hostname = %s) AND class = %s AND name = %s
Parameters: ('localhost.localdomain', 'system', 'wkhtmltopdf')
ERROR:root:executeSql
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 413, in executeSql
cursor.execute(sqlStatement, tuple(parameterList))
File "/usr/local/lib64/python3.9/site-packages/mariadb/cursors.py", line 307, in execute
self._readresponse()
mariadb.ProgrammingError: Table 'openemm.config_tbl' doesn't exist
ERROR:root:Error in readConfigurationValueFromDB
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 763, in readConfigurationValueFromDB
for row in result:
TypeError: 'NoneType' object is not iterable
SQL: SELECT class, name, hostname, value FROM config_tbl WHERE (hostname IS NULL OR TRIM(hostname) = '' OR hostname = %s) AND class = %s AND name = %s
Parameters: ('localhost.localdomain', 'system', 'wkhtmltoimage')
ERROR:root:executeSql
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 413, in executeSql
cursor.execute(sqlStatement, tuple(parameterList))
File "/usr/local/lib64/python3.9/site-packages/mariadb/cursors.py", line 307, in execute
self._readresponse()
mariadb.ProgrammingError: Table 'openemm.config_tbl' doesn't exist
ERROR:root:Error in readConfigurationValueFromDB
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 763, in readConfigurationValueFromDB
for row in result:
TypeError: 'NoneType' object is not iterable
SQL: SELECT COUNT(*) FROM config_tbl WHERE class = %s AND name = %s AND hostname = %s
Parameters: ('system', 'wkhtmltopdf', 'localhost.localdomain')
ERROR:root:executeSql
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 413, in executeSql
cursor.execute(sqlStatement, tuple(parameterList))
File "/usr/local/lib64/python3.9/site-packages/mariadb/cursors.py", line 307, in execute
self._readresponse()
mariadb.ProgrammingError: Table 'openemm.config_tbl' doesn't exist
Traceback (most recent call last):
File "/home/openemm/tomcat10/bin/OMT.py", line 163, in <module>
main()
File "/home/openemm/tomcat10/bin/OMT.py", line 89, in main
Environment.init()
File "/home/openemm/tomcat10/bin/EMT_lib/Environment.py", line 155, in init
Environment.readSystemValues()
File "/home/openemm/tomcat10/bin/EMT_lib/Environment.py", line 827, in readSystemValues
DbConnector.updateConfigurationValueInDB("system", "wkhtmltopdf", Environment.wkhtmltopdf, Environment.hostname)
File "/home/openemm/tomcat10/bin/EMT_lib/DbConnector.py", line 785, in updateConfigurationValueInDB
itemExists = selectValue("SELECT COUNT(*) FROM config_tbl WHERE class = ? AND name = ? AND hostname = ?", configClass, configName, hostname) > 0
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Code: Select all
Please choose entry name to change (Blank => Back):
> dbms
Please enter new value for key 'dbms' (Allowed values are 'mariadb', 'mysql'):
> mariadb
KeyError: 'sid'
[root@localhost native]#
certificate and server.xml are not proper