INFORMATION: THIS SCRIPT IS DEPRECATED BECAUSE OF TO MANY BUGS.
IM WORKING NOW ON A BETTER SCRIPT.
THE NEWER SCRIPT WILL BE IN A THREAD HERE IN THIS FORUM.
WARNING!!! This script needs these installed packages "zip", "unzip" und "curl"! To work correctly!
The script mustn't run as root!
Greetings dear TeaSpeak community.
I have created an TeaSpeak Server update script with repository choise and automatic update system.
I'll explain briefly how it works.
1. You can start this script with several subcommands such like "u", "fn", "fs", "fo" or "fd"
3. If you have choose option "u" you can choose if you want the messages in english or german and than you can choose from which channel the script should get the update
4. Check if the teaspeak server is on the same directory with this script
5. check the version and going on if the installed version is deprecated
6. checking if the ts server is running and stop it if neccessary
7. make an backup in .zip type and check if the backup successfully created
8. download the update, extract it, delete the archive
9. checking if the update successfull
10. restart the teaspeak server and check if the ts is running
The script creates automatically a log file. If something going wrong the script write in this log file whats going wrong.
PS. I hope your like it ^^ | Ich hoffe es gefällt euch ^^
IM WORKING NOW ON A BETTER SCRIPT.
THE NEWER SCRIPT WILL BE IN A THREAD HERE IN THIS FORUM.
WARNING!!! This script needs these installed packages "zip", "unzip" und "curl"! To work correctly!
The script mustn't run as root!
Greetings dear TeaSpeak community.
I have created an TeaSpeak Server update script with repository choise and automatic update system.
I'll explain briefly how it works.
1. You can start this script with several subcommands such like "u", "fn", "fs", "fo" or "fd"
- u = Update with user interaction, repository choise and Informations
- fn = Update without user interaction and informations. He use the normal repository such like "amd64" or "x86"
- fs = Same as "fn" but with the "stable" channel such like "amd64_stable" or "x86_stable"
- fo = Same as "fn" but with the "optimized" channel
- fd = Same as "fn" but with the "debug" channel
3. If you have choose option "u" you can choose if you want the messages in english or german and than you can choose from which channel the script should get the update
4. Check if the teaspeak server is on the same directory with this script
5. check the version and going on if the installed version is deprecated
6. checking if the ts server is running and stop it if neccessary
7. make an backup in .zip type and check if the backup successfully created
8. download the update, extract it, delete the archive
9. checking if the update successfull
10. restart the teaspeak server and check if the ts is running
The script creates automatically a log file. If something going wrong the script write in this log file whats going wrong.
ACHTUNG!!! Das Skript benötigt installierte Pakete wie "zip", "unzip" und "curl"! Um ordentlich zu funtkionieren!
Das Skript darf nicht als root ausgeführt werden!
Grüße an die TeaSpeak Community.
Ich habe ein TeaSpeak Server Update Skript erstellt, mit Quellenauswahl und mit automatischen update System.
Ich erkläre kurz wie es funktioniert.
1. Du kannst das Skript mit verschiedenen Unterbefehlen starten, wie z.B.: "u", "fn", "fs", "fo" oder "fd"
3. Wenn du option "u" ausgewählt hast, kannst du auswählen, ob du die Nachrichten auf Englsich oder Deutsch haben möchtest und dann kannst du auswählen aus welcher Quelle er das Update beziehen soll.
4. Überprüft ob der TeaSpeak Server im selben Ordner ist, wie das Skript
5. Überpürft die Version und fährt fort wenn deine Version veraltet ist.
6. Überpürft, ob der TeaSpeak Server online ist und stoppt ihn, falls er Online ist.
7. Erstelle ein Backup im .zip Format und überprüft, ob das Backup erstellt wurde.
8. Downloadet das Update, entpackt es, entfernt das Archiv
9. Überprüft, ob das Update erfolgreich ist
10. Startet den TeaSpeak Server wieder und überpürft auch natürlich ob er erfolgreich gestartet wurde.
Das Skript erstellt automatisch eine Log Datei. Wenn irgendwas nicht hin haut oder sonstiges, schreibt das Skript es in die Log Datei.
Wenn es Verbesserungsvorschläge gibt, dann zögert nicht und schreibt es hier hin oder mir per PN.
Das Skript darf nicht als root ausgeführt werden!
Grüße an die TeaSpeak Community.
Ich habe ein TeaSpeak Server Update Skript erstellt, mit Quellenauswahl und mit automatischen update System.
Ich erkläre kurz wie es funktioniert.
1. Du kannst das Skript mit verschiedenen Unterbefehlen starten, wie z.B.: "u", "fn", "fs", "fo" oder "fd"
- u = Updatet mit Nutzer Interaktionen, Quellenauswahl und Informationen
- fn = Updatet ohne Nutzer Interaktionen und Quellenauswahl. Er nutzt die normale Quelle wie "amd64" oder "x86"
- fs = Das selbe wie bei "fn" aber mit der "stable" Quelle, wie "amd64_stable" or "x86_stable"
- fo = Das selbe wie bei "fn" aber mit der "optimized" Quelle
- fd = Das selbe wie bei "fn" aber mit der "debug" Quelle
3. Wenn du option "u" ausgewählt hast, kannst du auswählen, ob du die Nachrichten auf Englsich oder Deutsch haben möchtest und dann kannst du auswählen aus welcher Quelle er das Update beziehen soll.
4. Überprüft ob der TeaSpeak Server im selben Ordner ist, wie das Skript
5. Überpürft die Version und fährt fort wenn deine Version veraltet ist.
6. Überpürft, ob der TeaSpeak Server online ist und stoppt ihn, falls er Online ist.
7. Erstelle ein Backup im .zip Format und überprüft, ob das Backup erstellt wurde.
8. Downloadet das Update, entpackt es, entfernt das Archiv
9. Überprüft, ob das Update erfolgreich ist
10. Startet den TeaSpeak Server wieder und überpürft auch natürlich ob er erfolgreich gestartet wurde.
Das Skript erstellt automatisch eine Log Datei. Wenn irgendwas nicht hin haut oder sonstiges, schreibt das Skript es in die Log Datei.
Wenn es Verbesserungsvorschläge gibt, dann zögert nicht und schreibt es hier hin oder mir per PN.
PS. I hope your like it ^^ | Ich hoffe es gefällt euch ^^
Attachments
-
4.4 KB Views: 247
Last edited: