[gelöst] Znuny, Umzug auf ein frisches Debian 11

Allgemein Fragen, deutsche News, Ankündigungen & Events zum OTRS
Post Reply
GustavG
Znuny expert
Posts: 275
Joined: 26 Nov 2014, 15:56
Znuny Version: Znuny 6.3.4
Real Name: Gerlach

[gelöst] Znuny, Umzug auf ein frisches Debian 11

Post by GustavG »

Hallo,

ich ziehe gerade ein Znuny 6.0.34 auf ein neu installiertes Debian 11 (Bullseye) um. Dabei sind mir paar Dinge aufgefallen:

https://doc.znuny.org/doc/manual/admin/ ... -on-debian

Ganz unten steht:
The installation of required Perl modules is easier if you use the available packages:

apt-get install libapache2-mod-perl2 libdbd-mysql-perl ....
Hier fehlt das Paket libpackage-stash-perl ansonsten kommt beim Ausführen:

Code: Select all

root@service /opt # perl /opt/otrs/bin/otrs.CheckModules.pl
Can't locate Package/Stash.pm in @INC (you may need to install the Package::Stash module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /opt/otrs/Kernel/System/VariableCheck.pm line 16.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/VariableCheck.pm line 16.
Compilation failed in require at /opt/otrs/bin/otrs.CheckModules.pl line 30.
BEGIN failed--compilation aborted at /opt/otrs/bin/otrs.CheckModules.pl line 30.
root@service /opt #
Außerdem könnte man auch gleich die Pakete libcss-minifier-xs-perl libdatetime-perl libdbd-odbc-perl libdbd-pg-perl libjavascript-minifier-xs-perl libauthen-ntlm-perl libmoo-perl mit hinzufügen, die man dann sowieso nach installiert, oder würdet ihr die über CPAN installieren? Aber darüber installierte Pakete werden nicht aktualisiert so wie über apt, oder?

Und die Ausgabe von /opt/otrs/bin/otrs.CheckModules.pl:
Jq...............................Not installed! (optional - Support for extended condition checking via Jq for the generic interface.)
Wäre sinnvoll, da mal etwas mehr hinzuschreiben - was ist "Jq", jquery? Welches Paket ist hier gemeint?

Entschuldigung, ich weiß, das ist Jammern auf höchstem Niveau.
Last edited by GustavG on 06 Sep 2021, 07:40, edited 1 time in total.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Znuny, Umzug auf ein frisches Debian 11

Post by root »

Hi,
GustavG wrote: 01 Sep 2021, 14:58 Hallo,

ich ziehe gerade ein Znuny 6.0.34 auf ein neu installiertes Debian 11 (Bullseye) um. Dabei sind mir paar Dinge aufgefallen:

https://doc.znuny.org/doc/manual/admin/ ... -on-debian

Ganz unten steht:
The installation of required Perl modules is easier if you use the available packages:

apt-get install libapache2-mod-perl2 libdbd-mysql-perl ....
Sorry, aber das ist halt noch die Doku von "alten" Hersteller. Da gab es halt noch kein Debian 11 und ich denke mal das libpackage-stash-perl kam da evtl. als Abhängigkeit woanders mit. Aber nur eine Vermutung.
GustavG wrote: 01 Sep 2021, 14:58 Außerdem könnte man auch gleich die Pakete libcss-minifier-xs-perl libdatetime-perl libdbd-odbc-perl libdbd-pg-perl libjavascript-minifier-xs-perl libauthen-ntlm-perl libmoo-perl mit hinzufügen, die man dann sowieso nach installiert, oder würdet ihr die über CPAN installieren? Aber darüber installierte Pakete werden nicht aktualisiert so wie über apt, oder?
Also was geht würde ich immer per apt installieren. Was per CPAN kommt muss man halt auch mal manuell auf Updates checken.
GustavG wrote: 01 Sep 2021, 14:58 Und die Ausgabe von /opt/otrs/bin/otrs.CheckModules.pl:
Jq...............................Not installed! (optional - Support for extended condition checking via Jq for the generic interface.)
Wäre sinnvoll, da mal etwas mehr hinzuschreiben - was ist "Jq", jquery? Welches Paket ist hier gemeint?
Das Paket ist ja optional und heisst nun mal Jq - https://metacpan.org/dist/Jq - daran werden auch wir nichts ändern können.

Es wird auch nur in bestimmten Fällen beim Invoker benötigt wenn man die Bedingungen in der Datestruktur etwas komplexer benötigt. jq muss man schon kennen, das ist wie mit regulären Ausdrücken.

GustavG wrote: 01 Sep 2021, 14:58 Entschuldigung, ich weiß, das ist Jammern auf höchstem Niveau.
Alles gut, sobald die Doku bei GitHub steht sind Pull Requests willkommen ;-)

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
GustavG
Znuny expert
Posts: 275
Joined: 26 Nov 2014, 15:56
Znuny Version: Znuny 6.3.4
Real Name: Gerlach

Re: Znuny, Umzug auf ein frisches Debian 11

Post by GustavG »

Hallo Roy,

danke für deine Geduld 8)
root wrote: 01 Sep 2021, 16:46 Das Paket ist ja optional und heisst nun mal Jq - https://metacpan.org/dist/Jq - daran werden auch wir nichts ändern können.

Es wird auch nur in bestimmten Fällen beim Invoker benötigt wenn man die Bedingungen in der Datestruktur etwas komplexer benötigt. jq muss man schon kennen, das ist wie mit regulären Ausdrücken.
Alles klar, falls mal jemand die gleiche Frage hat, ein apt install jq installiert das Paket.
Alles gut, sobald die Doku bei GitHub steht sind Pull Requests willkommen ;-)
Prima, darauf freue ich mich.
Matze
Znuny newbie
Posts: 11
Joined: 25 Sep 2021, 14:29
Znuny Version: 6.0
Real Name: Matthias Ammerich

Re: Znuny, Umzug auf ein Linux 15 SP1

Post by Matze »

Hallo,

ich versuche gerade die Version rel-6_2-dev in meiner Umgebung einzurichten. Beim otrs.CheckModules.pl wurde das Modul Jq als optionale Erweiterung angezeigt. Mit der Installation über cpan Jq wurde leider ein negatives Testergebnis geliefert.

Weiß vielleicht jemand wir der Fehler behoben werden kann?

Die Systemumgebung ist ein Suse Linux 15 mit SP 1 und einer Perl Version 5.26.1.

Die Meldung aus dem CPAN Install habe ich als Bild angehangen.

Danke.
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: [gelöst] Znuny, Umzug auf ein frisches Debian 11

Post by root »

Hi,

command jq not found ist doch aussagekräftig. Es fehlt noch das binary jq

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Matze
Znuny newbie
Posts: 11
Joined: 25 Sep 2021, 14:29
Znuny Version: 6.0
Real Name: Matthias Ammerich

Re: [gelöst] Znuny, Umzug auf ein frisches Debian 11

Post by Matze »

Danke für den Hinweis, bin noch nicht kann ganz konform im Umgang mit Linux.

zypper install Jq -- hat gefehlt.

Danach funktioniert jetzt auch die Installation aus dem CPAN.

Vielen Dank.
Post Reply