ERROR: can't locate OptionStrgHashRef - workaround

Just installing otrs 3.0.5 into our test system, and found that this error occurs in a number of modules where they’ve not been upgraded yet. Changing the keyword to BuildSelection will work around some of them, and at least allow you to logon. One big issue is if you had AgentTicketSearchProfile on, then you can’t logon because of the error and you also get a corrupt menu when you do. If you can, switch this *off* before starting the upgrade. If you’ve already got stuck for this, then this workaround worked for us: 1. Stop service 2. Edit Kernel/Config/Files/ZZZAuto.pm and remove the lines: $Self->{'Frontend::NavBarModule'}->{'1-Ticket::TicketSearchProfile'} = { 'Block' => 'ItemSearchProfile', 'Description' => 'Search-Template', 'MaxWidth' => '40', 'Module' => 'Kernel::Output::HTML::NavBarTicketSearchProfile', 'Name' => 'Search-Template' }; 3. Restart the service. This allows you to get in and upgrade the various modules. Note that the template search is now a built-in option on all searches. Hope this is helpful, -- Steve Durbin Group Manager: Applications Delivery/Cyfarwyddwr Grŵp: Trosglwyddo Rhaglenni Bridgend County Borough Council/Cyngor Bwrdeistref Sirol Pen-y-Bont ar Ogwr Tel/Rhif ffon: 01656 642113 Mob/ffon symudol: 07976 271559 Fax/Ffacs: 01656 642125 Web/We: http://www.bridgend.gov.uk ________________________________ E-mail may be automatically logged, monitored and/or recorded for legal purposes. Please do not print this email unless absolutely necessary. E-bost yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am resymau cyfreithiol Peidiwch ag argraffu’r neges e-bost hon oni bai fod hynny’n gwbl angenrheidiol. ________________________________________________________________________ This e-mail and any attachments transmitted with it represents the views of the individual(s) who sent them and should not be regarded as the official view of Bridgend County Borough Council. The contents are confidential and intended solely for the use of the addressee. If you have received it in error, please inform the system administrator on (+44) 01656 642111. This e-mail and any attachments have been scanned with 'MessageLabs SkyScan' - http://www.messagelabs.com/ ________________________________________________________________________ Mae'r e-bost hwn ac unrhyw atodiadau a drosglwyddir gydag ef yn cynrychioli safbwyntiau'r unigolyn a'i anfonodd (unigolion a'u hanfonodd) ac ni ddylid eu hystyried fel safbwynt swyddogol Cyngor Bwrdeistref Sirol Pen-y-bont ar Ogwr. Mae'r cynnwys yn gyfrinachol ac wedi'i fwriadu ar gyfer y sawl y'i cyfeiriwyd ato yn unig. Os ydych wedi ei dderbyn mewn camgymeriad, rhowch wybod i weinyddwr y system ar (+44) 01656 642111. Mae'r e-bost hwn ac unrhyw atodiadau wedi cael eu sganio gyda 'MessageLabs SkyScan' - http://www.messagelabs.com/ ________________________________________________________________________

