Tags:
create new tag
view all tags

Question

After moving data from a Windows installation to a Linux TWiki installation, %SYSTEMWEB% and %USERSWEB% variables don't get resolved.


We finally decided to switch from Windows to Linux for providing our TWiki site. This is a recent Ubuntu Linux with the TWiki-package installed from web/universe in Version 1:4.1.2-3. The Windows version was using 4.2.0 though.

This default installation starts up without error and correctly configured paths in configure and a default Main.WebHome website.

I then copied the directories data, pub and working from the Windows installation and missing packages from lib over their Linux counterparts.

When I now connect to any page within TWiki, the content gets displayed, but without any styles applied. The Main.WebHome shows that all references using %SYSTEMWEB% and %USERSWEB% don't get resolved, though their settings in /etc/twiki/LocalSite.cfg and configure are correct:

$TWiki::cfg{SystemWebName} = 'TWiki';
$TWiki::cfg{TrashWebName} = 'Trash';
$TWiki::cfg{UsersWebName} = 'Main';

I cannot see which difference between 4.2.0 and 4.1.2 might be causing this, especially as I have not replaced any parts of bin or the default TWiki-packages in lib.

Any hint what might be causing this phenomenon is appreciated. Thanks.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu Linux kernel 2.6.24
Web server: Apache/2.2.8 (Ubuntu)
Perl version: v5.8.8 built for i486-linux-gnu-thread-multi
Client OS: Windows XP
Web Browser: Firefox 2.0
Categories: Platform, Installation

-- PhilippSGeisler - 31 May 2008

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.

You need to define the SYSTEMWEB and USERWEB in your Main.TWikiPreferences.

-- PeterThoeny - 31 May 2008

Thank you for your help. Adding those settings actually worked. I just wonder why the previous Win installation worked without...

-- PhilippSGeisler - 02 Jun 2008

When you do a fresh install they are defined. If you have a fresh install and restore content from your old installation you might overwrite the settings.

-- PeterThoeny - 02 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-06-02 - 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.