Install stucks the third time

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

Moderator: moderator

peter
Posts: 1
Joined: Sat Feb 01, 2020 9:50 pm

Install stucks the third time

Post by peter »

Hi,
i am trying to install openemm according to your documentation and it wont work.
got it nearly running on centos 8 ok not supported, better try centos 7 first, i did so twice and wont work as well
/home/openemm/bin/backend.sh:
No such file or directory both times i get this failour and even cant populate the database, as far as i can tell documentation does not reflect the needed steps.
Perhaps you are so kind and tell me where i miss something.
I already tried to update everything through openemmsinstaller.sh
This looks wrong for example:

Code: Select all

 1. Configure basic environment (Java, Tomcat, Wkhtml)
 2. Change database configuration (dbcfg)
   (Change configuration in db) not available
   (Create new database (drop existing data)) not available
   (Change emm.properties) not available
   (Change emm-ws.properties) not available
   (Change client/account data in db) not available
   (Change jobqueue configuration in db) not available
 0. Back to Main
and this as well:

Code: Select all

 1. Remove version info from Tomcat error pages
   (Create new initial 'emm-master' password) not available
 0. Back to Main
and this :

Code: Select all

Using /home/openemm/bin/setenv.sh
Using additional properties: /home/openemm/tomcat9/bin/emm.sh.additional.properties
No Tomcat is running....
/home/openemm/bin/openemm.sh: line 12: /home/openemm/bin/backend.sh: No such file or directory
Starting ...
/home/openemm/bin/openemm.sh: line 5: /home/openemm/bin/backend.sh: No such file or directory
Using /home/openemm/bin/setenv.sh
Using additional properties: /home/openemm/tomcat9/bin/emm.sh.additional.properties
Generated and replaced "/home/openemm/tomcat/conf/context.xml".
######################
# Starting up Tomcat #
######################
Check Java installation          :OK (1.8.0_232 (OpenJDK))
Check Tomcat installation        :OK (9.0.24.0)
Check Tomcat TEMP Directory      :OK
Check APR installation           :FAILED ('/home/openemm/opt/tomcat/tomcat-native/lib/libtcnative-1.so' not found)
Check ulimit -n                  :OK
JAVA Parameters                  :-Xms256m -Xmx1536m -Xss256k -XX:-OmitStackTraceInFastThrow -DHOME=/home/openemm -Dhome=/home/openemm -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dorg.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE=8192
Using CATALINA_BASE:   /home/openemm/tomcat
Using CATALINA_HOME:   /home/openemm/opt/tomcat
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-2.el8_1.x86_64
Using CLASSPATH:       :/home/openemm/tomcat/lib/derby.jar:/home/openemm/tomcat/lib/mariadb-java-client-2.1.2.jar:/home/openemm/opt/tomcat/bin/bootstrap.jar:/home/openemm/opt/tomcat/bin/tomcat-juli.jar
Tomcat started.
Waiting maximum 120 seconds for server startup

Code: Select all

Current menu: Switch OpenEMM version

Currently active application versions:
 Runtime:     19.10.009.016
TypeError: cannot concatenate 'str' and 'NoneType' objects
I tried to update tomecat through Openemmsinstall.sh to from 9.0.21.0 version 9.0.24.0

Linux XXXXX 4.18.0-147.3.1.el8_1.x86_64 #1 SMP Fri Jan 3 23:55:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Install stucks the third time

Post by maschoff »

Looks like you did only install the runtime package but not the OpenEMM packages. Please see the OpenEMM Wiki for instructions on how to install OpenEMM: https://wiki.openemm.org
OpenEMM Maintainer
Post Reply