[SOLVED]Trying to upgrade otrs

Moderator: crythias

Locked
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

[SOLVED]Trying to upgrade otrs

Post by Lubomirsb »

Hello !
I want to upgrade otrs 3.2.9 to the latest 3.3.6 and first i need to install otrs 3.2.10. I am using Centos 6.5 and made a backup copy on the whole system.
The problem is that i am not so good with Linux so i dont know what exactly to do. First i stuck here:
1. Stopping the services -> ok
2. # rpm -Uvh --test otrs-3.2.10-01.rpm
error: open of otrs-3.2.10-01.rpm failed: No such file or directory

This is the problem. There is not such a package ? Or I am doing something wrong ?
Last edited by Lubomirsb on 12 May 2014, 13:58, edited 1 time in total.
OTRS 3.3.4 ,Centos 6.5
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Trying to upgrade otrs

Post by RStraub »

Did you download it?

Check this page, it seems these are the rpms you are looking for:
http://ftp.gwdg.de/pub/linux/otrs/RPMS/rhel/6/
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

RStraub wrote:Did you download it?

Check this page, it seems these are the rpms you are looking for:
http://ftp.gwdg.de/pub/linux/otrs/RPMS/rhel/6/
I didnt. Is there a specific location where the file must be stored ?
OTRS 3.3.4 ,Centos 6.5
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Trying to upgrade otrs

Post by RStraub »

I didn't upgrade OTRS yet - but I wouldn't think that the rpm needs a specific location, no.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

RStraub wrote:I didn't upgrade OTRS yet - but I wouldn't think that the rpm needs a specific location, no.
Thank you !
[root@beast otrs]# rpm -Uvh --test otrs-3.2.10-02.noarch.rpm
Preparing... ########################################### [100%]
package otrs-3.3.3-01.noarch (which is newer than otrs-3.2.10-02.noarch) is already installed

This is what i get. There are currently people working so i will do the installation later.
I just dont know why it says that i have installed 3.3.3 ? Strange
OTRS 3.3.4 ,Centos 6.5
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Trying to upgrade otrs

Post by RStraub »

Hehe, neither do I :)

Try this: Navigate to your otrs root (/opt/otrs?) and do 'cat RELEASE'. Please Post the Version it reads.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

RStraub wrote:Hehe, neither do I :)

Try this: Navigate to your otrs root (/opt/otrs?) and do 'cat RELEASE'. Please Post the Version it reads.
PRODUCT = OTRS
VERSION = 3.2.9
BUILDDATE = Do Jul 4 11:18:47 CEST 2013
BUILDHOST = otrsbuild.otrs.com

So its ok, I think that --test is bugged somehow :)
OTRS 3.3.4 ,Centos 6.5
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

I need some help. When i try to upgrade this happens:
rpm -Uvh otrs-3.2.10-02.noarch.rpm
Preparing... ########################################### [100%]
package otrs-3.3.3-01.noarch (which is newer than otrs-3.2.10-02.noarch) is already installed

Any ideas ?
OTRS 3.3.4 ,Centos 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trying to upgrade otrs

Post by crythias »

Lubomirsb wrote:package otrs-3.3.3-01.noarch (which is newer than otrs-3.2.10-02.noarch) is already installed
In English, it means your package manager thinks otrs-3.3.3 is already installed, and you're trying to install 3.2.10

Somehow, the version you're running is not the version of the installed RPM.

"What do I do about it?"

Source upgrade the one you're running.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

crythias wrote:
Lubomirsb wrote:package otrs-3.3.3-01.noarch (which is newer than otrs-3.2.10-02.noarch) is already installed
In English, it means your package manager thinks otrs-3.3.3 is already installed, and you're trying to install 3.2.10

Somehow, the version you're running is not the version of the installed RPM.

"What do I do about it?"

Source upgrade the one you're running.
Thank you but what do you mean by "Source upgrade" ?
OTRS 3.3.4 ,Centos 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trying to upgrade otrs

Post by crythias »

Source Upgrade = download the source (3.2.16 or 3.3.6) and read UPGRADING.md (3.2.16) or UPGRADING.md (3.3.6) according to documentation.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

crythias wrote:Source Upgrade = download the source (3.2.16 or 3.3.6) and read UPGRADING.md (3.2.16) or UPGRADING.md (3.3.6) according to documentation.
Ok I will do it , its just i thought that i need to upgrade it like 3.2.9 to 3.2.10 .... to 3.3.0 to 3.3.1
And why 3.2.16 or 3.3.7 ? In my case it says that 3.3.3 its the current version and 3.2.16 its also lower.
So i must just skip some upgrades and go for 3.3.3 ?
OTRS 3.3.4 ,Centos 6.5
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

Also this shows that I am currently at 3.2.9

cat RELEASE
PRODUCT = OTRS
VERSION = 3.2.9
BUILDDATE = Do Jul 4 11:18:47 CEST 2013
BUILDHOST = otrsbuild.otrs.com
OTRS 3.3.4 ,Centos 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trying to upgrade otrs

Post by crythias »

Lubomirsb wrote:Also this shows that I am currently at 3.2.9
I did not overlook that post. It does not change the information provided.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

crythias wrote:
Lubomirsb wrote:Also this shows that I am currently at 3.2.9
I did not overlook that post. It does not change the information provided.
So ok i will upgrade straight to 3.3.3
I hope that this is going to be ok :)
OTRS 3.3.4 ,Centos 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trying to upgrade otrs

Post by crythias »

Lubomirsb wrote:
crythias wrote:Source Upgrade = download the source (3.2.16 or 3.3.6) and read UPGRADING.md (3.2.16) or UPGRADING.md (3.3.6) according to documentation.
Ok I will do it , its just i thought that i need to upgrade it like 3.2.9 to 3.2.10 .... to 3.3.0 to 3.3.1
And why 3.2.16 or 3.3.7 ? In my case it says that 3.3.3 its the current version and 3.2.16 its also lower.
So i must just skip some upgrades and go for 3.3.3 ?
Paraphrased: if you're on 3.2.x, you should upgrade to 3.3.latest. Please don't over-analyze this. From the linked documentation:
If you are running a lower version of OTRS you have to follow the upgrade path to 3.2 first (1.1->1.2->1.3->2.0->2.1->2.2->2.3->2.4->3.0->3.1->3.2->3.3 ...)! You need to perform a full upgrade to every version in between, including database changes and the upgrading perl script.
It's always 3.x.current -> 3.x.latest or 3.x.current -> 3.x+1.latest -> 3.x+2->latest ... 3.latest.latest, etc.
Last edited by crythias on 09 May 2014, 15:00, edited 2 times in total.
Reason: Reduced release to 3.3.6 because 3.3.7 isn't supposed to be announced until 5-13-14, even though it's tagged in github
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

Everything went good. Just one question
In " /Kernel/Output/HTML/Standard/CustomerTicketMessage " there is no CustomerID in the hidden fields. How i can add it ?
OTRS 3.3.4 ,Centos 6.5
Lubomirsb
Znuny newbie
Posts: 83
Joined: 15 Nov 2013, 15:19
Znuny Version: 4.0.13
Real Name: Lubomir
Company: Expert-M

Re: Trying to upgrade otrs

Post by Lubomirsb »

Someone ? :(
OTRS 3.3.4 ,Centos 6.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Trying to upgrade otrs

Post by crythias »

Your question is off topic for this post and confusing.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked