Sebastian Kraetzig [info@ts3-tools.info]
It is the most used bash-script to automate and optimaze the TeamSpeak 3 server update process by big companies. It is the fastest script you have ever seen for this task.
It checks, if a newer version for your TeamSpeak 3 server instance is available or not. If yes, you can choose, if the script should update the server or not. You also have some parameters like "delete old logs files" and so on. Well... If you don't want to update your TeamSpeak 3 server manually, you can use this script. This script is doing ALL steps for a correct update process of your TeamSpeak 3 server.
We offer managed service as well as installation and configuration help for less money. The website is currently just available in german, but if you need some information, you can write us in english and we will answer and help you as fast as possible.
Our services can be found on https://www.ts3-tools.info/
Our ticket system can be found on https://support.ts3-tools.info/
Official Project Homepage: https://www.ts3-tools.info/
facebook Fanpage: https://www.facebook.com/TS3Tools
GitHub: https://github.com/TS3Tools/TS3UpdateScript/
- Linux (tested on Debian based systems such as Debian and Ubuntu, but should work on the most distributions)
- root access on your Linux system
- Installed TeamSpeak server instance
- Needed installed softwares by the script
- bash
- rsync
- wget
- grep
- sed
- unzip
- mail (for receiving cronjob mails)
- telnet (if you want to inform online clients about updates)
- SQLite and MySQL as well as MariaDB database setups
- TSDNS
- Linux and FreeBSD
- Auto detection of
- TeamSpeak server instances installation directories
- Installed and latest TeamSpeak server version as well as architecture
- You may will test the latest version for a while, so you can set 'your' latest version (View parameter '--latest-version' with './TS3UpdateScript.sh --help')
- File permissions of current installed TeamSpeak server
- Used database type
- TSDNS usage
- ServerQuery Port
- Latest version of the TS3UpdateScript self
- Backup as rollback, if the newer TeamSpeak server version is not compatible or not working
- Deletes old logs, if you want to (parameter '--delete-old-logs')
- Informs online clients via poke message, if you want to (parameter '--inform-online-clients')
- Keeps rollback Backup, if you want to (parameter '--keep-backups')
- Cronjob (CRON) for (weekly) fully automated update process (it's manually adjustable)
First it will check, if a newer version for the script self is available and afterwards it will check your installed version of each instance against the latest available version from teamspeak.de. It also will detect, if you are using TSDNS, SQLite or MySQL database and so on. If a newer version is available, the script will do following steps:
- Inform online clients on all virtual servers (if you want to; parameter '--inform-online-clients' needed)
- Stopp running TSDNS (if used)
- Stopp running server instance gracefully
- Delete old logs (if you want to; parameter '--delete-old-logs' needed)
- Create backup of currently running TeamSpeak 3 server in '/tmp/ts3server_backup/'
- Download latest and named TeamSpeak 3 server files from 4players.de
- Unzip downloaded TeamSpeak 3 server files
- Import licensekey (if available), database and Query IP Black- and Whitelist from backup
- Import TSDNS settings file (if used)
- Delete ts3server.pid, if exists for correct start
- Delete downloaded TeamSpeak 3 server files
- Set ownership and group of files like before update
- Start TSDNS (if was used)
- Add commandline parameter to new ts3server_startscript.sh if INI-file is used
- Start updated server
- Script waits 15 seconds and checks, if the server is running
- If the server is not running, the rollback will be executed
- Clean up system from created and downloaded files for the update process
Those steps will the script execute for each installed instance, which will be checked.
The files/ directory will not be touched by the script - also not backuped!
Path | Description |
---|---|
. | README.md, TS3UpdateScript.sh, .updateScript.sh and the copy of the license |
./docs/ | Install and upgrade guide as well as changelog |
.configs/ | Configuration files |
TS3UpdateScript is free software and is made available free of charge. Your donation, which is purely optional, supports me at improving the software as well as reducing my costs of this project. If you like the software, please consider a donation. Thank you very much!
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7ZRXLSC2UBVWE