[rt-users] Restoring - RT at a glance?

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu May 4 23:03:17 EDT 2006


Most probably you've forgot to run DB upgrade scripts.

On 5/4/06, Sebastian Suarez <sebastian at 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?
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at 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: http://bestpractical.com/about/jobs.html
>
>



--
Best regards, Ruslan.


More information about the rt-users mailing list