What is suggested as successor of CentOS for Znuny?

Moderator: crythias

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

What is suggested as successor of CentOS for Znuny?

Post by hkais »

hi there,

I am searching for a solution for the new OS for Znuny. Sadly CentOS stopped LTS support and thus I am not having a clear path for long term planning on Znuny.

What do you suggest to switch to from CentOS as LTS?
Rocky Linux, Alma Linux? something else?

Also wondering why znuny does not have debian packages, to be able to install it properly on Ubuntu LTS or debian. This would be my absolute preferred path. CentOS was only a solution to avoid the crappy maintained otrs package in debian/ubuntu repo
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: What is suggested as successor of CentOS for Znuny?

Post by jojo »

tar.gz works fine on nearly all Linux OS. The distriution should have a propper perl support. I typically choose Ubuntu
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: What is suggested as successor of CentOS for Znuny?

Post by hkais »

how do you maintain the extensions and other additional stuff, which need to be installed into otrs?

How did you move from package managed OTRS to tar.gz?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: What is suggested as successor of CentOS for Znuny?

Post by jojo »

the needed modules can be checked via bin/otrs.CheckModules.pl

Ubuntu package manager and cpan can be used to maintain the environment

Installation is quite easy, just take the database and all config files, article data and S/MIME and PGP keys with you...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: What is suggested as successor of CentOS for Znuny?

Post by root »

Hi,
hkais wrote: 08 Aug 2021, 18:17 how do you maintain the extensions and other additional stuff, which need to be installed into otrs?
What additional stuff you talk about? Extensions are persistent in the database. Reinstalling them if needed requires just a bin/otrs.Console.pl Admin::Package::Reinstall.

hkais wrote: 08 Aug 2021, 18:17 How did you move from package managed OTRS to tar.gz?
This depends on how many files you've touched which are not packaged. I would do it like this

mv /opt/otrs /opt/otrs-rpm
cd /opt
yum remove otrs
wget https://download.znuny.org/releases/znu ... 6.0.tar.gz
tar xfz znuny-latest-6.0.tar.gz
ln -s /opt/znuny-6.0.36 /opt/otrs
/opt/otrs/bin/otrs.SetPermissions.pl
ln -s /opt/otrs/scripts/apache2-httpd.include.conf /etc/httpd/conf.d/zzz_otrs.conf
cp -a /opt/otrs-rpm/Kernel/Config.pm /opt/otrs/Kernel/
su -c 'scripts/DBUpdate-to-6.pl --non-interactive' - otrs
su -c 'bin/otrs.Console.pl Admin::Package::ReinstallAll' - otrs

Depending of the setting Ticket::Article::Backend::MIMEBase::ArticleStorage you also need to restore your articles. I recommend moving them out of the directory and change the sysconfig for this location, Check custom crontabs, etc.

- 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: What is suggested as successor of CentOS for Znuny?

Post by hkais »

big thx for your helpful reply
root wrote: 08 Aug 2021, 22:19 Hi,
hkais wrote: 08 Aug 2021, 18:17 how do you maintain the extensions and other additional stuff, which need to be installed into otrs?
What additional stuff you talk about? Extensions are persistent in the database. Reinstalling them if needed requires just a bin/otrs.Console.pl Admin::Package::Reinstall.
right now, not sure anymore if extension files are also persisted into database or if files are placed in filesystem and referenced by database provided path in filesystem?

root wrote: 08 Aug 2021, 22:19
hkais wrote: 08 Aug 2021, 18:17 How did you move from package managed OTRS to tar.gz?
This depends on how many files you've touched which are not packaged. I would do it like this
root wrote: 08 Aug 2021, 22:19
mv /opt/otrs /opt/otrs-rpm
cd /opt
yum remove otrs
wget https://download.znuny.org/releases/znu ... 6.0.tar.gz
tar xfz znuny-latest-6.0.tar.gz
ln -s /opt/znuny-6.0.36 /opt/otrs
/opt/otrs/bin/otrs.SetPermissions.pl
ln -s /opt/otrs/scripts/apache2-httpd.include.conf /etc/httpd/conf.d/zzz_otrs.conf
cp -a /opt/otrs-rpm/Kernel/Config.pm /opt/otrs/Kernel/
su -c 'scripts/DBUpdate-to-6.pl --non-interactive' - otrs
su -c 'bin/otrs.Console.pl Admin::Package::ReinstallAll' - otrs
okay will give it a shoot to migrate from centOS back to ubuntu
root wrote: 08 Aug 2021, 22:19 Depending of the setting Ticket::Article::Backend::MIMEBase::ArticleStorage you also need to restore your articles. I recommend moving them out of the directory and change the sysconfig for this location, Check custom crontabs, etc.
is there an easy way to check all configured file system locations in SysConfig DB or in filesystem, or which are set to defaults by maintained rpm/deb packages?
Intetion is to verify all paths before migrating
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
Post Reply