Otobo  [SOLVED]

For topics beyond KeyHelp. / Für Themen jenseits von KeyHelp.
Seklfreak

Otobo

Post by Seklfreak »

Moin, hat jemand von euch eventuell das Ticketsystem "OTOBO" im Einsatz?

Wenn ich bei KeyHelp nämlich auf mpm_prefork ändere und den standard Inhalt von Otobo (10.1.4) in der Datei apache2-httpd.include.conf:

Code: Select all

# --
# Copyright (C) 2019-2022 Rother OSS GmbH, https://otobo.de/
# added for OTOBO (http://otobo.de/)
# --

# This configuration is the standard way for running OTOBO under Apache 2.4 without SSL.
# Dynamic and static content is generated by the Plack app otobo.psgi.
# DEFLATE and support for HTTPS should be handled in separate configuration files.

# mod_perl is required
<IfModule !mod_perl.c>
    Error "mod_perl is required for Plack::Handler::Apache. Use apache2-httpd-cgi.include.conf as fallback."
</IfModule>

<IfModule mod_perl.c>

    <IfModule mpm_event_module>
        Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork."
    </IfModule>

    <IfModule mpm_worker_module>
        Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork."
    </IfModule>

    # Use a dedicated Perl interpreter for the current virtual host, usually the default virtual host
    PerlOptions +Parent

    # Preload otobo.psgi so that that the app doesn't have to be loaded again for every process.
    # This also sets @INC.
    PerlPostConfigRequire /opt/otobo/scripts/apache2-perl-preload_otobo_psgi.pl

    # everything is handled by the PSGI app
    <Location />

        # handle all requests, including the static content, with otobo.psgi
        SetHandler          perl-script
        PerlResponseHandler Plack::Handler::Apache2
        PerlSetVar          psgi_app /opt/otobo/bin/psgi-bin/otobo.psgi

        # Require is supported starting with Apache 2.4.
        # No authentication and all requests are allowed.
        Require all granted

    </Location>

</IfModule>

# Limit the number of requests per child to avoid excessive memory usage.
# 1000 is the same value as the default value used by Gazelle.
MaxConnectionsPerChild 1000
verwende.

Dann werden die Grafiken nicht angezeigt, was man bei der Login Seite von keyHelp selber anschauen kann: https://server1.serverfreakz.de

Edit:
In den Logs sehe ich auch:

Code: Select all

[Sun Aug 07 18:55:29.920761 2022] [http2:warn] [pid 1323] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
Edit2:
Ich könnte den Inhalt bei der Version otobo-10.0.16 aus der Datei apache2-httpd.include.conf nehmen aber, ich glaube das macht kein Sinn.
Da Otobo anscheinend kein mpm_event/worker mehr unterstützt, funktionieren tut es jedoch aber.
Trotzdem möchte ich es nicht riskieren, dass otobo in irgendeiner der nächsten Versionen nicht mehr mitspielt.

Edit3
Ich hänge es mal an, da ich den Inhalt von der funktionierende apache2-httpd.include.conf von Otobo verwende.
Screenshot 2022-08-07 at 19-24-09 server1.serverfreakz.de KeyHelp.png
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Otobo

Post by 24unix »

Ich kenne das Ticketsystem nicht, aber IMHO sollte es für eine PHP-App unerheblich sein, ob prefork oder event verwendet wird.
Erziehungsmaßnahme seitens der Programmierer?

Aber hier: [Sun Aug 07 18:55:29.920761 2022] [http2:warn] [pid 1323] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.


Steht, dass der Apache es nicht mag.

Warum willst Du denn prefork?
Kommentiere den Kram in der htaccess doch mal testweise aus.

event ist mittlerweile Standard bei keyHelp.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Seklfreak

Re: Otobo

Post by Seklfreak »

Öhm, dass ich mpm_prework will, das habe ich nie geschrieben oder Sonstiges.
Ganz im Gegenteil sogar: Otobo schreibt seit 10.1 mpm_prefork vor und dass mpm_prefork nicht http2 supportet bzw. http2 nicht prefork supportet.

Habe ich bereits herausgefunden und es gibt keine htaccess bei OTOBO und das mit der Logzeile, die ich zitiert habe, hat auch nichts mit OTOBO zu tun sondern mpm_prefork nicht http2 supportet bzw. http2 nicht prefork supportet.

Spricht: Eventuell muss Alexander prefork wieder rausnehmen oder sich da was anderes einfallen lassen.

Aber darum geht es nicht sondern, dass der Inhalt:

Code: Select all

# --
# Copyright (C) 2019-2022 Rother OSS GmbH, https://otobo.de/
# added for OTOBO (http://otobo.de/)
# --

# This configuration is the standard way for running OTOBO under Apache 2.4 without SSL.
# Dynamic and static content is generated by the Plack app otobo.psgi.
# DEFLATE and support for HTTPS should be handled in separate configuration files.

