Home | Gifts |
"UpgradeTwiki"
, and is found in the root of the distribution. It can be run by any user, though you will need to make sure you correct the permissions so that the webserver user can write all files in the new installation when you have finished. The upgrade script does not write to your existing installation.
The upgrade script will upgrade the TWiki core only. Plugins will need to be upgraded separately.
Note: To upgrade from a Beta, do not use UpgradeTWiki. Instead follow the steps outlined in Upgrading a Beta, below.
It will:
UpgradeTwiki
script available, see TWiki:Codev.UpgradeTWikidistro/
distro/
new_twiki
. This directory must not already exist.
distro/
and run: ./UpgradeTwiki <full path to existing_twiki's setlib.cfg> <full path to new_twiki>
cgi-bin/configure
UpgradeTwiki
will give you the final instructions.
Visit TWiki:Codev.KnownIssuesOfTWiki04x00x00UpgradeTwiki
may not be able to merge all the changes you made in your existing TWiki into the new installation, but it will tell you which ones it couldn't deal with
UpgradeTwiki
creates the new installation in a new directory tree. It makes a complete copy of all your existing data, so: data/
directory in your existing installation, these are reproduced as actual directories in the new structure. It is up to you to pull these sub-directories out again and re-symlink as needed
UpgradeTwiki
doesn't deal with custom templates or Plugins, you will have to reinstall these in the new installation.
UpgradeTwiki
more robust.
find data -name '*,v' -exec rcs -r -u -M '{}' \;
find pub -name '*,v' -exec rcs -r -u -M '{}' \;
configure
interface for the new install. configure
, then copy the new TWiki.cfg
to LocalSite.cfg
, and edit LocalSite.cfg
. Remove all the settings that you didn't change in your previous install, and change the remaining settings to the values from your old TWiki.cfg.
bin/setlib.cfg
and lib/LocalLib.cfg
files
Revision r2 - 2005-09-22 - 23:59:45 - TWikiContributor | Edit |