Upgrade Foswiki from 1.1.7 to 1.1.8
To successfully keep free software
secure, we need to upgrade to new version, especially when a release fix a Critical Security Vulnerability
, see http://foswiki.org/Support/SecurityAlert-CVE-2013-1666
for more informations.
This upgrade add a dependency I cannot reach in this hosting space : Foswiki now need at least CPAN:version
0.77. My hosting provider
only has version 0.72, so we need to updgrade this before.
How to know the CPAN::version's version
First, go to the
script and to the Web server environment
Look at the Perl modules
At the bottom of the module list, you can see the version
If you need to upgrade it but you don't have root access, here is a hack to install a new version only used by Foswiki :
tar -xvf version-0.9902.tar.gz
- Create Makefile for perl only and call make
perl Makefile.PL --perl_only
- Copy new files to your LIB directory.
directory is the
directory in your foswiki
root, do not copy to Foswiki/lib/CPAN/lib
doesn't work. To be sure, open the
in your browser, go in the Web server environment
page and search for the
@INC library path
: this is the first listed directory.
- Go back to configure to check for the CPAN:version's version, this should be 0.9902.
Install the upgrade patch
Go and download the upgrade package : http://sourceforge.net/projects/foswiki/files/foswiki/1.1.8/Foswiki-upgrade-1.1.8.tgz
Verify you're not running perl 5.16.x, if you are running it, please see http://foswiki.org/Tasks/Item12413
for a patch.
Put the upgrade patch in the Foswiki root directory and issue the following
tar --strip-components=1 -xvzpf Foswiki-upgrade-1.1.8.tgz=
Fix configure script warnings and refresh cache
Go to your bin/configure script and fix for files/directories permissions, I personnaly had to :
chmod 0775 -R pub/
chmod 0775 -R data/
chmod 0775 -R working/
To refresh the foswiki
cache, I open the homepage with the
You can see foswiki version in System
. Now it should be 1.1.8.
All is working just fine out of the box
so I don't have to write a
Now you should test your installation : search for a string, test sending a mail through the
- 12 Mar 2013