[Rt-commit] r18641 - in rtfm/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Tue Mar 3 15:10:26 EST 2009


Author: falcone
Date: Tue Mar  3 15:10:25 2009
New Revision: 18641

Modified:
   rtfm/trunk/UPGRADING
   rtfm/trunk/sbin/migrate-2.0-to-2.1

Log:
* better upgrade instructions for 2.0 on a new machine
* load TransactionCollection before calling new() on it

Modified: rtfm/trunk/UPGRADING
==============================================================================
--- rtfm/trunk/UPGRADING	(original)
+++ rtfm/trunk/UPGRADING	Tue Mar  3 15:10:25 2009
@@ -72,6 +72,14 @@
 
 2) perl -I/path/to/your/rt/lib sbin/migrate-2.0-to-2.1
 
+if you are installing 2.4.x on a new machine and have brought
+your old 2.0.x database over, you will need a copy of the
+RTFM 2.0 libs.  You can bring these from your old machine or
+download them from http://download.bestpractical.com
+This command would then be
+
+perl -I/path/to/your/old/rtfm/lib -I/path/to/rt/lib sbin/migrate-2.0-to-2.1
+
 3) Type "make install"
 
 4) Type "ls etc/upgrade"; For each item in that directory whose name
@@ -84,4 +92,6 @@
             /opt/rt3/sbin/rt-setup-database --action insert \
                  --datadir etc/upgrade/<version>
 
-5) stop and start your web server
+5) See note in ugprading from 2.2.x about UPGRADING.mysql
+
+6) stop and start your web server

Modified: rtfm/trunk/sbin/migrate-2.0-to-2.1
==============================================================================
--- rtfm/trunk/sbin/migrate-2.0-to-2.1	(original)
+++ rtfm/trunk/sbin/migrate-2.0-to-2.1	Tue Mar  3 15:10:25 2009
@@ -240,6 +240,7 @@
 
 # record transactions
 #
+use RT::FM::TransactionCollection;
 my $txns = RT::FM::TransactionCollection->new($RT::SystemUser);
 $txns->UnLimit();
 


More information about the Rt-commit mailing list