Re: [rt-users] After migration to new server "Invalid portlet QueueList"
Thank you so much, this was something I did not anticipate since i was moving from a previous working installation of 4.4.0 but that has been upgraded from 4.2.X Changed the parameters to this and it worked! (For reference: Set( $HomepageComponents, [ qw(QuickCreate QueueList MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards SavedSearches FindUser MyAssets FindAsset) # loc_qw ] ); ) So that means that something in my migrated database refers to QueueList instead of QuickList? Do you happen to know where in the database this reference is at? Thanks again for the help! Regards -Ursprungligt meddelande- Från: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] För Jim Brandt Skickat: den 2 maj 2016 21:37 Till: rt-users@lists.bestpractical.com Ämne: Re: [rt-users] After migration to new server "Invalid portlet QueueList" If you have a customized $HomepageComponents, there's an update you need to make to your configuration. If you search on "QueueList" on this page there is a note describing the update to make: https://docs.bestpractical.com/rt/4.4.0/UPGRADING-4.4.html On 5/2/16 3:26 PM, Joel Bergmark wrote: > Perhaps I found the problem, but not sure how to fix it: > > File: /rt4/share/Elements/MyRT > > Line 52-54: > > > > % $show_cb->($_) foreach @$body; > > > > This does not seem to be able to match this properly "% $show_cb->($_) > foreach @$body;"? > > In the old working installation it looks like this in the Chrome > webdev tool (the MyRT-file is identical at both installations) > > > > > > > > > > > > > > > > title="Toggle visibility"> > > Queue list > > > Edit > > > > id="TitleBox--_index_html--UXVldWUgbGlzdA__---0"> > > class="queue-summary"> > > But like this in the broken one: > > > > Invalid portlet QueueList > > > > > > title="Toggle visibility"> > > href="/Search/Results.html?Format='%3Ca%20href%3D%22__WebPath__%2FTick > et%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%2FTITLE%3A%23'%2 > C%0A'%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id_ > _%22%3E__Subject__%3C%2Fa%3E%2FTITLE%3ASubject'%2C%0APriority%2C%0AQue > ueName%2C%0AExtendedStatus%2C%0A'__Created__'&Order=DESC%7CASC%7CASC%7 > CASC&OrderBy=Priority%7CCreated&Query=%20Owner%20%3D%20'__CurrentUser_ > _'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&Rows > PerPage=50">15 highest priority tickets I own > > href="/Prefs/Search.html?name=RT%3A%3AAttribute-3"> Edit > > > > > id="TitleBox--_index_html--MTUgaGlnaGVzdCBwcmlvcml0eSB0aWNrZXRzIEk > gb3du---0"> > > Anyone knows where to fix this broken code? > > Regards, > > *Från:* rt-users [mailto:rt-users-boun...@lists.bestpractical.com] > *För *Joel Bergmark > *Skickat:* den 2 maj 2016 20:19 > *Till:* rt-users@lists.bestpractical.com > *Ämne:* [rt-users] After migration to new server "Invalid portlet QueueList" > > Hi, > > I have migrated the RT installation from an old VPS running 4.4.0 > without issues, to a new vps fresh install and with migrated database > from MySQL to Postgres and everyting looks ok except on the RT at a > glance, where the Queuelist is gone except the error "Invalid portlet > QueueList". > > In the debug it only gives: > > May 2 20:16:32 rt RT: [29244] Odd number of elements in hash > assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. > > May 2 20:16:32 rt RT: [29244] Use of uninitialized value in list > assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. > > I have googled a bit and found a similar report about similar issue > but from this information im not sure on how to proceed to fix it. > > http://requesttracker.8502.n7.nabble.com/rt-devel-RT-4-4-0rc1-released > -td60847i20.html > > Anyone that has some advice? > > Regards, Joel > > > > - > RT 4.4 and RTIR Training Sessions https://bestpractical.com/training > * Washington DC - May 23 & 24, 2016 > - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016 - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016
Re: [rt-users] After migration to new server "Invalid portlet QueueList"
If you have a customized $HomepageComponents, there's an update you need to make to your configuration. If you search on "QueueList" on this page there is a note describing the update to make: https://docs.bestpractical.com/rt/4.4.0/UPGRADING-4.4.html On 5/2/16 3:26 PM, Joel Bergmark wrote: Perhaps I found the problem, but not sure how to fix it: File: /rt4/share/Elements/MyRT Line 52-54: % $show_cb->($_) foreach @$body; This does not seem to be able to match this properly “% $show_cb->($_) foreach @$body;”? In the old working installation it looks like this in the Chrome webdev tool (the MyRT-file is identical at both installations) Queue list Edit But like this in the broken one: Invalid portlet QueueList 15 highest priority tickets I own Edit Anyone knows where to fix this broken code? Regards, *Från:* rt-users [mailto:rt-users-boun...@lists.bestpractical.com] *För *Joel Bergmark *Skickat:* den 2 maj 2016 20:19 *Till:* rt-users@lists.bestpractical.com *Ämne:* [rt-users] After migration to new server "Invalid portlet QueueList" Hi, I have migrated the RT installation from an old VPS running 4.4.0 without issues, to a new vps fresh install and with migrated database from MySQL to Postgres and everyting looks ok except on the RT at a glance, where the Queuelist is gone except the error "Invalid portlet QueueList”. In the debug it only gives: May 2 20:16:32 rt RT: [29244] Odd number of elements in hash assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. May 2 20:16:32 rt RT: [29244] Use of uninitialized value in list assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. I have googled a bit and found a similar report about similar issue but from this information im not sure on how to proceed to fix it. http://requesttracker.8502.n7.nabble.com/rt-devel-RT-4-4-0rc1-released-td60847i20.html Anyone that has some advice? Regards, Joel - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016 - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016
Re: [rt-users] After migration to new server "Invalid portlet QueueList"
Perhaps I found the problem, but not sure how to fix it: File: /rt4/share/Elements/MyRT Line 52-54: % $show_cb->($_) foreach @$body; This does not seem to be able to match this properly "% $show_cb->($_) foreach @$body;"? In the old working installation it looks like this in the Chrome webdev tool (the MyRT-file is identical at both installations) Queue list Edit But like this in the broken one: Invalid portlet QueueList 15 highest priority tickets I own Edit Anyone knows where to fix this broken code? Regards, Från: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] För Joel Bergmark Skickat: den 2 maj 2016 20:19 Till: rt-users@lists.bestpractical.com Ämne: [rt-users] After migration to new server "Invalid portlet QueueList" Hi, I have migrated the RT installation from an old VPS running 4.4.0 without issues, to a new vps fresh install and with migrated database from MySQL to Postgres and everyting looks ok except on the RT at a glance, where the Queuelist is gone except the error "Invalid portlet QueueList". In the debug it only gives: May 2 20:16:32 rt RT: [29244] Odd number of elements in hash assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. May 2 20:16:32 rt RT: [29244] Use of uninitialized value in list assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. I have googled a bit and found a similar report about similar issue but from this information im not sure on how to proceed to fix it. http://requesttracker.8502.n7.nabble.com/rt-devel-RT-4-4-0rc1-released-td60847i20.html Anyone that has some advice? Regards, Joel - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016
[rt-users] After migration to new server "Invalid portlet QueueList"
Hi, I have migrated the RT installation from an old VPS running 4.4.0 without issues, to a new vps fresh install and with migrated database from MySQL to Postgres and everyting looks ok except on the RT at a glance, where the Queuelist is gone except the error "Invalid portlet QueueList". In the debug it only gives: May 2 20:16:32 rt RT: [29244] Odd number of elements in hash assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. May 2 20:16:32 rt RT: [29244] Use of uninitialized value in list assignment at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1463. I have googled a bit and found a similar report about similar issue but from this information im not sure on how to proceed to fix it. http://requesttracker.8502.n7.nabble.com/rt-devel-RT-4-4-0rc1-released-td60847i20.html Anyone that has some advice? Regards, Joel - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016