TS3Tools / TS3UpdateScript

Automate all update processes for your TeamSpeak 3 server instances
GNU General Public License v3.0
189 stars 22 forks source link

Improve unzipping *.tar.bz2 file and importing new SQL files #16

Closed Sebbo94BY closed 8 years ago

Sebbo94BY commented 8 years ago
    bzip2 -d teamspeak3-server.tar.bz2

    tar jxf teamspeak3-server.tar

    mv teamspeak3-server_linux_amd64/ts3server .

    mv teamspeak3-server_linux_amd64/ts3server_startscript.sh .

    cp -R teamspeak3-server_linux_amd64/sql/* ./sql/
Sebbo94BY commented 8 years ago

Well, I've updated the code, but the unzipping process is still failing:

    bzip2: (stdin) is not a bzip2 file.
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
Sebbo94BY commented 8 years ago

Great, seems to be fixed. Let's verify this!

Could not backup temporary server passwords. Don't worry. You may just don't had any. TeamSpeak 3 server instance stopped for update process. Deleting old log files. Backup created successful. TeamSpeak 3 server instance was updated successful. TeamSpeak 3 server instance was started successful. Waiting 15 seconds to execute TeamSpeak 3 server and TSDNS health check... TeamSpeak 3 server instance is still running. Backup was deleted successful.

Sebbo94BY commented 8 years ago

Works fine and will be published with the new coming version.