Closed echodreamz closed 8 years ago
Thanks for reporting this. The same happens on CentOS too. Seems to be a bug.
I'll fix this as soon as possible.
Good thing we do not have this setup to automate updating the script or this would be a disaster :)
Just for your information: There should be a second backup in /var/backups/TS3Tools/TS3UpdateScript/, if your instance isn't working now and the rollback failed too.
Right now we are just testing this script, so it was a harmless test server :)
Test server or not: It shouldn't happen. ;)
If the script fails and/or destroys the instance, it should at least rollback to your working instance, that your instance is working again.
I will test the complete script soon.
From which to which version did you tried to update?
Server had 3.0.13.1, tried to go to 3.0.13.3.
I've fixed it in v5.2.1.
Can you please verify it on your Linux distribution?
Just update the script and try to update your test instance again:
./TS3UpdateScript --update-script
Sorry, was out for labor day weekend :). I will test this shortly and let you know!
TeamSpeak 3 server instance was started successful.
send: spawn id exp4 not open
while executing
"send "login serveradmin REMOVED\r""
Temporary server passwords were restored successful.
However, no passwords were restored.
The original issue seems to have been fixed, however, this is a new one above.
So I think I have found the issue...
When updating from say 3.0.13.2 to 3.0.13.3, when TS starts, it pauses to do some "database maintenance" on SQLite. During this time, it seems TS is not accepting any DB commands.
If I upgrade from 3.0.13.3 to the latest beta release (which does not perform any DB maintenance on startup). All temporary passwords are added as they should be.
Oh, you're right. I need to improve the script, that it has to wait for a useable instance (ServerQuery UI).
Done. :)
1 TeamSpeak 3 server instance found...
Collecting as much as possible information for following TeamSpeak 3 server instance: /home/teamspeak
1 instance for update process...
############################################################################
Do you want to update this instance to the following version? 3.0.13.4
Installation Directory: /home/teamspeak
Installed Version: 3.0.13 (Build: 1468930010)
Installed Platform: Linux
Installed Architecture: amd64
Instance Log Files: /home/teamspeak/logs
Instance TSDNS Binary: /home/teamspeak/tsdns/tsdnsserver
TSDNS Status: Inactive
Owner: teamspeak (UID: 1002)
Group: teamspeak (GID: 1002)
ServerQuery IP: 127.0.0.1
ServerQuery Port: 10011
Database Type: SQLite
############################################################################
Please answer: ([y]es/[n]o) y
Trying to backup temporary server passwords. Please wait...
Temporary server passwords were backuped successful.
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.
Temporary server passwords were restored successful.
Waiting 15 seconds to execute TeamSpeak 3 server and TSDNS health check...
TeamSpeak 3 server instance is still running.
Backup was deleted successful.
Cleaning up...
Then fails. Fedora Server 24. Last release worked fine.