# mod_perl is required
<IfModule !mod_perl.c>
    Error "mod_perl is required for Plack::Handler::Apache. Use apache2-httpd-cgi.include.conf as fallback."
</IfModule>

<IfModule mod_perl.c>

    <IfModule mpm_event_module>
        Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork."
    </IfModule>

    <IfModule mpm_worker_module>
        Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork."
    </IfModule>

    # Use a dedicated Perl interpreter for the current virtual host, usually the default virtual host
    PerlOptions +Parent

    # Preload otobo.psgi so that that the app doesn't have to be loaded again for every process.
    # This also sets @INC.
    PerlPostConfigRequire /opt/otobo/scripts/apache2-perl-preload_otobo_psgi.pl

    # everything is handled by the PSGI app
    <Location />

        # handle all requests, including the static content, with otobo.psgi
        SetHandler          perl-script
        PerlResponseHandler Plack::Handler::Apache2
        PerlSetVar          psgi_app /opt/otobo/bin/psgi-bin/otobo.psgi

        # Require is supported starting with Apache 2.4.
        # No authentication and all requests are allowed.
        Require all granted

    </Location>

</IfModule>

# Limit the number of requests per child to avoid excessive memory usage.
# 1000 is the same value as the default value used by Gazelle.
MaxConnectionsPerChild 1000
von dem konfiguriertem durch KeyHelp blockiert oder so.

@Alexander Es wäre nett, wenn du dir das ganze auf einem eigenen Test Server mal angucken könntest.

OTOBO ist im übrigens außerhalb von KeyHelp installiert, also nicht bei irgendeinem Webuser oder Sonstiges sondern wirklich komplett getrennt.
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Otobo

Post by 24unix »

Seklfreak wrote: Sun 7. Aug 2022, 20:01 und es gibt keine htaccess bei OTOBO
Und was ist das dann für Code, den Du gepastet hast? :-)

Wie das Kind heißt ist doch egal.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Seklfreak

Re: Otobo

Post by Seklfreak »

24unix wrote: Sun 7. Aug 2022, 20:05
Seklfreak wrote: Sun 7. Aug 2022, 20:01 und es gibt keine htaccess bei OTOBO
Und was ist das dann für Code, den Du gepastet hast? :-)

Wie das Kind heißt ist doch egal.
Habe ich doch geschrieben gehabt :roll: apache2-httpd.include.conf, die OTOBO beinhaltet
User avatar
Jolinar
Community Moderator
Posts: 3559
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Otobo

Post by Jolinar »

Seklfreak wrote: Sun 7. Aug 2022, 20:01 Otobo schreibt seit 10.1 mpm_prefork vor und dass mpm_prefork nicht http2 supportet bzw. http2 nicht prefork supportet.
Oha...Eine (vermutlich) aktuelle Software blockt im Jahr 2022 aktiv HTTP/2... :shock:
Wenn man bedenkt, daß im Juni diesen Jahres HTTP/3 als RFC 9114 standardisiert wurde, bleibt mir eigentlich nur eine sinnvolle Empfehlung: Schmeiß den Mist in die Tonne und such dir eine vernünftige Alternative...Ticketsysteme gibt es doch nun wirklich wie Sand am Meer...

Seklfreak wrote: Sun 7. Aug 2022, 20:01 @Alexander Es wäre nett, wenn du dir das ganze auf einem eigenen Test Server mal angucken könntest.
Bei allem nötigen Respekt für deinen Bastelspaß...Aber der Alexander hat sicher Wichtigeres zu tun, als irgendeine halbausgegorene Gammelsoftware zu testen. :roll:

Seklfreak wrote: Sun 7. Aug 2022, 20:01 OTOBO ist im übrigens außerhalb von KeyHelp installiert, also nicht bei irgendeinem Webuser oder Sonstiges sondern wirklich komplett getrennt.
Das geht selten gut, wenn man parallel zu Keyhelp noch irgendwas anderes betreibt...Oft genug kommen sich irgendewelche abweichenden Konfigurationen in die Quere und crashen im schlimmsten Fall Teile des Systems.
Warum installierst du es nicht innerhalb der Keyhelp Struktur?
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
User avatar
MLan
Posts: 466
Joined: Wed 20. Sep 2017, 23:05
Location: @home

Re: Otobo

Post by MLan »

Das Teil brauch eine eigene VM bzw Docker.
Verstehe nicht wie man auf die Idee kommt sowas in KH reinzupressen.

https://doc.otobo.org/manual/installati ... ments.html
Seklfreak

Re: Otobo

Post by Seklfreak »

