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

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

Anyone knows where to fix this broken code?

Regards,

Från: rt-users [mailto:rt-users-bounces@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

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.htmlOn 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)

 <span class="widget"><a href="#" onclick="return

rollup(‘TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DUXVldWUgbGlzdA\x5F\x5F\x2D\x2D\x2D0’);"
title=“Toggle visibility”>

 <span class="left">Queue list</span>

 <span class="right">        <a href="/Prefs/QueueList.html">

Edit

But like this in the broken one:

Invalid portlet QueueList

 <span class="widget"><a href="#" onclick="return

rollup(‘TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DMTUgaGlnaGVzdCBwcmlvcml0eSB0aWNrZXRzIEkgb3du\x2D\x2D\x2D0’);"
title=“Toggle visibility”>

 <span class="left"><a

href="/Search/Results.html?Format=’%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%2FTITLE%3A%23’%2C%0A’%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%2FTITLE%3ASubject’%2C%0APriority%2C%0AQueueName%2C%0AExtendedStatus%2C%0A’Created’&Order=DESC%7CASC%7CASC%7CASC&OrderBy=Priority%7CCreated&Query=%20Owner%20%3D%20’CurrentUser’%20AND%20(%20Status%20%3D%20’new’%20OR%20Status%20%3D%20’open’)&RowsPerPage=50">15
highest priority tickets I own

 <span class="right">        <a

href="/Prefs/Search.html?name=RT%3A%3AAttribute-3"> Edit

Anyone knows where to fix this broken code?

Regards,

Fr�n: rt-users [mailto:rt-users-bounces@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

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-bounces@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.htmlOn 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)

 <span class="widget"><a href="#" onclick="return 

rollup(‘TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DUXVldWUgbGlzdA\x5F\x5F\x2D\x2D\x2D0’);"
title=“Toggle visibility”>

 <span class="left">Queue list</span>

 <span class="right">        <a href="/Prefs/QueueList.html">

Edit

But like this in the broken one:

Invalid portlet QueueList

 <span class="widget"><a href="#" onclick="return 

rollup(‘TitleBox\x2D\x2D\x5Findex\x5Fhtml\x2D\x2D\x2D\x2D\x2D\x2DMTUgaGlnaGVzdCBwcmlvcml0eSB0aWNrZXRzIEkgb3du\x2D\x2D\x2D0’);"
title=“Toggle visibility”>

 <span class="left"><a

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

 <span class="right">        <a

href="/Prefs/Search.html?name=RT%3A%3AAttribute-3"> Edit

Anyone knows where to fix this broken code?

Regards,

Från: rt-users [mailto:rt-users-bounces@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