Restoring - RT at a glance?

Just restore my RT 3.4.4 database to my fresh 3.5.5. (Thanks Eric) - Se lot
of data is in place but.

RT at a glance I get error:

error: Can’t call method “Content” on an undefined value at
/opt/rt3/share/html/Elements/MyRT line 76.
context:

72:

73:

unless (exists $session{‘my_rt_portlets’}) {

74:

my ($d_portlets) =
RT::System->new($session{‘CurrentUser’})->Attributes->Named(‘HomepageSetting
s’);

75:

my $user = $session{‘CurrentUser’}->UserObj;

76:

$session{‘my_rt_portlets’} = $user->Preferences(‘HomepageSettings’,
$d_portlets->Content);

77:

}

78:

79:

my $portlets = $session{‘my_rt_portlets’};

80:

code stack: /opt/rt3/share/html/Elements/MyRT:76
/opt/rt3/share/html/index.html:79
/opt/rt3/share/html/autohandler:247

I found some notes at README and lists regarding
/opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/ but
get [crit]: Can’t locate etc/upgrade//content in @INC

Any ideas?

Most probably you’ve forgot to run DB upgrade scripts.On 5/4/06, Sebastian Suarez sebastian@switching.com.ar wrote:

Just restore my RT 3.4.4 database to my fresh 3.5.5. (Thanks Eric) - Se lot of data is in place but…

RT at a glance I get error:


error: Can’t call method “Content” on an undefined value at /opt/rt3/share/html/Elements/MyRT line 76.
context:

72:

73:

unless (exists $session{‘my_rt_portlets’}) {

74:

my ($d_portlets) = RT::System->new($session{‘CurrentUser’})->Attributes->Named(‘HomepageSettings’);

75:

my $user = $session{‘CurrentUser’}->UserObj;

76:

$session{‘my_rt_portlets’} = $user->Preferences(‘HomepageSettings’, $d_portlets->Content);

77:

}

78:

79:

my $portlets = $session{‘my_rt_portlets’};

80:

code stack: /opt/rt3/share/html/Elements/MyRT:76
/opt/rt3/share/html/index.html:79
/opt/rt3/share/html/autohandler:247


I found some notes at README and lists regarding /opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/ but get [crit]: Can’t locate etc/upgrade//content in @INC

Any ideas?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.