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.
- Download the latest version and unpack it into a new folder
- Configure the web part of hlstats and use the same database
- Configure the deamon and use the exiting database
- Run the needed upgrade/upgrade_from_x.xx.sql file. Make sure the version matches your existing one !
- Stop the existing deamon and remove the existing web part
- Run the new daemon and move the new hlstats web files over
- Done
Using the patch files for an update
As of version 1.51 HLStats provides also patch files to update your existing installation
- make a Backup of your config files (daemon/hlstats.conf.ini and web/hlstatsinc/hlstats.conf.php)
- Download the patch file (make sure you pick the right version)
- Move to the current installation path
- Stop the daemon
- Run the patch command as descirbed below
- 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
- Start the daemon
- 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...
