Alright.
First of all; download your Teamspeak 3 database from your VPS/Dedicated server to your home PC.
(The filename should be "ts3server.sqlitedb")
Then secondly: Download SQLite Administration
Download it here.
Save the zip file or open it; whatever you want.
Open the application and select the language you want.
Now to the database editting.
First of all; you click on "Database" then "Open"
Navigate towards where you saved your database file and open the SQLITE database.
Now; lets start edditing this!
First of all, Click on "Edit Data" as shown here:
(It should be on the top)
By default, You will be in the "index" tab, feel free to close it as you won't use it.
Then your list should look like this:
Excellent!
Now look in the "Tables" list; and find the table that says "server_properties"
Next; you will see a list on the main screen;
Search for the "virtualserver_maxclients" (This is the 3rd entry)
Then; Double click on the "512" entry (or whatever your max clients is set to)
Change this entry back to "32" by simply typing it in!
Then go to Database and click on Close.
This will save your changes.
Now re-upload your database to your linux VPS/Dedicated server and start up your teamspeak server!
EDIT!
Make sure your server_id says 1. It seems that TeamSPeak saved the default server as server_id 0
As you can see here below; the first entry has 0 and the other ones are 1.
The number 1 is your actual teamspeak server!