";" as the AND operator in FormattedSearch and WebSearch
$TWIKIROOT is the root of your current 01-Dec-2001 release.
Note: These steps assume a downtime during the time of upgrade. You could install the new version in parallel to the existing one and switch over in an instant without affecting the users. As a guideline, install the new version into $TWIKIROOT/bin1, $TWIKIROOT/lib1, $TWIKIROOT/templates1, $TWIKIROOT/data/TWiki1 (from data/TWiki), $TWIKIROOT/pub/TWiki1 (from pub/TWiki), and configure TWiki.cfg to point to the same data and pub directory like the existing installation. Once tested and ready to go, reconfigure $TWIKIROOT/bin1/setlib.cfg and $TWIKIROOT/lib1/TWiki.cfg, then rename $TWIKIROOT/bin to $TWIKIROOT/bin2, $TWIKIROOT/bin1 to $TWIKIROOT/bin. Do the same with the lib, templates and data/TWiki directories.
$TWIKIROOT/bin, $TWIKIROOT/pub, $TWIKIROOT/data, $TWIKIROOT/templates.
*.html and *.txt files in $TWIKIROOT with the new ones.
$TWIKIROOT/templates with the new ones.
$TWIKIROOT/bin with the new ones.
.cgi
$TWIKIROOT/bin/setlib.cfg and point $twikiLibPath to the absolute file path of $TWIKIROOT/lib 
$TWIKIROOT/lib/TWiki.cfg to TWiki.cfg.save
TWiki.cfg configuration file in $TWIKIROOT/lib with the new one.
TWiki.pm library in $TWIKIROOT/lib with the new one.
$TWIKIROOT/lib with the new ones. Make sure to preserve any extra Plugins you might have in $TWIKIROOT/lib/TWiki/Plugins 
bin/testenv script from the browser (e.g. http://localhost/bin/testenv) to verify if the cgi-scripts are running as user nobody.
*,v RCS repository files delivered with the installation package are locked by user nobody and need to be changed to the user of your cgi-scripts, e.g., www-data:
twiki/data/* directories where you unzipped the installation package: A simple way to switch the locker of the RCS files is to use sed in the :
           for f in *,v; do sed 's/nobody\:/www-data\:/' $f > x; mv x $f; done
twiki/data/TWiki directory where you unzipped the installation package:
InterWikis.*, TWikiRegistration.*, WebNotify.*, WebPreferences.*, WebStatistics.* and all WebTopic* files.
$TWIKIROOT/data/TWiki/TWikiPreferences.* to TWikiPreferencesSave.*.
*.txt and *.txt,v files from the temporary data/TWiki directory to your $TWIKIROOT/data/TWiki directory.
TWikiPreferencesSave.txt settings into $TWIKIROOT/data/TWiki/TWikiPreferences.txt.
*.txt and *.txt,v files from the temporary data/_default directory to your $TWIKIROOT/data/_default directory.
data/Sandbox directory from the temporary location to your $TWIKIROOT/data directory.
$TWIKIROOT/data are writable by your cgi-script user.
pub/TWiki from your temporary directory into your $TWIKIROOT/pub/TWiki directory.
$TWIKIROOT/pub/TWiki are writable by your cgi-script user.
$TWIKIROOT/bin/testenv script from your browser (e.g. http://localhost/bin/testenv) to see if it reports any issues; fix any potential problems.
| Topic TWikiUpgradeGuide . { | 
| Revision r1.1 - 17 Dec 2002 - 08:46 GMT - PeterThoeny | Copyright © 1999-2003 by the contributing authors. 
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |