We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Codev Web>UpdatingAnExistingTWiki (22 Apr 2000, PeterThoeny)
Tags:
create new tag
, view all tags
I've been going through the code to make sure I don't lose my existing webs and topics when I update my installation to the latest beta (I'll risk it.) Anybody know anything I should know before I do it? Peter?

-- KevinKinnell - 13 Apr 2000

Well, it's working. The major thing was a change the shebang line in all of the scripts in ../bin

I am using perl 5.004_04 (yeah, I know) and it couldn't handle the separate -wT -I switches. Changing this to -wTI made it work.

I use TWiki for staying organized, it was pretty critical not to lose all of the stuff I've ported over to TWiki from my less than adequate PIMs. It wasn't too bad, particularly not in the separate web I'd created. I had some topic edits in the Main web and I merely renamed them from ../data/Main/SomeTopic.txt to ../data/Main/OldSomeTopic.txt before I unpacked the beta. Then I hand merged them. The only other gotcha was making sure the perms were set correctly on the files in ../data

One little problem still remains -- I can't get the inline search stuff to work.

Later: Ok, it works. I hadn't changed the paths to the grep commands in wikicfg.pm (mine are in /usr/bin.)

-- KevinKinnell - 15 Apr 2000


I will update the TWikiDocumentation topic and add an update section that describes how to upgrade from the 01 Sep 1999 version to the latest one. Basically you should:

  • Take the scripts and templates of the latest distribution as the base and merge your changes back into it. Do so also for wikicfg.pm because it has important changes as well.
  • Copy the new Main. TWikiPreferences topic (and *,v file) into your TWiki.Main web. Customize the topic to your needs.
  • Copy the new Main. WebPreferences, WebStatistics topics (and *,v files) into all your webs. Customize all WebPreferences topics to your needs (e.g. web color).
  • Copy WebSearch into all your webs, or modify the existing ones. Reason: Some switches for search changed.
  • Copy or update the TWiki documentation in the Main web: Topics TWikiDocumentation, TWikiVariables, TextFormattingRules? , TWikiHistory .
  • Copy the Main. TWikiWebsTable? topic (and *,v file) into your Main web and customize it. Reason: The new release does not use the *.inc include files anymore.
  • Optionally: Search for %INCLUDE%'s in all your webs and change them to the new %INCLUDE{"file.ext"}% syntax. Note: Your old %INCLUDE:"file.ext"% syntax still works (the legacy rule is defined in wikicfg.pm .)
  • Add the PoweredByTWikiLogo if installed on a public web server.

-- PeterThoeny - 19 Apr 2000


TWikiDocumentation updated.

-- PeterThoeny - 21 Apr 2000

TopicClassification:
FeatureDone
Topic revision: r5 - 22 Apr 2000 - 07:42:58 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback