Tags:
create new tag
, view all tags

Question

Hi, I have one installation twiki/ under the documentroot. i created one more mine/ parallel to the twiki/ to do some testing. I ran configure inside mine/, changed all the path variables, gave a new tmp dir and saved. But, the current installation under twiki/ started misbehaving and the links were pointing to the corresponding ones under mine/ for all the users. This created a confusion and finally I had to remove mine/ and rerun twiki/bin/configure and restored the paths. Why it happened? How can I run a test installation and production one side by side. Thanks in advance Umapathy

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: GluePlugin, SpreadSheetPlugin, ActionTrackerPlugin, BreadCrumbsPlugin, CommentPlugin, EditTablePlugin, FilterPlugin, FlexWebListPlugin, InterwikiPlugin, NatSkinPlugin, PreferencesPlugin, RedDotPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TwistyPlugin
Server OS: Fedora core 6, 2.6.19-1.2911.6.5.fc6
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS: Windows XP SP2
Web Browser: Firefox 2.0.0.11
Categories: Hosting, Installation

-- UmapathyS - 23 Jan 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Is your "lib" directory somehow symbolically linked to the same place from both TWiki installations? bin/configure stores the settings in lib/LocalSite.cfg If both installations are referencing the same file you'd have problems like this.

-- GeorgeClark - 25 Jan 2008

Thanks for the respone. I suspected that and already checked it out. Both are different dirs/files. I just copied the whole twiki/ production to a testing dir mine/ There are no softlinks or hardlinks.

-- UmapathyS - 25 Jan 2008

Problem might be that in configure there is also noted the path to the configuration file (LocalSite.cfg) itself. So if you change all the settings/paths in your new configuration (/mine), the settings are saved to the old configuration file (in /twiki) and not to the new one (in /mine), because you called the configure script with these pathes. So you can solve it in two ways: Manually changing the settings in LocalSite.cfg (/mine) or doing reconfiguration in two steps; first change path to LocalSite.cfg, then save and then change all the other paths/settings. Should work..

-- IngoBlickling - 26 Jan 2008

Forgot something, sorry. If you do the reconfiguration in two steps, you still have to manually change the path to the LocalSite.cfg in /twiki installation afterwards.

-- IngoBlickling - 26 Jan 2008

Thanks.

-- UmapathyS - 28 Jan 2008

 
Change status to:
Topic revision: r6 - 2008-03-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.