Professional Documents
Culture Documents
Documentation
HTMLAdminManual PDFDeveloperManual PDFAdminManual HTMLDeveloperAPI HTMLITSMManual PDFITSMManual
Search
HTMLDeveloperManual
UpgradingtheOTRSFramework
UpgradingtheOTRSFramework
TheseinstructionsareforpeopleupgradingOTRSfromversion3.0to3.1,andapplybothfor RPMandsourcecode(tarball)upgrades. IfyouarerunningalowerversionofOTRSyouhavetofollowtheupgradepathto3.0first(1.1 >1.2>1.3>2.0>2.1>2.2>2.3>2.4>3.0>3.1...)! PleasenotethatifyouupgradefromOTRS2.2orearlier,youhavetotakeanextrastepplease readhttp://bugs.otrs.org/show_bug.cgi?id=6798. Withinasingleminorversionyoucanskippatchlevelreleasesifyouwanttoupgrade.For instanceyoucanupgradedirectlyfromOTRS3.1.1toversion3.1.4.Ifyouneedtodosucha "patchlevelupgrade",youshouldskipsteps9,11and1319. Pleasenotethatforupgradesfrom3.1.beta1or3.1.beta2,anadditionalstep21isneeded! IfyouareusingMicrosoftSQLServerastheDBMSforOTRS,pleaserefertothemanual, chapter"UpgradingMicrosoftSQLServerDataTypes"forinstructionshowtoupgradethedata typesusedbyOTRS(http://doc.otrs.org/3.1/en/html/upgradingmssqldatatypes.html). 1. Stopallrelevantservices. e.g.(dependsonusedservices):
selecii./rnso hl>/t/ntdcotp selecii./otitp hl>/t/ntdpsfxso selecii./pceso hl>/t/ntdaahtp
2. Backupeverythingbelow$OTRS_HOME(default:OTRS_HOME=/opt/otrs): Kre/ofgp enlCni.m Kre/ofgGnrcgn.m enlCni/eeiAetp Kre/ofgFlsZZuop enlCni/ie/ZAt.m vr* a/ aswellasthedatabase 3. Makesurethatyouhavebackedupeverything) 4. Setupnewsystem(optional)
doc.otrs.org/3.1/en/html/upgrading.html
1/6
21/01/13
withthepermissionsneededforyoursystemsetup. 8. Applythedatabasechanges(part1/2):
seld/p/ts hl>cotor/ #MSL yQ: selacit/Bpaet..yq.qyqpurots hl>ctsrpsDUdto31mslsl|mslfotor #PsgeQ.+ otrSL82: selacit/Bpaet..otrslsl|pqts hl>ctsrpsDUdto31psgeq.qslor #PsgeQ,odrvrin: otrSLleesos
doc.otrs.org/3.1/en/html/upgrading.html
2/6
21/01/13
selacit/Bpaet..otrslbfr__.qslor hl>ctsrpsDUdto31psgeq_eoe82sl|pqts
Applythedatabasechanges(part2/2):
#MSL yQ: selacit/Bpaet.otmslsl|mslfotor hl>ctsrpsDUdto31ps.yq.qyqpurots #PsgeQ.+ otrSL82: selacit/Bpaet.otpsgeq.qslor hl>ctsrpsDUdto31ps.otrslsl|pqts #PsgeQ,odrvrin: otrSLleesos selacit/Bpaet.otpsgeq_eoe82sl|pqts hl>ctsrpsDUdto31ps.otrslbfr__.qslor
9. Refreshtheconfigurationanddeletecaches.Pleaserun:
seli/tsRbidofgp hl>bnor.eulCni.l seli/tsDltCcep hl>bnor.eeeah.l
doc.otrs.org/3.1/en/html/upgrading.html
3/6
21/01/13
Nowyoucanlogintoyoursystem. 12. Checkinstalledpackages Inthepackagemanager,checkifallpackagesarestillmarkedascorrectlyinstalledorifany requirereinstallationorevenapackageupgrade. 13. Checkforencodingissues OTRS3.1onlyallowsUTF8asinternalcharset.NonUTF8installationsofOTRSmustswitch toUTF8. 14. Escalationevents Ifyouwanttousethenewescalationeventsinyoursystem,youneedtoactivatethe correspondingGenericAgentjobinKernel/Config/GenericAgent.pm.Pleaselookinto Kernel/Config/GenericAgent.pm.distforanexampleofhowtodothis. 15. TicketHistory TheTicketHistorytypeTicketFreeTextUpdatewasrenamedtoTicketDynamicFieldUpdate.If
doc.otrs.org/3.1/en/html/upgrading.html
4/6
21/01/13
youhaveanycustomreportingusingthis,pleaseadjustit. 16. Ticketeventhandlers TheEventnameTicketFreeTextUpdate_$Counterwasrenamedto TicketDynamicFieldUpdate_$FieldName.Ifyouhaveanycustomeventhandlersforthese events,pleaseadaptthem. 17. DynamicFielduserpreferencesmodule Ifyouhadoneormoreactivecustomsettingsfor"PreferencesGroups###Freetext",youneed toadaptthemtoworkwiththenewDynamicFieldsengine.ThePrefKeysettingmustbe changedto"UserDynamicField_DynamicField",wherethepartafterthe_isthenameofthe dynamicfield.Existingvalueswouldneedtoberenamedinthedatabaseaswell. 18. Customfreefielddefaultvalueeventhandler IfyouusedtheeventhandlerTicket::EventModulePost###TicketFreeFieldDefault(notactive bydefault),you'llneedtomigrateitsconfigurationtothenewsetting Ticket::EventModulePost###TicketDynamicFieldDefault. TheconfigurationofthisisslightlydifferentwhereyouhadtospecifyaCounterindicatingthe TicketFreeTextnumberpreviously,nowyouneedtospecifythenameoftheDynamicField(for migratedfields,thiswillbeDynamicField_TicketFreeKey$Counterand DynamicField_TicketFreeText$Counter.Youneedtwoseparateentriesnowifyouwanttoset boththekeyandthetextfield. 19. ACLchanges IfyouhaveanyACLsdefinedwhichinvolvefreetextorfreetimefields,youneedtoadjust theseACLdefinitions. Pleasehavealookathttp://doc.otrs.org/3.1/en/html/acl.html.Thereyoucanfindalistofall possibleACLsettings.Ingeneral,youneedtoaddtheprefix"DynamicField_"toexistingfree fielddefinitions,andyoucanaddanew"DynamicField"sectiontothe"Properties"listfor situationswhenaticketdoesnotexistyet. PleasealsonotethatsinceOTRS3.1.5,itispossibletomatcheitherthevaluesofanexisting ticketasitisonthedatabase(newsetting"PropertiesDatabase"),inadditiontotheexisting matchagainstthecurrentvaluesoftheform.Detailscanbefoundat http://doc.otrs.org/3.1/en/html/acl.html. 20. SMIMEfilenames ThisstepisONLYneededifyouuseSMIMEtoencrypt/signyouremails.Youneedtotakethis stepifyouupgradefrom3.0.xORifyouupgradefrom3.1.xbefore3.1.6whileusingOpenSSL 1.xtoencrypt/signyouremails. BetweenOTRS3.0.xand3.1.x,thefilenamingofprivatesecretfilenameschangedandneed tobeupdated.Inaddition,OpenSSL0.9.xand1.xusedifferentalgorithmstocalculatethe certificatehash.Toupdateyourprivatesecretsandcertificatefilenames,pleaserunthis command:
doc.otrs.org/3.1/en/html/upgrading.html
5/6
21/01/13
seli/tsRfehMMKy.l hl>bnor.ersSIEesp
22. Welldone!
Up Home
Next> UpgradingWindowsInstaller
Copyright20012012OTRSTeam,AllRightsReserved.Imprint
doc.otrs.org/3.1/en/html/upgrading.html
6/6