How to upgrade OTRS?
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 16 Sep 2010, 19:04
- Znuny Version: 2.4.7
- Location: Roodepoort, South Africa
- Contact:
How to upgrade OTRS?
Good day,
Thanks for reading.
This must be a very simple answer but for the life of me I cannot find the solution
Please explain how I can upgrade our installation of OTRS from 2.4.7 to 2.4.8?
Kind regards
George
Thanks for reading.
This must be a very simple answer but for the life of me I cannot find the solution
Please explain how I can upgrade our installation of OTRS from 2.4.7 to 2.4.8?
Kind regards
George
OTRS: 2.4.8 + ITSM 2.0.3
Win 2008
MySQL-Version: 5.0.45
Win 2008
MySQL-Version: 5.0.45
Re: How to upgrade OTRS?
Please fill your personal signature in in the OTRS forum with information about your OTRS system / release / version
Are you using a Windows or Linux server?
For Linux I know there is an "UPGRADING" file located in the OTRS mainfolder.
Upgrading from 2.4.X to another 2.4.X is not really critical, it gets more "difficult" when upgrading to a "major" version, for example to 2.5.X (if this release will ever be created).
One more thing:
I guess since yesterday, 2.4.8 is the latest release

Are you using a Windows or Linux server?
For Linux I know there is an "UPGRADING" file located in the OTRS mainfolder.
Upgrading from 2.4.X to another 2.4.X is not really critical, it gets more "difficult" when upgrading to a "major" version, for example to 2.5.X (if this release will ever be created).
One more thing:
I guess since yesterday, 2.4.8 is the latest release

OTRS: 2.4.9 + ITSM 2.1.1 + CiCS 3.3.5
SLES 11
MySQL-Version: 5.1.49
SLES 11
MySQL-Version: 5.1.49
-
- Znuny newbie
- Posts: 4
- Joined: 16 Sep 2010, 19:04
- Znuny Version: 2.4.7
- Location: Roodepoort, South Africa
- Contact:
Re: How to upgrade OTRS?
Thanks Dizzy,
I updated my profile signature as you sugested.
Now back to my question - so how do I upgrade from 2.4.7 -> 2.4.8 on Windows?
I hoped that I can use the "package manager" but its apparently NOT that easy.
Regards
George
I updated my profile signature as you sugested.
Now back to my question - so how do I upgrade from 2.4.7 -> 2.4.8 on Windows?
I hoped that I can use the "package manager" but its apparently NOT that easy.
Regards
George
OTRS: 2.4.8 + ITSM 2.0.3
Win 2008
MySQL-Version: 5.0.45
Win 2008
MySQL-Version: 5.0.45
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to upgrade OTRS?
Read the UPGRADING file in the source code.
(Although, if you read the Release notes, and the Security Advisory, you could get away with only replacing certain files:
1) Backup your existing directory. linux users can2) backup your database (optional, but there is a chance you've never backed up your database. It happens, and now's your chance).
3) stop service cronw I don't see a need to stop your database, or your email server (postfix? really?). Stopping apache is up to you, though the users may experience flakiness while the upgrade is performed
3) extract the 2.4.8 source code on top of your otrs
4) perl otrs/bin/Set permissions.pl (may only be necessary for Linux) I don't know if my cheat is adequate, but for Ubuntu seems to make it work well enough... Use that at your own risk.
5) start any service you stopped.
6) test
I do hope if I made a mistake, someone might point to what I missed.
(Although, if you read the Release notes, and the Security Advisory, you could get away with only replacing certain files:
Basically, it appears there is no significant database schema difference here (there is a parenthesis removed in the sample notifications. No apparent schema changes), so the UPGRADING file is a bit overkill (in my opinion).As a workaround it's also possible to replace the following files by a version
that has been fixed.
o OTRS 2.4.x:
o Kernel/Output/HTML/Standard/AgentStatsOverview.dtl v1.7.2.1
o Kernel/Modules/AdminCustomerUser.pm v1.57.2.1
o Kernel/Modules/AdminCustomerUserGroup.pm v1.18.2.2
o Kernel/Output/HTML/Standard/AdminCustomerUserGroupForm.dtl v1.10.2.1
o Kernel/Modules/CustomerTicketOverView.pm v1.50.2.1
o Kernel/System/HTMLUtils.pm v1.12.2.3
1) Backup your existing directory. linux users can
Code: Select all
tar czvf otrs247pre248.tar.gz /opt/otrs
3) stop service cronw I don't see a need to stop your database, or your email server (postfix? really?). Stopping apache is up to you, though the users may experience flakiness while the upgrade is performed
3) extract the 2.4.8 source code on top of your otrs
4) perl otrs/bin/Set permissions.pl (may only be necessary for Linux) I don't know if my cheat is adequate, but
Code: Select all
chmod -R www-data:www-data /opt/otrs
5) start any service you stopped.
6) test
I do hope if I made a mistake, someone might point to what I missed.
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
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
-
- Znuny newbie
- Posts: 4
- Joined: 16 Sep 2010, 19:04
- Znuny Version: 2.4.7
- Location: Roodepoort, South Africa
- Contact:
Re: How to upgrade OTRS?
Hi crythias,
Thanks for the details but, does that mean that there is no "easy" (click next) upgrade mechanism?
Not being a technichal person, having to run those commands scares me
Something ike the "package manager" is simple and easy and I was hoping that I can do it using that.
Regards
George
Thanks for the details but, does that mean that there is no "easy" (click next) upgrade mechanism?
Not being a technichal person, having to run those commands scares me

Something ike the "package manager" is simple and easy and I was hoping that I can do it using that.
Regards
George
OTRS: 2.4.8 + ITSM 2.0.3
Win 2008
MySQL-Version: 5.0.45
Win 2008
MySQL-Version: 5.0.45
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to upgrade OTRS?
If you wish to ignore everything, go ahead and extract the 2.4.8 source on top of 2.4.7.
I strongly recommend making backups of your OTRS directory and database first.
I strongly recommend making backups of your OTRS directory and database first.
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
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
Re: How to upgrade OTRS?
After many troubled days trying to update OTRS from 3.2.8 to 3.2.9 on Linux I finally yound this thread. It worked great.
Thank you crythias!!!
Thank you crythias!!!
Productiv: OTRS 3.3.3, ITSM 3.3.3
Testing: OTRS 3.3.5, ITSM 3.3.5
OS: Debian 7
Apache2/MySQL 5+
Testing: OTRS 3.3.5, ITSM 3.3.5
OS: Debian 7
Apache2/MySQL 5+
Re: How to upgrade OTRS?
i have 2.4.5 version set up and i need to get to 3.2.x
do i need go 2.4.6... or i can go 2.4.x to 3.0.0 then 3.1 3.2 then minor patches?
do i need go 2.4.6... or i can go 2.4.x to 3.0.0 then 3.1 3.2 then minor patches?