This question about Installation of Foswiki: Answered

How to use upgrade packages

I have Foswiki 2.0.0. I downloaded .tgz archive from

Once unpacked I copied whole content to my wiki folder:

sudo cp -R Foswiki-upgrade-2.0.2/* /var/www/my-foswiki-path

I restarted apache and then I tried to open my wiki. I received:

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Storable binary image v18.68 more recent than I am (v2.10)

  1. Am I doing anything wrong? How should I use update package?
  2. I checked (using cpanm) that I have latest Storable package installed. What is wrong with my installation?

-- MateuszKDzior - 12 Oct 2015

Did you follow the instructions in the Release Notes regarding upgrading? System.ReleaseNotes02x00#Important_changes_in_2.0.1?

ALERT! ACTION REQUIRED: After applying the changes in Foswiki 2.0.1, you must delete all cgisess_* files from the working/tmp directory.

-- Main.GeorgeClark - 12 Oct 2015 - 12:19

Thank you, it works now.

What I've done step-by step:

Unpack Upgrade package to Foswiki-upgrade-2.0.2
sudo cp -R Foswiki-upgrade-2.0.2/* /var/www/my-foswiki-path
sudo chown -R www-data:www-data /var/www/my-foswiki-path
sudo chmod 755 /var/www/my-foswiki-path
sudo rm -rf /var/www/my-foswiki-path/working/tmp/cgis*
sudo service apache2 restart

Since I used custom CSS uploaded as attachment to System/DefaultPreferences, I needed to reupload it again and Set USERSTYLEURL.

Then I tested and it seems that everything works properly. I upgraded all plugins as well from /bin/configure.

-- MateuszKDzior - 24 Oct 2015

It's best to attach files like your custom CSS to a topic in the Main web, such as Main.SitePreferences. This way nothing in the System web will be reverted after upgrades. You should never change anything in System.DefaultPreferences. Copy the settings you wish to customize into Main.SitePreferences.

-- GeorgeClark - 26 Oct 2015

QuestionForm edit

Subject Installation of Foswiki
Version Foswiki 2.0.0
Status Answered
Related Topics
Topic revision: r6 - 26 Oct 2015, GeorgeClark - This page was cached on 23 May 2019 - 01:48.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy