Forum

Page 1 of 7 123 ... LastLast
Results 1 to 15 of 101
  1. #1
    Join Date
    August 2008
    Location
    Whois
    Posts
    586

    Smile [BETA]Powerful Teamspeak3 Server Startscript for Linux with "AUTOMATIC"UPDATE!

    This Script doesn't works with BETA Server !



    Version 1.4.0 ( Last Update 21/JUL/2012 )


    Hi folks!

    I have created a powerful TeamSpeak3 Multistartscript.
    Some threat's and script on this site give's me a inspiration to create it.

    HOT-Function: "AUTOMATIC"UPDATE
    (Without losing your Database! )

    Functions overview:
    ~~~~~~~~~~~~~~
    start|stop|restart|update|status|watch|check
    Attachment 2055


    "check" is ja new function, for email notification if an update available

    Requirements packages:
    ~~~~~~~~~~~~~~~~~
    AWK
    Screen
    Expect
    global


    Allowed:
    ~~~~~~
    Change
    Copy&Paste for own Scripts
    Modifiy
    To improve


    NOT Allowed:
    ~~~~~~~~~
    Delete the Headlines ( Copyleft )


    ~~ BUGLIST ~~

    * Fixed a typing error

    * Fixed a UpdateBug to beta-1X

    * Fixed load PluginBUG


    ~~ IN DEVELOPMENT v 1.3.0~~

    * All functions included :-)



    [Troubleshooting]

    Info for SuSE Linux:
    http://www.gizmola.com/blog/archives...directory.html

    Color problem?

    Link sh to bash:
    sudo rm /bin/sh && sudo ln -s bash /bin/sh
    Unlink it:
    sudo rm /bin/sh && sudo ln -s dash /bin/sh

    You have problems with the update from beta-15 to beta-16?

    Change this Line (240):
    wget -O - $FTPPATH$(cat current)/ 2> /dev/null | grep -o -E $FILENAME[^\"]+tar.gz -o | tail -n1 > name

    to this:

    wget -O -
    $FTPPATH$(cat current)/ 2>/dev/null | cut -d '"' -f 2 | grep linux | tail -n1 > name



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Thanks & Credits


    Thanks Ethaniel for improve the Script to v1.3.0
    Thanks bl33ding edge for improve the Script to v1.2.1
    Thanks Germeshausen.de for allowed use this.
    Thanks Obbi for help me by grep out a information for the Updatefeature!
    Thanks BlackScript, now the SuSE Users can run my Script to!
    Thanks nickvergessen for report a BUG!
    Thanks BizzWare for report a BUG!
    Thanks CoolRunner for report a BUG!
    Thanks Simeon for report a BUG!


    Other nice and sense scripts:
    [RELEASE] Client revision check - inform and inform/kick the client

    A simple ts3 serveradmin password recovery script (win + linux)

    TS3-PHPPear Mod ( Anti Recording, Anti Idle, Protect Nicks and Groups )
    http://forum.teamspeak.com/showpost....55&postcount=3


    Attention!!! This Script is ALPHA NONFULLTESTED !!! I cannot guarantee, all works fine!!!
    UPDATE TO v1.4.0!This Script is tested under Linux version 2.6.32-12-pve ([email protected]) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Tue May 15 06:02:20 CEST 2012
    Attached Files Attached Files
    Last edited by /dev/null/; July 21st, 2012 at 11:48 PM.

  2. #2
    Join Date
    December 2009
    Location
    Germany
    Posts
    6
    Code:
    if [ ! -x /usr/bin/expectt ]; then 
      echo""
      echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
      tput sgr0
      echo""
      echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
      tput sgr0
      echo""
      echo""
      echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
      tput sgr0
      echo""
      echo""
      exit 1;
    change to--->
    Code:
    if [ ! -x /usr/bin/expect ]; then 
      echo""
      echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
      tput sgr0
      echo""
      echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
      tput sgr0
      echo""
      echo""
      echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
      tput sgr0
      echo""
      echo""
      exit 1;

  3. #3
    Join Date
    August 2008
    Location
    Whois
    Posts
    586
    o.O Thanks for Feeback!

    BUG Fixed

  4. #4
    Join Date
    December 2009
    Location
    Brasil
    Posts
    6
    would be good if you put all in english, i got an error but can find what happens.

  5. #5
    Join Date
    December 2009
    Location
    Germany - NRW - Moers
    Posts
    1
    [English]Hey the auto update fuction doesn't work
    beta 10 is out
    and the script find only beta-9
    please fix it.

    *** English only ***
    Last edited by dante696; January 4th, 2010 at 02:13 PM. Reason: English only

  6. #6
    Join Date
    August 2008
    Location
    Whois
    Posts
    586
    Thanks for the Info.

    UpdateBUG is Fixed.

  7. #7
    Join Date
    December 2009
    Location
    Germany, Siegen
    Posts
    23
    I cannot unzip the File because of a "Method Error"

    Kann die Datei leider nicht entpacken. Sagt sowohl unter Linux als auch unter Windows:

    Unbekannte Methode
    Last edited by sebbuch79de; December 28th, 2009 at 10:45 AM.

  8. #8
    Join Date
    March 2008
    Location
    Belgium
    Posts
    3
    Could you post an English version plz?

  9. #9
    Join Date
    August 2008
    Location
    Whois
    Posts
    586
    The file was compressed with 7zip, know i have compress it with WinZIP 4all

    If I have time, i will translate it.
    Last edited by /dev/null/; December 28th, 2009 at 11:34 AM.

  10. #10
    Join Date
    August 2008
    Location
    Mannheim
    Posts
    16
    hi
    i cannot extract this file

  11. #11
    Join Date
    August 2008
    Location
    Whois
    Posts
    586
    Please download the file again, you have download the "old" version.
    TS3MultiStartscript.zip (3,9 KB, 0x views)

  12. #12
    Join Date
    December 2009
    Location
    Frankfurt
    Posts
    1
    Hi,

    I become a Error Message. Can you help me?

    Code:
    [email protected]:~> ll
    total 6272
    -rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
    -rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
    drwx------ 3 ts3 users    4096 Dec 28 13:06 files
    -rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
    -rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
    -rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
    drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
    -rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
    drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
    -rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
    -rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
    -rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
    -rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
    [email protected]:~> ./startscript.sh start
    bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
    [email protected]:~>
    I edit the config to this one.

    Code:
    #!/bin/sh
    #Teamspeak3 MultiStartscript
    
    # Version: 1.1
     
    # Written by:
    # J. Daniel (/dev/null/ Ôka Pikniker )
    # http://www.goxts.com
    
    
    # ~~ Change this Settings for you own Serverconfiguration ~~
    
    
    PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
    #( !Attention! Requirement / at the ends of the line )
    
    TITLE='TeamSpeak3 Server'									# Set you own Screentitle
    NAME='ts3'													# Set you own PID Name
    
    SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
    LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )
    
    FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
    DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0
    
    STATUS='beta'												# To change the name "beta" in the files when beta is over
    
    USER='ts3'													# User for start the Server
    
    FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
    #( !Attention! Requirement / at the ends of the line )
    
    
    # ~~ END OF CONFIGURATION ~~
    Thanks for help

    Moony

    PS: is a Linux Suse

    Sorry for my english :-)
    Last edited by Moonbear; December 28th, 2009 at 02:42 PM. Reason: Version

  13. #13
    Join Date
    December 2009
    Location
    Germany
    Posts
    14
    Quote Originally Posted by Moonbear View Post
    Hi,

    I become a Error Message. Can you help me?

    Code:
    [email protected]:~> ll
    total 6272
    -rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
    -rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
    drwx------ 3 ts3 users    4096 Dec 28 13:06 files
    -rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
    -rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
    -rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
    drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
    -rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
    drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
    -rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
    -rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
    -rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
    -rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
    [email protected]:~> ./startscript.sh start
    bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
    [email protected]:~>
    I edit the config to this one.

    Code:
    #!/bin/sh
    #Teamspeak3 MultiStartscript
    
    # Version: 1.1
     
    # Written by:
    # J. Daniel (/dev/null/ Ôka Pikniker )
    # http://www.goxts.com
    
    
    # ~~ Change this Settings for you own Serverconfiguration ~~
    
    
    PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
    #( !Attention! Requirement / at the ends of the line )
    
    TITLE='TeamSpeak3 Server'									# Set you own Screentitle
    NAME='ts3'													# Set you own PID Name
    
    SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
    LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )
    
    FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
    DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0
    
    STATUS='beta'												# To change the name "beta" in the files when beta is over
    
    USER='ts3'													# User for start the Server
    
    FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
    #( !Attention! Requirement / at the ends of the line )
    
    
    # ~~ END OF CONFIGURATION ~~
    Thanks for help

    Moony

    PS: is a Linux Suse

    Sorry for my english :-)


    I have the same error with the script .....
    ::::::EDIT::::::

    i found the reason and after the fix it works fine

    just do this http://www.gizmola.com/blog/archives...directory.html

  14. #14
    Join Date
    December 2009
    Location
    Tunisia
    Posts
    37
    You are sure this is correct ?

    PAT='/home/ts3/'

  15. #15
    Join Date
    December 2009
    Location
    Poland, Warsaw
    Posts
    14
    Update without lost data?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Please Update this Plugin ""Connection History"" Or Include to Client Version
    By varela1george in forum Suggestions and Feedback
    Replies: 2
    Last Post: October 13th, 2012, 08:28 AM
  2. [No Bug] Updated to "Beta Channel" version, reverted, "lost" my contacts
    By Nev0r in forum Client Support
    Replies: 3
    Last Post: March 21st, 2011, 02:02 PM
  3. [Implemented in beta 23] Copy "Server Group"
    By bubu_123 in forum General Questions
    Replies: 6
    Last Post: July 12th, 2010, 03:31 PM
  4. Linux-Startscript for Teamspeak3 (without screen)
    By zeitsofa in forum Tools / Web Based
    Replies: 8
    Last Post: February 2nd, 2010, 05:47 PM
  5. Replies: 4
    Last Post: December 24th, 2009, 12:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •