Install issues

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

Moderator: moderator

lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

i used the OpenEMM installer from the website

this one openemm-runtime-20.04.000.038.tar.gz
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install issues

Post by maschoff »

Please update the installer to the latest version.
OpenEMM Maintainer
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

so,mi used the latest ver of the installer sh.

updated it all to latest version, no i get the default tomcat screen

http://178.159.2.108:8080/

it is further than ive ever got !!
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

is there anyway to get some actual support for this ? all i am trying to do is get the thing installed ! id have thought at monimum there would be support getting that dione ?
JuergenB
Posts: 140
Joined: Thu Dec 05, 2019 9:03 pm

Re: Install issues

Post by JuergenB »

Hi,

i tried with the current openemm-runtime-20.04.000.043.tar and the Admin Guide 1.3.1

The installation order seems strange & there are some steps missing in compiling Pyhton 3.8.

Installation order ..

During installation you are instructed to install the Software Stack.
During this steps you need compile Pyhton3 (create folders in /home/openemm) after DBMS.
Later the installation as openemm user gives some problems (access denied)

So i had this order

- Install some base parts (not Python 3.8) and DBMS, add User, Firewall, Postfix, wkhtmltox
- Download openemm runtime, untar to /home/openemm
- now proceed with python 3.8 compilation
- after that add the DBMS / Phyton3 parts
- start OpenEMMInstaller.sh as root

Python Compilation

Deployment of Python 3.8 likes to create subfolders in a non existing folder.
So first untar openemm-runtime and add the directory for /home/opnemm/opt/phyton*

The export of the python path is not permanent (i think this will do).

echo 'pathmunge /home/openemm/opt/python3/bin' > /etc/profile.d/ree.sh
chmod +x /etc/profile.d/ree.sh
. /etc/profile

During the installer script update package fails sometime and i don´t get the database installed.
Seems that the runtime or admin guide needs some attention.

This is what worked for configuration

as root - configure basic environment
as openemm - configure dbms, install modules, but no backend !!
as root - configure backend and database will be created

restart OpenEMM and base installation would be fine.
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install issues

Post by maschoff »

We recommend to compile Python 3.8.x according to chapter 12 of the install guide 1.3.0 or later. Please note that this is onyl required for OpenEMM 20.04 or later, NOT for OpenEMM 19.04 or 19.10.
OpenEMM Maintainer
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

maschoff wrote: Fri Jun 12, 2020 8:17 am We recommend to compile Python 3.8.x according to chapter 12 of the install guide 1.3.0 or later. Please note that this is onyl required for OpenEMM 20.04 or later, NOT for OpenEMM 19.04 or 19.10.
yes thats what i have been doing
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

JuergenB wrote: Thu Jun 11, 2020 10:20 pm Hi,

i tried with the current openemm-runtime-20.04.000.043.tar and the Admin Guide 1.3.1

The installation order seems strange & there are some steps missing in compiling Pyhton 3.8.

Installation order ..

During installation you are instructed to install the Software Stack.
During this steps you need compile Pyhton3 (create folders in /home/openemm) after DBMS.
Later the installation as openemm user gives some problems (access denied)

So i had this order

- Install some base parts (not Python 3.8) and DBMS, add User, Firewall, Postfix, wkhtmltox
- Download openemm runtime, untar to /home/openemm
- now proceed with python 3.8 compilation
- after that add the DBMS / Phyton3 parts
- start OpenEMMInstaller.sh as root

Python Compilation

Deployment of Python 3.8 likes to create subfolders in a non existing folder.
So first untar openemm-runtime and add the directory for /home/opnemm/opt/phyton*

The export of the python path is not permanent (i think this will do).

echo 'pathmunge /home/openemm/opt/python3/bin' > /etc/profile.d/ree.sh
chmod +x /etc/profile.d/ree.sh
. /etc/profile

During the installer script update package fails sometime and i don´t get the database installed.
Seems that the runtime or admin guide needs some attention.

This is what worked for configuration

as root - configure basic environment
as openemm - configure dbms, install modules, but no backend !!
as root - configure backend and database will be created

restart OpenEMM and base installation would be fine.

thanks so much - im going to try this now
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install issues

Post by maschoff »

Thanks, we will add a hint for the sequence DBMS -> runtime -> Python 3 to the next release of the install guide.
OpenEMM Maintainer
JuergenB
Posts: 140
Joined: Thu Dec 05, 2019 9:03 pm

Re: Install issues

Post by JuergenB »

Hi,

if i install wkhtmltox as described in 4.5 Image and PDF Creation Tool wkhtmltox i get Errors later in Deployment.

If i start 5.2 and configure the Environment, i can use Default or blank and install the packages.
If i select Default for wkhtmltox, i get this error message.

Please enter path for wkhtmltopdf (Blank => Cancel, 'Default' for '/usr/local/bin/wkhtmltopdf'):
> Default
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'openemm.config_tbl' doesn't exist")

I think all the Deployment Steps and the prerequisites Need to be reviewed …

I have a script for a scratch installation, using Centos 7 as a base installation (CentOS-7-x86_64-DVD-2003).
This script installs all requirements, phyton 3.8, mariadb, etc and stops when openemm-runtime-20.04.000.043.tar is extracted to /home/openemm.

Script runs for 10 min including compilation.

But with 5.2 Deployment the Rights and how OpenEmm should install Fails …

I don´t know why it worked yesterday.

Does anyone have Information in what order the 5.2 Deployment should be configured?

Jürgen
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

tried all this.

i get to the part where eveything looks like its running..

= OpenEMM Installer v20.04.003 =
================================
Root mode: On
Host: lin-vps-man-05
License: OpenEMM (ID: 0)
Runtime Version: 20.04.000.043
Manual Version: 19.07.004
OpenEMM Version: 20.04.000.143
System-Url: Unknown
OpenEMMBackend Version: 20.04.000.142

show status gives

OpenEMM status:
Operating System (OS): CentOS 8
Python version: 3.8.2 (default, Jun 12 2020, 17:14:16) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]
Sendmail Version: 0.11.1
Postfix Version: 3.3.1
DB client version: /usr/bin/mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1
Database Connection: OK
Database version: MariaDB 10.3.17-MariaDB
OpenEMM database structure exists (Version 20.01.460)
Currently running database threads ratio (Current: 6, Maximum: 1): 6.0
Database table emm_db_errorlog_tbl: OK
Check Jobqueue status: ERROR
No DKIM keys
Java version: 11.0.7 (Oracle)
Tomcat version: 9.0.33.0
Tomcat-Native version: 1.2.23
Wkhtml version: wkhtmltopdf 0.12.6-rc (with patched qt)
OpenEMMApplication is NOT running
OpenEMMBackend ok: once
OpenEMMBackend stopped: mailout, update, trigger, generate, mta, pickdist, slrtscn, direct-path, bav-update, bavd, bav, mlcontrol



when i try to access the app i get:

http://78.157.200.142:8080/


Please someone.... help me before i cry !
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install issues

Post by maschoff »

System-Url: Unknown
You should fix that.
OpenEMM Maintainer
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

ok... how would one do that?

so far as I can see there is NOTHING in the PDF or wiki relating to that apart from referenced the config.emm properties, but, the menu option says these are read only....
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install issues

Post by maschoff »

Please read chapter 5.4
OpenEMM Maintainer
lamb
Posts: 30
Joined: Thu Jun 04, 2020 6:05 pm

Re: Install issues

Post by lamb »

ok, i have done that... and now get

================================
= OpenEMM Installer v20.04.003 =
================================
Root mode: On
Host: lin-vps-man-05
License: OpenEMM (ID: 0)
Runtime Version: 20.04.000.043
Manual Version: 19.07.004
OpenEMM Version: 20.04.000.143
System-Url: http://78.157.200.142:8080/
OpenEMMBackend Version: 20.04.000.142

Current menu: Show OpenEMM status

OpenEMM status:
Operating System (OS): CentOS 8
Python version: 3.8.2 (default, Jun 12 2020, 17:14:16) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]
Sendmail Version: 0.11.1
Postfix Version: 3.3.1
DB client version: /usr/bin/mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux ( x86_64) using readline 5.1
Database Connection: OK
Database version: MariaDB 10.3.17-MariaDB
OpenEMM database structure exists (Version 19.07.559)
Currently running database threads ratio (Current: 6, Maximum: 3): 2.0
Database table emm_db_errorlog_tbl: OK
Jobqueue status: 7 errorneous jobs (BirtReports, LoginTrackTableCleaner, Calenda rCommentMailingService, ...)
No DKIM keys
Java version: 11.0.7 (Oracle)
Tomcat version: 9.0.33.0
Tomcat-Native version: 1.2.23
Wkhtml version: wkhtmltopdf 0.12.6-rc (with patched qt)
OpenEMMApplication is NOT running
OpenEMMBackend ok: once
OpenEMMBackend running: mailout, update, trigger, generate, mta, pickdist, slrts cn, direct-path, bav-update, bavd, bav, mlcontrol
Post Reply