Tags:
create new tag
view all tags

Question

I have a twiki setup that I want to move to a different system. I can copy the Web folders from data and pub, but I also want to retain the registered users. How do I copy their info so that the same users can continue as is on the new system? Thanks.

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- SantoshC - 16 Nov 2007

Answer

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.

Assuming that you are using TWiki's standard user management and that you do not need to merge with an existing installation on the new system:

  • Copy the Main web located in data/Main (as you wrote). This will copy the individual users' home topics, TWiki's user list (Main.TWikiUsers), and also bring in your local settings in Main.TWikiPreferences.
  • Copy the .htpasswd file, usually in data/.htpasswd. You can look up the actual path name using bin/configure in the old installation, or by inspecting lib/LocalSite.cfg with an editor.
  • Update the configuration in the new installation to use the same login manager, password manager, and adjust the absolute paths to your directories and the htpasswd file using bin/configure on your new installation, or manually merge the old and new lib/LocalSite.cfg files.
  • If you use ApacheLogin, adjust the web server configuration on the new server to point to your copy of the .htpasswd file.
A careful comparison of the old and new web server configuration, and the old and new lib/LocalSite.cfg will help to detect different authentication settings, missing plugins, or others which haven't been enabled.

-- HaraldJoerg - 17 Nov 2007

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-11-17 - HaraldJoerg
 
  • 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.