Python 3.8.8 and mariadb 10.3.28 not supported by 21.04

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

Moderator: moderator

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

Python 3.8.8 and mariadb 10.3.28 not supported by 21.04

Post by JuergenB » Tue Aug 24, 2021 12:25 pm

Hello,

during a clean installation with the latest runtime (openemm-runtime-21.04.097.tar.gz) on a clean CentOS8 Stream the installer fails at some parts and OpenEMM complains that mariadb is not supported.

Code: Select all

OpenEMM status:
Operating System (OS): CentOS 8
Python version: 3.8.8 (default, Aug  2 2021, 14:57:02)  [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
The database vendor mariadb is not supported by this python installation
Postfix Version: 3.5.8
Database client version: /usr/bin/mysql  Ver 15.1 Distrib 10.3.28-MariaDB, for Linux (x86_64) using readline 5.1
Database Connection: OK
System-Time: 2021-08-24 13:15:58
System-Time-DB: 2021-08-24 13:15:58
Database version: MariaDB 10.3.28-MariaDB
OpenEMM database structure does NOT exist
Java version: 11.0.12 (Oracle)
Tomcat version: 9.0.45.0
Tomcat-Native version: 1.2.23
Wkhtml version: wkhtmltopdf 0.12.6 (with patched qt)
OpenEMM Application is NOT running
During the normal setup i install a recommend in the current setup guide ...

But i need to install the python3 mariadb module with this cmd

Code: Select all

python3 -m pip install -Iv mariadb==1.0.7
Later if i check the OpenEMM status and create the database this works fine...

Code: Select all

Changes saved.
New database and user credentials created.

Current configuration changes or updates need the OpenEMM system to be restarted.
can someone verifiy the documentation guide for CentOs8 Stream and mariadb 10.3.28.

Is Pyhton 3.8.8 wrong?

Thanks

Jürgen

maschoff
Site Admin
Posts: 2485
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Python 3.8.8 and mariadb 10.3.28 not supported by 21.04

Post by maschoff » Wed Aug 25, 2021 1:31 pm

Any Python 3.8 or later is fine.

We do not support CentOS stream and we will recommend AlmaLinux for 21.10.
OpenEMM Maintainer

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

Re: Python 3.8.8 and mariadb 10.3.28 not supported by 21.04

Post by JuergenB » Wed Aug 25, 2021 5:00 pm

Thanks,

i tried 21.04 with AlmaLinux 8.4, but 21.04 is not compatible right now...

This is what i get after running OMT.sh and configuring the environment.

Installation failed. Please install and configure the optional Apache Tomcat Native for Apache Tomcat 9 application manually.
See OpenEMM's "Admin and Install Guide" for help.
Do NOT use command 'yum install tomcat-native', because it installs Apache Tomcat Native for Apache Tomcat 7, which is not compatible with OpenEMM.


Event the supported CentOS 8 and OpenEMM 21.04 is complaining about the database (strange)

OpenEMM status:
Operating System (OS): CentOS 8
Python version: 3.8.6 (default, Jan 29 2021, 17:38:16) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]
The database vendor mariadb is not supported by this python installation

Post Reply