Tags:
create new tag
view all tags

SID-01260: Turning a whole Twiki installation into a single Web

Status: Answered Answered TWiki version: 4.2.0 Perl version: 5.10.0
Category: CategoryInstallation Server OS: Linux km 2.6.18 Last update: 14 years ago

Hello,

We used to have two Twikis up. After a while we decided to just have one and demote the other one into just a Twiki web. As of now, I only have the backup of the demoted Twiki. I tried copying over the twiki/dir and twiki/pub contents of the demoted Twiki but the contents doesn't show up. Is there any other configuration file I should change?

Thanks in advance!

-- MeahBaltazar - 2011-09-01

Discussion and Answer

Hi,

the following should do (to make it easier: "TWIKI" means your new combined twiki and "OLD_TWIKI" the twiki you want to demote):

First you have to enable subwebs in your configure under "!StoreSettings -> EnableHierarchicalWebs". Then create a new web (NEWWEB) in your TWIKI were you're going to store your OLD_TWIKI in.

Now you have to copy from OLD_TWIKI/data/ to TWIKI/data/NEWWEB/, but you can not just copy everything! Only copy the folders of the webs you created in OLD_TWIKI. So leave out Sandbox, TWiki, _default and _empty. If you have created files in that web you have to copy them manually. After that copy from OLD_TWIKI/pub/ to TWIKI/pub/NEWWEB/, in same manor (without Sandbox, Main, usw.).

Now you should have the data of OLD_TWIKI in NEWWEB and every web from OLD_TWIKI should be a subweb of TWIKI.

so the trick is to enable the subwebs and be careful what you copy.

Hope that bring's you closer to the solution,

-- CarlaReitzenstein - 2011-09-01

If you need just one (or a few webs) of the old TWiki you can copy just those to the new TWiki. Say, in your old TWiki you have a web called Marketing that you want to preserve. Copy twiki/data/Marketing/ and twiki/pub/Marketing from the old TWiki to the new TWiki, both below twiki/data/ and twiki/pub/, respectively. If there is a name clash you can copy & rename "Marketing" to something else.

-- PeterThoeny - 2011-09-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Turning a whole Twiki installation into a single Web
SupportCategory CategoryInstallation
TWiki version 4.2.0
Server OS Linux km 2.6.18
Web server Apache 2.2.3
Perl version 5.10.0
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-09-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.