RESOLVED: OTRS 6.0.14 to 6.0.17

Moderator: crythias

Post Reply
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

RESOLVED: OTRS 6.0.14 to 6.0.17

Post by tupson »

Greetings,

As much as I have read the OTRS Admin Manual, it is not clear at all how to upgrade within an in-line patch level of a major version.

Can someone give me a better description on how I can simply upgrade my OTRS 6.0.14 to .17?

I am not a Linux guy by default, so writing instructions as if everyone is privy; isn't helpful for me.
Last edited by tupson on 04 Apr 2019, 21:23, edited 1 time in total.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 6.0.14 to 6.0.17

Post by root »

Hi,

First of all, it depends on the Linux distribution and how you installed OTRS (rpm vs. .tar.gz).

- 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 ?
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS 6.0.14 to 6.0.17

Post by tupson »

Running CentOS7 and utilized

wget: sudo wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/ ... noarch.rpm

sudo yum install otrs-[version].rpm --nogpgcheck (run twice if first attempt fails)

I followed this KB: https://www.howtoforge.com/tutorial/how ... -centos-7/
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS 6.0.14 to 6.0.17

Post by tupson »

Looking at the default OTRS Community instructions; I pulled pieces I think apply to me (.RPM) and listed steps out like so:

https://doc.otrs.com/doc/manual/admin/6 ... ating.html


** Stop Services, Daemon and Cron Job **
root> /etc/init.d/cron stop
root> /etc/init.d/postfix stop
root> /etc/init.d/apache stop

otrs> cd /opt/otrs/
otrs> bin/Cron.sh stop
otrs> bin/otrs.Daemon.pl stop


** Backup Config File **
launch WinSCP and go into /opt/otrs/Kernel/ and create a local copy of Config.pm


** Download & Install .RPM **
sudo wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/ ... noarch.rpm

sudo yum install otrs-6.0.17-01.noarch.rpm --nogpgcheck (auto restores config files and sets file permissions)


** Migration script **
otrs> cd /opt/otrs/
otrs> scripts/DBUpdate-to-6.pl


** Update Installed Packages **
otrs> cd /opt/otrs/
otrs> bin/otrs.Console.pl Admin::Package::UpgradeAll


** Restart Services, Start Daemon and Cron Job **
root> /etc/init.d/apache start
root> /etc/init.d/postfix start
root> /etc/init.d/cron start

otrs> cd /opt/otrs/
otrs> bin/otrs.Daemon.pl start
otrs> bin/Cron.sh start


If this is correct how do you swap between the Root and OTRS user ?
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS 6.0.14 to 6.0.17

Post by tupson »

Is anyone able to give me feedback on this?
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS 6.0.14 to 6.0.17

Post by wurzel »

Hi,

follow the upgrading steps on doc.otrs.org

Switching between Users is linux basic know how.


By the way, this is a volunteer forum. If you need help, go for professional services.


regards
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: OTRS 6.0.14 to 6.0.17

Post by tupson »

wurzel wrote: 27 Mar 2019, 19:45 Hi,

follow the upgrading steps on doc.otrs.org

Switching between Users is linux basic know how.


By the way, this is a volunteer forum. If you need help, go for professional services.


regards
Florian
The first post indicated "As much as I have read the OTRS Admin Manual, it is not clear at all how to upgrade within an in-line patch level of a major version."

I then followed up with writing out what made sense to me in that post and asked if I was understanding it correctly.

I am aware this is a volunteer forum, which volunteers provide "help;" if they are able. If you are unable, than there is no need to entertain my post.

Lastly, anything you consider "Basic know how" would make sense to someone that deals with Linux regularly or any product/service/hardware. But for someone like myself who is new to Linux for the benefit of using this product, your statement again wasn't called for.

Thanks for nothing though.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: OTRS 6.0.14 to 6.0.17

Post by wurzel »

Hi,

test it on your machine following your steps. They look fine. Ask specific questions if errors occur.
Lastly, anything you consider "Basic know how" would make sense to someone that deals with Linux regularly or any product/service/hardware. But for someone like myself who is new to Linux for the benefit of using this product, your statement again wasn't called for.
This is OTRS forum, not Linux.

First you have to get linux knowledge, then you can proceed. You need more knowledge about webservers, editing config files, sql and so on...

Regards
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

RESOLVED: OTRS 6.0.14 to 6.0.17

Post by tupson »

For anyone interested in this scenario (doing an inline update to the current RPM version), all you have to do is the following:

** Download & Install .RPM **
sudo wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/<nameofrpm.rpm> [current] name of your current version (i.e 4, 5, 6)

sudo yum install <nameofrpm.rpm> --nogpgcheck (auto restores config files and sets file permissions) - may have to run it twice if the first attempt fails.

But this successfully updated me from v6.0.14.0 to v6.0.17.0
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
Post Reply