TWiki . TWiki . TWikiUpgradeTo01Dec2000 |
If you are coming from a version earlier than the 01 May 2000 production release, please see TWikiUpgradeTo01May2000 first.
The 01 Dec 2000 release has these changes that affect the upgrade of the 01 May 2000 version:
changes
script has been retired (related to new search).
This upgrade is somewhat more labor intensive, mainly caused by splitting up the TWiki.Main web. Please note that subsequent updates will be much easier because user related topics (in TWiki.Main web) and TWiki related documents (in TWiki.TWiki web) have been separated.
These are the steps you need to perform to upgrade the 01 May 2000 version to the 01 Dec 2000 release: [ We assume export TWIKIROOT=/some/dir/
]
bin
, pub
, data
, templates
)
mkdir -p ~/tmp/
cd ~/tmp
unzip ~/TWiki20001201.zip
twiki
)
mv ~/tmp/TWiki*.html $TWIKIROOT
mv ~/tmp/readme.txt $TWIKIROOT
twiki/bin
)
twiki/bin
directory, i.e.
mv $TWIKIROOT/bin $TWIKIROOT/bin.old
twiki/bin
location, i.e.
mv ~/tmp/bin $TWIKIROOT/bin
wikicfg.pm
into the new wikicfg.pm
. We suggest using diff -c
to compared the two files if you have made heavy changes to the file, i.e.
diff -c $TWIKIROOT/bin.old/wikicfg.pm $TWIKIROOT/bin/wikicfg.pm | less
mv $TWIKIROOT/bin.old/somescript $TWIKIROOT/bin/
changes
script is obsolete.)
TWikiRegistration
topic moved from the TWiki.Main web to the TWiki.TWiki web. Change .htaccess
to reflect the new location, i.e.
ErrorDocument 401 /cgi-bin/view/TWiki/TWikiRegistration
%HTTP_EQUIV_ON_VIEW%
you see on top of the topic, this will disappear after upgrading the template files.
twiki/templates
)
twiki/templates
directory, i.e.
mv $TWIKIROOT/templates $TWIKIROOT/templates.old
twiki/templates
location, i.e.
mv ~/tmp/templates $TWIKIROOT/templates
diff -c $TWIKIROOT/templates.old/view.tmpl $TWIKIROOT/templates/view.tmpl | less
twiki/pub
)
twiki/pub/TWiki
directory to your installation, i.e.
mv ~/tmp/pub/TWiki $TWIKIROOT/pub/
TWiki
directory and its subdirectory and files. The files must be writable by the cgi-scripts (usually user "nobody")
twiki/pub/twikilogo*
image files to your installation, i.e.
mv ~/tmp/pub/twikilogo* $TWIKIROOT/pub/
twiki/data
)
twiki/data/TWiki
directory to your installation, i.e.
mv ~/tmp/data/TWiki $TWIKIROOT/data/
TWiki
directory and its files. The files must be writable by the cgi-scripts (usually user "nobody")
twiki/data/Test
directory to your installation, i.e.
mv ~/tmp/data/Test $TWIKIROOT/data/
TWikiGroups
, TWikiAdminGroup
, and if needed also OfficeLocations
, i.e.
mv ~/tmp/data/Main/TWikiGroups.* $TWIKIROOT/data/Main
BillClinton
, GoodStyle
, RegularExpression
, TextFormattingFAQ
, TextFormattingRules
, TWikiAdministration
, TWikiCategoryTable
, TWikiEnhancementRequests
, TWikiImplementationNotes
, TWikiInstallationNotes
, TWikiNotificationOfChanges
, TWikiPlannedFeatures
, TWikiUpgradeTo01May2000
, TWikiUsernameVsLoginUsername
, TWikiWeb
, WelcomeGuest
, WelcomeVisitor
, WikiName
, WikiNotation
, WikiTopic
, WikiWikiClones
. Sample delete command:
rm -f $TWIKIROOT/data/Main/BillClinton.*
WebChanges
, WebIndex
.
cp -p $TWIKIROOT/data/TWiki/WebChanges.txt* $TWIKIROOT/data/Main
cp -p $TWIKIROOT/data/TWiki/WebIndex.txt* $TWIKIROOT/data/Main
TWikiRegistration
moved from TWiki.Main to TWiki.TWiki. In case you customized TWikiRegistration
, merge your changes back into TWiki.TWikiRegistration
, then delete $TWIKIROOT/data/Main/TWikiRegistration*
.
TWikiPreferences
moved from TWiki.Main to TWiki.TWiki. Merge your changes to TWikiPreferences
into TWiki.TWikiPreferences
.
WebPreferences
topics in all your webs to reflect the following:
WEBTOPICLIST
should use WebChanges
for "Changes"
, and WebIndex
for "Index"
, i.e.
| <a href="WebChanges">Changes</a>
| <a href="WebIndex">Index</a>
web="all"
search: Set this new preference
Set NOSEARCHALL = on
WebSearch
topic has considerable changes. Copy the one from TWiki.TWiki
into all webs, or merge them if you made changes. To copy, do an edit-copy-edit-paste operation.
WebHome
topics in all your webs to reflect these changes:
WebChanges
.
WebIndex
.
%INCLUDE{"%TWIKIWEB%.TWikiWebsTable"}%
TWikiWebsTable
topic in TWiki.Main with the TWikiWebsTable
topic in TWiki.TWiki. Note the new variable to query the color of a web. Delete the old TWikiWebsTable
topic in TWiki.Main after merge is complete.
FileAttachment
, TWikiDocumentation
, TWikiHistory
, TWikiPreferences
, TWikiVariables
.
This topic moved to %TWIKIWEB%.%TOPIC% in the %WIKITOOLNAME%.%TWIKIWEB% web.
TWikiUsers
, WebNotify
, WebHome
TWikiPreferences
, TWikiVariables
, TWikiUsers
, TWikiWebsTable
and WelcomeGuest
-- PeterThoeny - 08 Nov 2000
----- Revision r1.9 - 16 Nov 2000 - 07:14 GMT - PeterThoeny
|