TS3Tools / TS3UpdateScript

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

TS-Server Update not working (from 3.0.x to 3.2.x) #79

Closed ThomasKub closed 6 years ago

ThomasKub commented 6 years ago

Hello! I cannot update my ts3 instance. Could you tell me, what i need to do, to fix this?

Output:

Please wait... Script is working...

Performing self-tests as preventive measures against possible failures

Collecting necessary information for further tasks

All collected information were validated successfully as preventive measures against possible failures

1 TeamSpeak 3 server instance found...

Collecting as much as possible information for following TeamSpeak 3 server instance: /opt/teamspeak3-server_linux_86 1 instance for update process... ############################################################################ Do you want to update this instance to the following version? 3.2.0

    Installation Directory: /opt/teamspeak3-server_linux_86
    Installed Version: 3.0.13.8 (Build: Unknown)
    Installed Platform: Linux
    Installed Architecture: amd64

    Instance Log Files: /opt/teamspeak3-server_linux_86/logs/
    Instance TSDNS Binary: /opt/teamspeak3-server_linux_86/tsdns/tsdnsserver
    TSDNS Status: Inactive

    Owner: teamspeak3 (UID: 1006)
    Group: teamspeak3 (GID: 1004)

    Database Type: SQLite

############################################################################ Please answer: ([y]es/[n]o) y Temporary server passwords were not backuped, because you've disabled it or whether telnet nor expect is installed. TeamSpeak 3 server instance stopped for update process. 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 is not running any longer. /opt/TS3UpdateScript/TS3UpdateScript: line 2109: expect: command not found Due of the failed update, the TS3UpdateScript has created a debug report in /opt/teamspeak3-server_linux_86/20180628-1128-ts3us-debug-report.md Update failed. Rollback to the version '3.0.13.8'. TeamSpeak 3 server instance was started successful. Backup was deleted successful.

Cleaning up...

Summary of measured execution time for each step Total script: 30s Self-Test: 4s Collecting Information: 1s Validation: 0s Execution Mechanism: 25s Cleanup: 0s

Sebbo94BY commented 6 years ago

Thank you for your support request, @ThomasKub.

Since TS3UpdateScript version 5.6.5, the script does not support older versions than 3.1.x of TeamSpeak 3 server anymore. See CHANGELOG and requirements.

What you can do, is following:

  1. Download the TS3UpdateScript version 5.6.4: https://github.com/TS3Tools/TS3UpdateScript/releases/tag/5.6.4
  2. In the configs/config.all file, set LATEST_STABLE_RELEASE to 3.1.3: https://github.com/TS3Tools/TS3UpdateScript/blob/master/configs/config.all#L3
  3. Now, run the update to this specific version: ./TS3UpdateScript --check --set-release (you may append your additional required parameters here)

Now your TeamSpeak 3 server should be updated to 3.1.3

  1. Now, download and use the latest version of the TS3UpdateScript: https://github.com/TS3Tools/TS3UpdateScript/releases/tag/5.6.5
  2. Update the TeamSpeak 3 server from version 3.1.3 to the latest: ./TS3UpdateScript --check (you may append your additional required parameters here)

Your TeamSpeak 3 server should be updated to the latest version now

I hope, I could help you with this workaround. :)