Jolinar wrote: Sun 7. Aug 2022, 20:26
Seklfreak wrote: Sun 7. Aug 2022, 20:01 Otobo schreibt seit 10.1 mpm_prefork vor und dass mpm_prefork nicht http2 supportet bzw. http2 nicht prefork supportet.
Oha...Eine (vermutlich) aktuelle Software blockt im Jahr 2022 aktiv HTTP/2... :shock:
Wenn man bedenkt, daß im Juni diesen Jahres HTTP/3 als RFC 9114 standardisiert wurde, bleibt mir eigentlich nur eine sinnvolle Empfehlung: Schmeiß den Mist in die Tonne und such dir eine vernünftige Alternative...Ticketsysteme gibt es doch nun wirklich wie Sand am Meer...

Seklfreak wrote: Sun 7. Aug 2022, 20:01 @Alexander Es wäre nett, wenn du dir das ganze auf einem eigenen Test Server mal angucken könntest.
Bei allem nötigen Respekt für deinen Bastelspaß...Aber der Alexander hat sicher Wichtigeres zu tun, als irgendeine halbausgegorene Gammelsoftware zu testen. :roll:

Seklfreak wrote: Sun 7. Aug 2022, 20:01 OTOBO ist im übrigens außerhalb von KeyHelp installiert, also nicht bei irgendeinem Webuser oder Sonstiges sondern wirklich komplett getrennt.
Das geht selten gut, wenn man parallel zu Keyhelp noch irgendwas anderes betreibt...Oft genug kommen sich irgendewelche abweichenden Konfigurationen in die Quere und crashen im schlimmsten Fall Teile des Systems.
Warum installierst du es nicht innerhalb der Keyhelp Struktur?
Ähm, jetzt mal ganz langsam.

OTOBO hat nichts mit der Fehlermeldung:

Code: Select all

[Sun Aug 07 18:55:29.920761 2022] [http2:warn] [pid 1323] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.

zu tun.

Auf deutsch:

Code: Select all

AH10034: Das mpm-Modul (prefork.c) wird von mod_http2 nicht unterstützt. Das mpm bestimmt, wie Dinge in Ihrem Server verarbeitet werden. HTTP/2 hat in dieser Hinsicht mehr Anforderungen und das derzeit ausgewählte mpm reicht einfach nicht aus. Dies ist eine beratende Warnung. Ihr Server wird weiterhin funktionieren, aber das HTTP/2-Protokoll wird inaktiv sein.
mpm_prefork wird von "mod_http2" nicht supportet

Und weiterhin:
OTOBO ist keine Gammelsoftware oder so in der Art, es ist ein Fork von OTRS und wird zusätzlich aktiv entwickelt.

Und das ist nun mal auch wichtig, um was ich Alexander bitte, da möchte er eine Lösung finden bzw. überprüfen.
Ob man überhaupt "mpm_prefork" in KeyHelp anbieten kann, da es von "mod_http2" nicht supportet wird.

Und ich habe auch erstmal die Apache Konfiguration aus der Version OTOBO 10.0.16, damit sowohl "mpm_event" als auch "mpm_worker" und "mpm_prefork" funktioniert, obwohl die 2 erst genannten von OTOBO nicht "mehr" unterstützt.

Und wenn tatsächlich http3 gibt, dann kann man nur hoffen, dass es dort wieder die "mpm_prefork" Unterstützung gibt.
Last edited by Seklfreak on Sun 7. Aug 2022, 20:53, edited 1 time in total.
Seklfreak

Re: Otobo

Post by Seklfreak »

MLan wrote: Sun 7. Aug 2022, 20:36 Das Teil brauch eine eigene VM bzw Docker.
Verstehe nicht wie man auf die Idee kommt sowas in KH reinzupressen.

https://doc.otobo.org/manual/installati ... ments.html
Das ist ja gar nicht in KeyHelp :lol: OTOBO liegt unabhängig von KeyHelp in "/opt/" .
l_fish
Posts: 144
Joined: Tue 15. Aug 2017, 11:49

Re: Otobo

Post by l_fish »

Seklfreak wrote: Sun 7. Aug 2022, 20:46
Und das ist nun mal auch wichtig, um was ich Alexander bitte, da muss er eine Lösung finden bzw. überprüfen.
Ob man überhaupt "mpm_prefork" in KeyHelp anbieten kann, da es von "mod_http2" nicht supportet wird.
Hierzu würde ich vorschlagen, dass keyhelp je nach Auswahl vom mpm_X dann automatisch das http2 Modul deaktiviert bzw. aktiviert. So wäre dann die Fehlermeldung zumindest weg und das System sauber konfiguriert.
User avatar
Jolinar
Community Moderator
Posts: 3559
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Otobo

Post by Jolinar »

Seklfreak wrote: Sun 7. Aug 2022, 20:46 Ähm, jetzt mal ganz langsam.

OTOBO hat nichts mit der Fehlermeldung:

Code: Select all

[Sun Aug 07 18:55:29.920761 2022] [http2:warn] [pid 1323] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.

zu tun.
Doch, in deinem Fall schon. Denn du setzt eine Software ein, die prefork verlangt. Und wie allgemein schon seit Einführung von HTTP/2 bekannt ist, schließen die beiden sich aus...und das wird sich auch nicht ändern.

Seklfreak wrote: Sun 7. Aug 2022, 20:46 OTOBO ist keine Gammelsoftware oder so in der Art, es ist ein Fork von OTRS und wird zusätzlich aktiv entwickelt.
Doch...Eine Software, welche einen veralteten Standard verlangt, ist gammelig.

Seklfreak wrote: Sun 7. Aug 2022, 20:46 Und das ist nun mal auch wichtig, um was ich Alexander bitte, da muss er eine Lösung finden bzw. überprüfen.
Er muß schonmal garnichts!
Dir ist hoffentlich bewußt, daß jeder Support, den Alex hier leistet von der Entwicklungszeit von Keyhelp abgeht.
Wenn du individuellen und persönlichen Support willst bzw. brauchst, dann nimm Geld in die Hand und hole dir einen externen Profiadmin ins Boot, der deine Wissenlücken kompensieren kann. Übliche Preise fangen bei 20€ netto je angefangene 15min an. ;)

Seklfreak wrote: Sun 7. Aug 2022, 20:46 Und wenn tatsächlich http3 gibt, dann kann man nur hoffen, dass es dort wieder die "mpm_prefork" Unterstützung gibt.
Beschäftige dich bitte eingehend mit den Unterschieden zwischen prefork, worker und event. Dann verstehst du auch, warum prefork und HTTP/3 nicht miteinander können...
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Seklfreak

Re: Otobo

Post by Seklfreak »

Dann ist aber nur http1 aktiv und das Problem auf dem Screenshot ist dann immer noch und letztendlich geht es auch mir nur um das Problem auf dem Screenshot.
User avatar
mhagge
Community Moderator
Posts: 487
Joined: Wed 8. Aug 2018, 15:19

Re: Otobo

Post by mhagge »

Wobei das nur ein Schönheitsfehler ist, die Meldung ist eine mit der Stufe „warn“ - mpm_prefork läuft trotzdem (und diese Meldung hat mit Sicherheit auch nichts mit dem Problem zu tun)

Ansonsten: mpm_prefork ist veraltet, es dient im Prinzip dazu Kompatibilität mit Apache1.3 herzustellen - so werden z.b. auf Threads verzichtet. Deswegen wird es nie möglich sein, damit http/2 oder auch http/3 zu kombinieren. Modern sind nur Event oder Worker, je nach Einsatzszenario, wenn Otobo tatsächlich zwingend auf Prefork setzt wirft das schon Fragen auf.

Aber wie gesagt: mit dem Problem an sich hat das alles sicher nichts zu tun
Seklfreak

Re: Otobo

Post by Seklfreak »

Ähm Jolinar, was hast du gerade mit HTTP/3?
Es geht um HTTP/2, was mpm_prefork nicht unterstützt.

Und nochmals:
Nein OTOBO ist keine Gammelsoftware, es basiert auf HTTP/2 und da dieses Jahr bereits, kommt HTTP/3 hinzu und das Verlangen von "mpm_prefork" kann man durch ein Workaround umgehen, jedoch nicht lösen.

Und du hast da was zitiert, was ich korrigiert habe, vor deinem Beitrag noch.
Ich meinte nämlich natürlich:
Er "möchte"

Und mal abwarten, ob OTOBO tatsächlich mpm_prefork weiterhin empfiehlt und verlangt.
Aber das umgehe ich zur Zeit.
tab-kh
Posts: 450
Joined: Thu 22. Apr 2021, 23:06

Re: Otobo

Post by tab-kh »

Und weil es so unabhängig von Keyhelp ist, sieht das Panel-Login so aus wie auf deinem Bild? http2 kann mit mpm_prefork nicht funktionieren, weil mpm_prefork einige Dinge, die http2 braucht, einfach nicht leisten kann auf Grund seiner Funktionsweise. Es kann eben nicht die Ausgabe mehrerer Requests mit der selben, bereits bestehenden Netzwerkverbindung ausliefern. Jeder Request hat seinen eigenen Prozess, Threads werden nicht verwendet. Warum Otobo das braucht weiss ich nicht, ein möglicher Grund wäre, dass es Bibliotheken verwendet, die nicht thread-safe sind.

Hast du das mittlerweile wieder rückgängig gemacht? Jedenfalls wurde mir der Panel-Login vor einigen Minuten (und auch soeben wieder) ganz normal angezeigt und nicht wie auf deinem Bild. Edit: Offensichtlich ja, du hast es geändert.
Post Reply