Page 1 of 1

error 500 after install

Posted: Wed Jun 14, 2023 10:05 am
by 1100101
I have a clean OpenEmm setup.
If i click on 'mailings' it shows me an empty page with an error 500 in the logs.


jakarta.servlet.error.status_code: 500

jakarta.servlet.ServletException: jakarta.servlet.jsp.JspException: ServletException in '/WEB-INF/jsp/mailing/overview/mailing-list.jsp': java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.mailing.overview.mailing_002dlist_jsp
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:664) ~[jasper.jar:10.0.20]




Caused by: org.apache.jasper.JasperException: An exception occurred processing [/WEB-INF/jsp/template.jsp] at line [230]

227: <!-- Main Content BEGIN -->
228: <main class="l-main-view">
229: <tiles:insert attribute="body"/>
230: </main>
231: <!-- Main Content END -->
232:
233:


How do i get this work?

The OpenEmm status inside the OMT shows the following errors:

Frontend application integrity: ERROR
Statistics application integrity: ERROR
Webservices application integrity: ERROR


What needs to be done here?

About my system:

=============================================
= OpenEMM Maintenance Tool (OMT) v23.04.015 =
=============================================
Root mode: On
Hostname: ...
OpenEMM License: OpenEMM (ID: 0)
OpenEMM Runtime Version: 23.04.016
OpenEMM Version: 23.04.000.116
System-Url: ...

Current menu: Show OpenEMM status

OpenEMM status:
Operating System (OS): Alma 9
Python version: 3.9.16
Sendmail Version: 8.16.1
Postfix Version: 3.5.9
Database client version: /usr/bin/mariadb Ver 15.1 Distrib 10.11.4-MariaDB, for Linux (x86_64) using EditLine wrapper
Database Connection: OK
System-Time: 2023-06-14 04:43:32
System-Time-DB: 2023-06-14 04:43:32
Database version: MariaDB 10.11.4-MariaDB
OpenEMM database structure exists (Version 23.04.188)
Database table emm_db_errorlog_tbl: OK
Jobqueue status: OK
DKIM keys available for domains: None
Java version: 11.0.19 (Oracle)
Tomcat version: 10.0.20.0
Tomcat-Native version: Undefined
Wkhtml version: wkhtmltopdf 0.12.6.1 (with patched qt)
OpenEMM Application is running (Tomcat ProcessID: 324668, started at: 04:27 0:46)
OpenEMM Backend ok: once
OpenEMM Backend running: mailout, update, trigger, generate, mta, pickdist, slrtscn, direct-path, bav-update, bavd, bav, mlcontrol
Frontend application integrity: ERROR
Statistics application integrity: ERROR
Webservices application integrity: ERROR

Re: error 500 after install

Posted: Wed Jun 14, 2023 1:11 pm
by JuergenB
Hi,

these errors are new in 22.10.025 and 23.04.016 and look like a cosmetic bug :lol:

I checked the phyton module, i am not a python programmer, but here is my insight

OpenEMM does some sort of environment check in CheckMenu.py for the environment.
The script checks for the presence of some env variables like

Environment.isEmmFrontendServer
..
Environment.isOpenEmmServer

And if they are not present, we get this errors or the checksum for the folder that are checked is wrong.

I think that the runtime installers are not tested before they get published, some environment var are not set.
Even the documentation seems to work only for the older Linux releases.

Some of the required files are missing during installation and if you check catalina.out you will find errors about missing asset files under

FileNotFoundException: /home/openemm/release/emm/openemm-gui-23.04.000.116/assets/sass/boot/variables.scss

But we need to wait for a new runtime release... :lol:

Re: error 500 after install

Posted: Fri Jun 16, 2023 9:37 am
by maschoff
OpenEMM 23.04 is a alpha version, it is not even listed as beta in the OpenEMM wiki yet (https://wiki.openemm.org). The version was mistakenly uploaded to the release channel. I just removed it.

Re: error 500 after install

Posted: Fri Jun 16, 2023 9:48 am
by JuergenB
Thanks,

But the error is still present is in 22.10.000.222

Frontend application integrity: ERROR
Statistics application integrity: ERROR
Webservices application integrity: ERROR


And Database is already on Alpha Version 23.01.436 :lol:

Re: error 500 after install

Posted: Fri Jun 16, 2023 9:54 am
by maschoff
The integrity check is not available in 22.10.

Re: error 500 after install

Posted: Fri Jun 16, 2023 10:10 am
by JuergenB
Can i hide the integrity check error messages?

=============================================
= OpenEMM Maintenance Tool (OMT) v22.10.024 =
=============================================
Root mode: On
Hostname: localhost.localdomain
OpenEMM License: OpenEMM (ID: 0)
OpenEMM Runtime Version: 22.10.025
OpenEMM Version: 22.10.000.222
OpenEMM Manual Version: 22.10.001
System-Url: https://****************

Current menu: Show OpenEMM status

OpenEMM status:
Operating System (OS): Alma 8
Python version: 3.9.16
Postfix Version: 3.5.8
Database client version: /usr/bin/mysql Ver 15.1 Distrib 10.3.35-MariaDB, for Linux (x86_64) using readline 5.1
Database Connection: OK
System-Time: 2023-06-16 11:12:57
System-Time-DB: 2023-06-16 11:12:57
Database version: MariaDB 10.3.35-MariaDB
OpenEMM database structure exists (Version 23.01.436)
Database table emm_db_errorlog_tbl: OK
Jobqueue status: OK
DKIM keys available for domains: None
Java version: 11.0.14.1 (Oracle)
Tomcat version: 10.0.20.0
Tomcat-Native version: 1.2.30
Wkhtml version: wkhtmltopdf 0.12.6 (with patched qt)
OpenEMM Application is running (Tomcat ProcessID: 37748, started at: Jun14 5:44)
OpenEMM Backend ok: once
OpenEMM Backend running: mailout, update, trigger, generate, mta, pickdist, slrtscn, direct-path, bav-update, bavd, bav, mlcontrol
Frontend application integrity: ERROR
Statistics application integrity: ERROR
Webservices application integrity: ERROR

Re: error 500 after install

Posted: Fri Jun 16, 2023 12:25 pm
by maschoff
No, but the output will be removed in a later runtime release.

Re: error 500 after install

Posted: Mon Jun 19, 2023 5:18 pm
by maschoff
New runtime is available: 22.10.027