[rt-users] Database upgrade failing 3.8.4 to 3.8.6

Kevin Falcone falcone at bestpractical.com
Tue Nov 24 12:03:02 EST 2009


On Mon, Nov 23, 2009 at 10:51:46PM -0600, Arends, John wrote:
> When upgrading from 3.8.4 to 3.8.6 I'm getting this error when running  
> bin/rt-setup-database --dba rt_user --prompt-for-dba-password --action  
> upgrade

Try running

/opt/rt3/sbin/rt-setup-database --dba rt_user \
 --prompt-for-dba-password --action upgrade

from within the /root/rt-3.8.6/ directory

When you run 'make upgrade' it should print out the full path to
rt-setup-database as a hint for what to do next.

-kevin

> [Tue Nov 24 04:23:47 2009] [crit]: Can't locate RT/FM.pm in @INC (@INC  
> contains: /root/rt-3.8.6/sbin/../local/lib /root/rt-3.8.6/sbin/../lib / 
> usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/ 
> site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/ 
> 5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/ 
> lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi / 
> usr/lib/perl5/5.8.8 .) at /root/rt-3.8.6/sbin/../lib/RT.pm line 627,  
> <STDIN> line 4. (/root/rt-3.8.6/sbin/../lib/RT.pm:377)
> Can't locate RT/FM.pm in @INC (@INC contains: /root/rt-3.8.6/sbin/../ 
> local/lib /root/rt-3.8.6/sbin/../lib /usr/lib/perl5/site_perl/5.8.8/ 
> i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/ 
> site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi / 
> usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/ 
> perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /root/ 
> rt-3.8.6/sbin/../lib/RT.pm line 627, <STDIN> line 4.
> 
> I have an RT test system that is configured the same as this machine  
> and the database upgrade went fine.
> 
> I'm making sure to do this inside the rt-3.8.6 directory, and not in / 
> opt/rt3 since /opt/rt3 does not have the necessary upgrade files  
> inside etc.
> 
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091124/b1fe8c73/attachment.sig>


More information about the rt-users mailing list