Upgrading the package

The upgrade facilities have been improved in 2.83. It include scripts and configuration files update. If you have only FTP access, use the w3perl administration interface otherwise use the upgrade.pl script. This script is still under test, so if you find some problem, contact me. Most problems will disappear when you'll upgrade from 2.83.


Procedure Some upgrade need to reset your stats as incremental data have been changed but you don't have to. Some new features could be missing.

  1. Backup some data

    Make first a copy of your configuration files, your install.pl file and also the cron-w3perl.pl script.

  2. Extract

    Then unpack the package, it will overwrite your scripts.

  3. Configuration

    • Without administration interface

      Before 2.83

      You should then fill the new config.pl file with the help of your old config.pl. Just copy, paste and fill the new fields. You can use the adminstration interface to build the config file if you get a recent version.

      After 2.83

      You just need to run the upgrade.pl script. Edit the perl path of this script first or run 'perl upgrade.pl'

    • With administration interface

      Just select the upgrade section. Your configuration file will be updated.

    Cut and paste values you gave in your old cron-w3perl.pl into the new one.

  4. Installation

    When everything is right, run fixperlpath.pl....you are now ready to use the latest version

If you want to keep a old copy of your stats, add the directory in @excluderepert in config.pl (@excluderepert = ('/w3perl.old/');)


Resetting Most of the scripts are now running in incremental mode including referer, agent, error stats. if you need to reset all your stats, you'll need to run cron-w3perl.pl with the -a flag. It will delete all stats data files and launch the scripts to rebuild your stats.
If you just want to reset one of the optional script, running with the '-b' flag will erase the current incremental data. (see option available with the -h flag).

back