[solved] Ubuntu 20.04 Jq not installed

Moderator: crythias

Post Reply
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

[solved] Ubuntu 20.04 Jq not installed

Post by hkais »

trying to upgrade to Znuny 6.1 and hanging on a minor issue

Code: Select all

/opt/otrs# ./bin/otrs.CheckModules.pl --all

Jq...............................Not installed!
but

Code: Select all

/opt/otrs# jq
jq - commandline JSON processor [version 1.6]

Usage:	jq [options] <jq filter> [file...]
jq is installed?

Have I missed something?
Last edited by hkais on 23 May 2022, 14:51, edited 1 time in total.
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ubuntu 20.04 Jq not installed

Post by root »

hkais wrote: 21 May 2022, 22:14 Have I missed something?
Hi,

Yes: jq ist the binary and Jq the Perl binding. otrs.CheckModules.pl checks only for Perl bindings.

- 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 ?
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Ubuntu 20.04 Jq not installed

Post by hkais »

hi Roy,

I assume https://metacpan.org/pod/JSON::JQ is the package?

Is there a debian/ubuntu maintained deb package for it?

If not, the install goes with

Code: Select all

sudo apt install cpanminus
sudo cpanm JSON::JQ

sudo -u otrs /opt/otrs/bin/otrs.CheckModules.pl |grep Jq
  o Jq...............................Not installed! (optional - Support for extended condition checking via Jq for the generic interface.)
and thus is still not found?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ubuntu 20.04 Jq not installed

Post by root »

hkais wrote: 23 May 2022, 12:31
I assume https://metacpan.org/pod/JSON::JQ is the package?
Hi,

Honestly, I don't know if there is a Debian/Ubuntu package. But I can tell you that JSON::JQ is not Jq, I have no idea from where you got this JSON:: prefix. https://metacpan.org/dist/Jq is it.

- 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 ?
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Ubuntu 20.04 Jq not installed

Post by skullz »

Code: Select all

shell > cpan Jq
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Ubuntu 20.04 Jq not installed

Post by hkais »

thank you, Jq did it
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
Post Reply