Update

Update an existing installation

If you upgrade from a version older then 1.51, then read this importand information !
Update to version 1.51

The safe way to update an existing installation of HLStats.

  1. Download the latest version and unpack it into a new folder
  2. Configure the web part of hlstats and use the same database
  3. Configure the deamon and use the exiting database
  4. Run the needed upgrade/upgrade_from_x.xx.sql file. Make sure the version matches your existing one !
  5. Stop the existing deamon and remove the existing web part
  6. Run the new daemon and move the new hlstats web files over
  7. Done

Using the patch files for an update

As of version 1.51 HLStats provides also patch files to update your existing installation

  1. make a Backup of your config files (daemon/hlstats.conf.ini and web/hlstatsinc/hlstats.conf.php)
  2. Download the patch file (make sure you pick the right version)
  3. Move to the current installation path
  4. Stop the daemon
  5. Run the patch command as descirbed below
  6. Recheck your configuration files (daemon/hlstats.conf.ini and web/hlstatsinc/hlstats.conf.php) and make sure they are up to Date by comparing them with the *.example file
  7. Start the daemon
  8. Done

Using the patch command

# inside the installation dir
patch < /path/to/patch.file

# reverse a patch
patch -R < /path/to/patch.file

More information about the patch command...