This file shows you, how you can update the TS3UpdateScript.
- Check the requirements for this script (can be found in README.md)
- Read the docs/CHANGELOG.md (important information are marked with a exclamation mark ("!"))
- Download the latest version from https://github.com/TS3Tools/TS3UpdateScript
root@tux:~# wget https://github.com/TS3Tools/TS3UpdateScript/archive/main.zip
- Unzip and replace all old TS3UpdateScript files excluding the configs/ directory with the latest version
root@tux:~# unzip main.zip TS3UpdateScript-main/* -x TS3UpdateScript-main/configs/*
- Check, if your used parameters have been changed or not and adjust them, if needed (read docs/CHANGELOG.md therefore)
- Run the script with the parameter '--update-script'
root@tux:~# ./TS3UpdateScript --update-script
- The script will check for newer version and will ask you, if you want to update the script. Enter 'y' or 'yes', if you want to start the update process for the script
- Check, if your used parameters have been changed or not and adjust them, if needed (read docs/CHANGELOG.md therefore)
- Install a new cronjob with your required parameters:
root@tux:~# ./TS3UpdateScript --install-cronjob --check --delete-old-logs
- Make sure, that you have installed following cronjob line for automated updates of the TS3UpdateScript:
45 2 * * 1 root /path/to/TS3UpdateScript --update-script
The next cronjob will check for a newer version and will update the TS3UpdateScript if needed. Please always take a look at the docs/CHANGELOG.md and requirements.