Installation on Ubuntu 24.04 LTS

Moderator: crythias

Post Reply
MattBlissett
Znuny newbie
Posts: 2
Joined: 19 Dec 2024, 15:49
Znuny Version: 6.5.6
Real Name: Matthew Blissett
Company: GBIF

Installation on Ubuntu 24.04 LTS

Post by MattBlissett »

Hi,

I tried installing Znuny on Ubuntu 24.04 (LTS) using packages from the default repository.

Is Znuny intended to work on Ubuntu 24.04? "Ubuntu" is given on https://doc.znuny.org/znuny_lts/release ... stall.html, although the specific installation instructions using Apt are missing.

This check:

Code: Select all

  /usr/share/otrs/bin/otrs.CheckModules.pl --all
showed two missing dependencies:

Code: Select all

  o Mozilla::CA......................Not installed! To install, you can use: 'cpan Mozilla::CA'. (required)
  o SOAP::Lite.......................Not installed! To install, you can use: 'cpan SOAP::Lite'. (required)
I installed them with

Code: Select all

apt install libmozilla-ca-perl libsoap-lite-perl
; perhaps they should be added as dependencies of the package.

After setting up reading incoming email from an MS365 mailbox, there were errors from the MailAccountFetch task:

Code: Select all

Dec 19 13:12:07 znuny.gbif.org OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-10[91741]: [Error][Kernel::System::PostMaster::Run][Line:172]: 
Can't locate Sisimai/Data.pm in @INC (you may need to install the Sisimai::Data module) (@INC entries checked: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/otrs /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/share/otrs/Kernel/System/PostMaster/Filter/DetectBounceEmail.pm line 15.
BEGIN failed--compilation aborted at /usr/share/otrs/Kernel/System/PostMaster/Filter/DetectBounceEmail.pm line 15.
Compilation failed in require at /usr/share/otrs/Kernel/System/Main.pm line 86.
It looks like Znuny is written for Sisimai 4, but the installed libsisimai-perl package is Sisimai 5, where Sisimai::Data has been renamed to Sisimai::Fact: https://metacpan.org/dist/Sisimai/changes#L124

Since we are only evaluating Znuny, I have hacked it to work with

Code: Select all

apt install cpanminus; dpkg -r --force-depends libsisimai-perl; cpanm Sisimai@4.25.16
— though this leaves Apt in a broken state.

It would probably be most useful if the installation page for Znuny LTS gave recommendations for Linux distribution versions.
root
Administrator
Posts: 4175
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Installation on Ubuntu 24.04 LTS

Post by root »

Hi,

Which version do you try to install?

- 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 ?
root
Administrator
Posts: 4175
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Installation on Ubuntu 24.04 LTS

Post by root »

root wrote: 20 Dec 2024, 16:01 Hi,

Which version do you try to install? From your Linux distribution?

- 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 ?
MattBlissett
Znuny newbie
Posts: 2
Joined: 19 Dec 2024, 15:49
Znuny Version: 6.5.6
Real Name: Matthew Blissett
Company: GBIF

Re: Installation on Ubuntu 24.04 LTS

Post by MattBlissett »

Hi,

Yes, the version from Ubuntu 24.04, which is 6.5.1-1:

Code: Select all

# apt show znuny
Package: znuny
Version: 6.5.6-1
Priority: optional
Section: multiverse/web
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Patrick Matthäi <pmatthaei@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 266 kB
Depends: otrs2
Homepage: https://github.com/znuny/Znuny
Download-Size: 3276 B
APT-Manual-Installed: yes
APT-Sources: http://dk.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages
Description: flexible web-based ticketing system
 Znuny is a fork of the OTRS community edition, one of the most flexible
 web-based ticketing systems used for Customer Service, Help Desk, IT Service
 Management.
root
Administrator
Posts: 4175
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Installation on Ubuntu 24.04 LTS

Post by root »

Hi,

Znuny does not support this kind of installation, this is why it's not mentioned in the documentation. E.g., the Perl modules you're missing are part of the Znuny version. I do not know how to use the version you use; maybe there is Deban-related documentation available.

- 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 ?
Post Reply