Thanks for the hint Steve. Will try tomorrow.
SH
On Tue, Jan 18, 2011 at 5:30 PM, Steve Durbin
Just installing otrs 3.0.5 into our test system, and found that this error occurs in a number of modules where they’ve not been upgraded yet. Changing the keyword to BuildSelection will work around some of them, and at least allow you to logon.
One big issue is if you had AgentTicketSearchProfile on, then you can’t logon because of the error and you also get a corrupt menu when you do.
If you can, switch this *off* before starting the upgrade. If you’ve already got stuck for this, then this workaround worked for us:
1. Stop service
2. Edit Kernel/Config/Files/ZZZAuto.pm and remove the lines:
$Self->{'Frontend::NavBarModule'}->{'1-Ticket::TicketSearchProfile'} = {
'Block' => 'ItemSearchProfile',
'Description' => 'Search-Template',
'MaxWidth' => '40',
'Module' => 'Kernel::Output::HTML::NavBarTicketSearchProfile',
'Name' => 'Search-Template'
};
3. Restart the service.
This allows you to get in and upgrade the various modules. Note that the template search is now a built-in option on all searches.
Hope this is helpful,
-- Steve Durbin Group Manager: Applications Delivery/Cyfarwyddwr Grŵp: Trosglwyddo Rhaglenni Bridgend County Borough Council/Cyngor Bwrdeistref Sirol Pen-y-Bont ar Ogwr Tel/Rhif ffon: 01656 642113 Mob/ffon symudol: 07976 271559 Fax/Ffacs: 01656 642125 Web/We: http://www.bridgend.gov.uk
________________________________ E-mail may be automatically logged, monitored and/or recorded for legal purposes. Please do not print this email unless absolutely necessary. E-bost yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am resymau cyfreithiol Peidiwch ag argraffu’r neges e-bost hon oni bai fod hynny’n gwbl angenrheidiol.
________________________________________________________________________ This e-mail and any attachments transmitted with it represents the views of the individual(s) who sent them and should not be regarded as the official view of Bridgend County Borough Council. The contents are confidential and intended solely for the use of the addressee. If you have received it in error, please inform the system administrator on (+44) 01656 642111.
This e-mail and any attachments have been scanned with 'MessageLabs SkyScan' - http://www.messagelabs.com/
________________________________________________________________________ Mae'r e-bost hwn ac unrhyw atodiadau a drosglwyddir gydag ef yn cynrychioli safbwyntiau'r unigolyn a'i anfonodd (unigolion a'u hanfonodd) ac ni ddylid eu hystyried fel safbwynt swyddogol Cyngor Bwrdeistref Sirol Pen-y-bont ar Ogwr. Mae'r cynnwys yn gyfrinachol ac wedi'i fwriadu ar gyfer y sawl y'i cyfeiriwyd ato yn unig. Os ydych wedi ei dderbyn mewn camgymeriad, rhowch wybod i weinyddwr y system ar (+44) 01656 642111.
Mae'r e-bost hwn ac unrhyw atodiadau wedi cael eu sganio gyda 'MessageLabs SkyScan' - http://www.messagelabs.com/ ________________________________________________________________________
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Worked a treat, thanks.
On Wed, Jan 19, 2011 at 10:35 PM, Stuart Hall
Thanks for the hint Steve. Will try tomorrow.
SH
On Tue, Jan 18, 2011 at 5:30 PM, Steve Durbin
wrote: Just installing otrs 3.0.5 into our test system, and found that this error occurs in a number of modules where they’ve not been upgraded yet. Changing the keyword to BuildSelection will work around some of them, and at least allow you to logon.
One big issue is if you had AgentTicketSearchProfile on, then you can’t logon because of the error and you also get a corrupt menu when you do.
If you can, switch this *off* before starting the upgrade. If you’ve already got stuck for this, then this workaround worked for us:
1. Stop service
2. Edit Kernel/Config/Files/ZZZAuto.pm and remove the lines:
$Self->{'Frontend::NavBarModule'}->{'1-Ticket::TicketSearchProfile'} = {
'Block' => 'ItemSearchProfile',
'Description' => 'Search-Template',
'MaxWidth' => '40',
'Module' => 'Kernel::Output::HTML::NavBarTicketSearchProfile',
'Name' => 'Search-Template'
};
3. Restart the service.
This allows you to get in and upgrade the various modules. Note that the template search is now a built-in option on all searches.
Hope this is helpful,
-- Steve Durbin Group Manager: Applications Delivery/Cyfarwyddwr Grŵp: Trosglwyddo Rhaglenni Bridgend County Borough Council/Cyngor Bwrdeistref Sirol Pen-y-Bont ar Ogwr Tel/Rhif ffon: 01656 642113 Mob/ffon symudol: 07976 271559 Fax/Ffacs: 01656 642125 Web/We: http://www.bridgend.gov.uk
________________________________ E-mail may be automatically logged, monitored and/or recorded for legal purposes. Please do not print this email unless absolutely necessary. E-bost yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am resymau cyfreithiol Peidiwch ag argraffu’r neges e-bost hon oni bai fod hynny’n gwbl angenrheidiol.
________________________________________________________________________ This e-mail and any attachments transmitted with it represents the views of the individual(s) who sent them and should not be regarded as the official view of Bridgend County Borough Council. The contents are confidential and intended solely for the use of the addressee. If you have received it in error, please inform the system administrator on (+44) 01656 642111.
This e-mail and any attachments have been scanned with 'MessageLabs SkyScan' - http://www.messagelabs.com/
________________________________________________________________________ Mae'r e-bost hwn ac unrhyw atodiadau a drosglwyddir gydag ef yn cynrychioli safbwyntiau'r unigolyn a'i anfonodd (unigolion a'u hanfonodd) ac ni ddylid eu hystyried fel safbwynt swyddogol Cyngor Bwrdeistref Sirol Pen-y-bont ar Ogwr. Mae'r cynnwys yn gyfrinachol ac wedi'i fwriadu ar gyfer y sawl y'i cyfeiriwyd ato yn unig. Os ydych wedi ei dderbyn mewn camgymeriad, rhowch wybod i weinyddwr y system ar (+44) 01656 642111.
Mae'r e-bost hwn ac unrhyw atodiadau wedi cael eu sganio gyda 'MessageLabs SkyScan' - http://www.messagelabs.com/ ________________________________________________________________________
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
participants (2)
-
Steve Durbin
-
Stuart Hall