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
--
PhilippSGeisler - 31 May 2008
Answer
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