Results 1 to 15 of 18
Thread: Teamspeak3 update_1.sql error
-
17-11-2011, 21:27 #1
-= TeamSpeak Lover =-
- Join Date
- Aug 2005
- Location
- Cali, USA
- Posts
- 63
Teamspeak3 update_1.sql error
2011-11-17 21:19:22.125000|INFO |ServerLibPriv | | Server Version: 3.0.0 [Build: 14957], Windows
2011-11-17 21:19:22.140625|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2011-11-17 21:19:22.140625|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
2011-11-17 21:19:22.140625|INFO |DatabaseQuery | | checking database integrity (may take a while)
2011-11-17 21:19:22.609375|CRITICAL|DatabaseQuery | | setSQLfromFile( file:sql/update_1.sql) failed
Teamspeak 3 was running fine for the last couple of months then out of no where yesterday i started getting this error.
When i looked in the sql folder it doesn't even have a update_1.sql file in there.
It does have update_12 through 18 but I'm not really sure what to do to fix this.
-
18-11-2011, 08:27 #2
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Hello
Seems your database is corrupted.
Please open your database, go to "instance_properties" and post here a screen shot from this table.
(You must find lines like
- 0 " " 0 serverinstance_database_version 18)
In some case the problem could be solved adding a new line : "0 NULL 0 serverinstance_database_version 18" => Don't forget to make a backup before
If you are not familar with SQL, send me your database in a private message.Last edited by florian_fr40; 04-01-2012 at 08:12.
-
18-11-2011, 16:22 #3
-= TeamSpeak Lover =-
- Join Date
- Aug 2005
- Location
- Cali, USA
- Posts
- 63
-
18-11-2011, 16:30 #4
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
you're welcome
Last edited by florian_fr40; 21-11-2011 at 08:25.
-
04-01-2012, 07:32 #5
-= TeamSpeak User =-
- Join Date
- Dec 2011
- Location
- on your six
- Posts
- 13
[CRITICAL] Server suddenly not reachable, sqlite problem
Hi people. I have been runing Teamspeak 3 server for quite some time now and havent got any major problems until recently. I have noticed that my server is not reachable but was not giving much attention, since master admin of my VPS said that he will be conducting some maintenance to VPS and I assumed that it was the problem. I was wrong.
After inspecting logs I have found the a lot of logs generated in last few days and all of them contain the same message which is
I have checked my /sql folder and that file is not there. Teamspeak server is updated to latest version and all files were replaced. Im runnning on Windows 2008 standard r2 and server is launching from Firedaemon 3.5 GA.Code:2012-01-04 07:05:06.382354|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.1 (2011-11-17 07:34:30) 2012-01-04 07:05:06.382354|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH 2012-01-04 07:05:06.382354|INFO |DatabaseQuery | | dbPlugin version: 3.7.3 2012-01-04 07:05:06.382354|INFO |DatabaseQuery | | checking database integrity (may take a while) 2012-01-04 07:05:06.507154|CRITICAL|DatabaseQuery | | setSQLfromFile( file:sql/update_1.sql) failed
My ini file contains following
and it worked in that way a long time.Code:machine_id= default_voice_port=9987 voice_ip=xxx.xxx.xxx.xx licensepath= filetransfer_port=30033 filetransfer_ip=xxx.xxx.xxx.xx query_port=10011 query_ip=xxx.xxx.xxx.xx query_ip_whitelist=query_ip_whitelist.txt query_ip_blacklist=query_ip_blacklist.txt dbplugin=ts3db_sqlite3 dbpluginparameter= dbsqlpath=sql/ dbsqlcreatepath=create_sqlite/ dblogkeepdays=90 logpath=logs logquerycommands=0 dbclientkeepdays=30
Nothing has been worked on it recently and I have no idea what could cause this to happen. I have people from my community screaming on me asking when will it work, so please help me asap. I hope my database is not damaged, and starting from begining should not be and option. Dont suggest me to drop or prune my database, I simply cant do it, but if its only option I will understand.
This is exported Firedaemon service, and you can see launch parameters there.
ts3server.zip
Regards, MaSS
*** Thread Merged ***Last edited by florian_fr40; 04-01-2012 at 08:13.
-
04-01-2012, 08:15 #6
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Hello
Look at the top if this thread.
For the 3.0.1 version, the database_version value must be 19.
-
04-01-2012, 13:31 #7
-= TeamSpeak User =-
- Join Date
- Dec 2011
- Location
- on your six
- Posts
- 13
Sorry for double posting I forgot to add screenshot of instance_properties and I cant see my first post.
Here it is
http://i39.tinypic.com/sy4kg8.png
I cant seem to add value there. Im trying it with Sqlite browser but it throws me error. Any recommendation on what program should I use for it?
-
04-01-2012, 13:40 #8
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Hum from your screenshot I see : serverinstance_permissions_version = 10
Very old server version.
I would suggest you to make a new server (dowloading the last version), but I guess you will answer me "I don't want recreate all channels/permission"
Send me your database in private message I'll try to clean it and update it from your version to the last version.
-
04-01-2012, 15:57 #9
-= TeamSpeak User =-
- Join Date
- Dec 2011
- Location
- on your six
- Posts
- 13
Thanks, PM sent. Is it possible to switch from Sqlite to MySQL? In my case what would I have to do? I have Mysql server already ( latest ) and full access to it.
-
04-01-2012, 16:59 #10
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
New database sent in pm.
About the database type switch, you could find several tutos/infos on this forum
Last edited by florian_fr40; 04-01-2012 at 21:54.
-
04-01-2012, 21:05 #11
-= TeamSpeak User =-
- Join Date
- Dec 2011
- Location
- on your six
- Posts
- 13
Works fine, many thanks!
-
04-01-2012, 21:54 #12
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
-
05-01-2012, 10:13 #13
-= TeamSpeak User =-
- Join Date
- Jan 2012
- Posts
- 1
setSQLfromFile( file:sql/update_1.sql) failed
Hello,
today i installed a new teamspeak3 server (3.0.1) on my dedicated server (debian squeeze 6.0.3 64bit).
After extracting, i executed the following commands:
The error message is as follows:Code:./ts3server_startscript.sh start <- Server works ./ts3server_startscript.sh stop <- Server stopped successfully ./ts3server_startscript.sh serveradmin_password=xxx <- After this, server crashed immediately ./ts3server_startscript.sh start <- After this, the error message comes up
I looked into the directory sql/ but there isn't any file named "update_1.sql".Code:2012-01-04 09:45:45.788508|CRITICAL|DatabaseQuery | | setSQLfromFile (file:sql/update_1.sql) failed
I already searched google for this issue, but they are all saying "after reinstalling it works". But not on my server. After reinstalling the complete(!) dedicated server, extracting the teamspeak3 server and starting the server as i've done it the first time, it crashes again and again and again ... How can i fix this? It already worked previously (~ 2 weeks before) and there wasn't any change on the server, because the server was not online in that time!
Thank you very much,
TheReelaatiiv [Sorry for my not so good english
]
Additional information: The owner/group of the files is ts3/ts3 and i am running the server with that user.
On my other 10 servers there is the same issue. :-(
*** Thread Merged ***
-
01-05-2012, 18:52 #14
-= TeamSpeak User =-
- Join Date
- May 2012
- Posts
- 3
Hello,
Same problem there. No matter how many times I clean and reinstall the TS 3 server, I first get this error:
Then, all subsequent times:2012-05-01 17:34:33.336144|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.5 (2012-04-23 04:46:12)
2012-05-01 17:34:33.336552|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2012-05-01 17:34:33.336597|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
2012-05-01 17:34:33.336840|INFO |DatabaseQuery | | checking database integrity (may take a while)
2012-05-01 17:34:33.406617|INFO |SQL | | db_CreateTables() tables created
2012-05-01 17:34:33.730873|CRITICAL|PktReader | | Received Error (2)
It works fine in my personal computer, which is also a 64-bits Arch.2012-05-01 17:44:19.883873|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.5 (2012-04-23 04:46:12)
2012-05-01 17:44:19.884217|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2012-05-01 17:44:19.884260|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
2012-05-01 17:44:19.884582|INFO |DatabaseQuery | | checking database integrity (may take a while)
2012-05-01 17:44:19.954711|CRITICAL|DatabaseQuery | | setSQLfromFile( file:sql/update_1.sql) failed
Kernel: 2.6.32-6-pve x86_64.
Any update on this?
Cheers,
Vlavv.Last edited by Vlavv; 01-05-2012 at 22:57.
-
01-05-2012, 20:57 #15
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
Had you read this thread prior to posting in it you'd have seen there are replies which fixed the Problem for others, so maybe you should try those and if they don't fix your issue post back with what you tried.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
MySQL: setSQLfromFile( file:sql/update_1.sql) failed
By tgp1994 in forum Server SupportReplies: 6Last Post: 29-11-2012, 01:57 -
Error when starting Teamspeak3 Service in Windows 2008
By EpsilonVaz in forum WindowsReplies: 0Last Post: 04-08-2010, 16:12 -
[solved] Failed sql/update_1.sql
By WolwX in forum Server SupportReplies: 2Last Post: 04-02-2010, 13:05 -
Error to install Teamspeak3 Server
By JohnnyKing94 in forum Linux / FreeBSDReplies: 24Last Post: 07-01-2010, 21:22


Reply With Quote
