Updating OTRS 2.4.7 to New version

Moderator: crythias

Post Reply
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Updating OTRS 2.4.7 to New version

Post by gen_chuba »

Hi,
Currently I'm using a 2.4.7 version of OTRS. I want to upgrade to it's latest version which based on the CVS (http://source.otrs.org/viewvc.cgi/otrs/CHANGES?view=log) it has already 2.4.8 & 3.0.0 (beta). The reason i want to upgrade is because the feature i need is already added to those update. (Option of removing the Ticket# from the Email Subject). The problem is when i tried to copy the updated Ticket.pm and apply it to my system, i generated a lot of errors. Question, is there a way that i can update using a package which updates all the updated module in just one UPDATE?

Here's more info:
OTRS 2.4.7, installed in Windows 2003 Server.

Thanks in advance.

best regards,
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Updating OTRS 2.4.7 to New version

Post by crythias »

If you want to make the change yourself, you don't have to do the full upgrade, apparently.

Since this is the diff:
http://source.otrs.org/viewvc.cgi/otrs/ ... threv=MAIN

It seems reasonable to make a change to Ticket.pm (after backing up original) that changes the following lines in Ticket.pm:

Code: Select all

return "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;
and a few lines down ...

Code: Select all

 return $TicketSubjectRe . "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;


Any changes you make to the file are not configurable and will not survive updates.
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
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: Updating OTRS 2.4.7 to New version

Post by Mike_B »

Actually, you'd need both the change from Ticket.pm and the Ticket.xml configuration file. It would probably easiest just to hack Ticket.pm for now.

The feature you're looking for is going to be in version 3. That version is still in very active development at the moment, and I would NOT recommend to run it on production just now. We re-wrote the complete GUI and some parts are just not finished yet. We'll have a release party at 2nd of August, when the first beta of 3.0 becomes available, in three countries: Germany, the USA, and The Netherlands, were you'll have the ability to see the new version and provide feedback. I'd welcome any one of you to register for the event: http://forums.otrs.org/viewtopic.php?f=2&p=21076#p20767
--
Mike
huntingbears.nl - @michielbeijen on Twitter
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Re: Updating OTRS 2.4.7 to New version

Post by gen_chuba »

crythias wrote:If you want to make the change yourself, you don't have to do the full upgrade, apparently.

Since this is the diff:
http://source.otrs.org/viewvc.cgi/otrs/ ... threv=MAIN

It seems reasonable to make a change to Ticket.pm (after backing up original) that changes the following lines in Ticket.pm:

Code: Select all

return "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;
and a few lines down ...

Code: Select all

 return $TicketSubjectRe . "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;


Any changes you make to the file are not configurable and will not survive updates.
hi crythias, thanks. i tried your suggestion but still the ticket number appears in the subject once the reply is sent. i also don't see the TicketSubjectFormat menu in the Sysconfig of Core:Ticket configuration. any suggestions? thanks in advance. :)
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Re: Updating OTRS 2.4.7 to New version

Post by gen_chuba »

Mike_B wrote:Actually, you'd need both the change from Ticket.pm and the Ticket.xml configuration file. It would probably easiest just to hack Ticket.pm for now.

The feature you're looking for is going to be in version 3. That version is still in very active development at the moment, and I would NOT recommend to run it on production just now. We re-wrote the complete GUI and some parts are just not finished yet. We'll have a release party at 2nd of August, when the first beta of 3.0 becomes available, in three countries: Germany, the USA, and The Netherlands, were you'll have the ability to see the new version and provide feedback. I'd welcome any one of you to register for the event: http://forums.otrs.org/viewtopic.php?f=2&p=21076#p20767
--
Mike
Thanks for the info mike. :)
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Re: Updating OTRS 2.4.7 to New version

Post by gen_chuba »

Hi i have encountered problems updating Core::Ticket in Sysconfig. Details below...

Message: Can't write ConfigItem!
Traceback (5232):
Module: Kernel::Modules::AdminSysConfig::Run (v1.77) Line: 150
Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 819
Module: C:/Program Files/OTRS/OTRS/bin/cgi-bin/index.pl (v1.88) Line: 48

Any suggestions? thanks.

using OTRS on Windows 2003
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Re: Updating OTRS 2.4.7 to New version

Post by gen_chuba »

gen_chuba wrote:
crythias wrote:If you want to make the change yourself, you don't have to do the full upgrade, apparently.

Since this is the diff:
http://source.otrs.org/viewvc.cgi/otrs/ ... threv=MAIN

It seems reasonable to make a change to Ticket.pm (after backing up original) that changes the following lines in Ticket.pm:

Code: Select all

return "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;
and a few lines down ...

Code: Select all

 return $TicketSubjectRe . "[$TicketHook$TicketHookDivider$Param{TicketNumber}] " . $Subject;


Any changes you make to the file are not configurable and will not survive updates.
hi crythias, thanks. i tried your suggestion but still the ticket number appears in the subject once the reply is sent. i also don't see the TicketSubjectFormat menu in the Sysconfig of Core:Ticket configuration. any suggestions? thanks in advance. :)
Hi, the tweak already works. Thanks! my problem right now is the Error: Can't write ConfigItem!
gen_chuba
Znuny newbie
Posts: 6
Joined: 29 Jun 2010, 10:07
Znuny Version: 2.4.7

Re: Updating OTRS 2.4.7 to New version

Post by gen_chuba »

another problem... upon clicking ADMIN > sysconfig it return me http 500 error... any ideas? Thanjks!
Post Reply