• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Pending Channel Needed Talk power resets on server restart

eduardoroeder

Fanatic member
Premium User
Just like the title says, whenever I restart the server, all set up "Channel Talk Power Needed" resets back to 0. Having multiple instances with multiple moderated/afk channels makes this a hassle to re-set up those permission.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Just like the title says, whenever I restart the server, all set up "Channel Talk Power Needed" resets back to 0. Having multiple instances with multiple moderated/afk channels makes this a hassle to re-set up those permission.
I could feel you.
Is there any error within the console?
Was this issue reproduceable on a fresh server?
Do you have a DB for me to reproduce?
 

eduardoroeder

Fanatic member
Premium User
Well, i've got 2 or 3 different DB's and they happened on all of those. Did you try to reproduce yet? If yes and still could not reproduce, i'll send one of mine.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
"Did you try to reproduce yet", that issue already came up a half a year ago, but nobody who I know ever reproduced it, includign myself.
 

eduardoroeder

Fanatic member
Premium User
This is still happening. If you have 30+ instances each with their respective welcome and afk channel (both with large needed voice power), its one more thing to re-configure every time it restart, making troublesome to test new updates as it needs a restart to update.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Yes, that manly comes due to verry old databases.
But if somebody has a reproducible way for new databases I would be glad to hear that.
 

eduardoroeder

Fanatic member
Premium User
May I ask you to try in a old database and Trace out what is causing that? Because the database is not that old, and after you have couple instances with everything set up you can't just "reset the database" to fix it... You have to keep the old one. You may be right since you are the developer in this case. But personally I don't think it has to do with the database...

Is there anything I can do to fix that on a old database?
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
"old database" would be around 1 and a half years ago. I cant name you an exact date, but then I made some changes.
My bet is that not every value gets updated within the database, so some old overrides the new or vise versa.

Interesting would be which entries are within the permissions table for the certain channel where the permissions are getting resetted every time.
Could you may execute this query:
Code:
SELECT * FROM `permissions` WHERE `serverId` = <server id> AND `channelId` = <channel id> AND `type` = 1
Because I may have a clue.
 

eduardoroeder

Fanatic member
Premium User
The database is 3 months old... Mostly from 1.4.4.

I'll send the result ASAP when I get home.

Like I said on the other post, I'll send the database to you aswell.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Tea*Speak permission list is highly deprecated. Use YatQa :)
But the channel edit menu should work.

As well I do not see any anomalies within the database...
But interesting that its showing different suff.

Is the needed talk power the only permission which get removed?
Or does this also apply to general permissions?
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Well I just noticed that the needed talk power is saved as property.
Would you mind to tryout this query as well:
Code:
SELECT * FROM `properties `WHERE `serverId` = <server id> AND `type` = 1 AND `id` = <channel id>
 

eduardoroeder

Fanatic member
Premium User
Im travelling right now so can't test the query. I've sent via PM the database to you.

---- Automatically Merged Double Post ----

Did you try anything with the DB you asked for? @WolverinDEV
 
Last edited:

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Haven't seen the database yet :D
But give me a moment I'll lookup my conversations.

---- Automatically Merged Double Post ----

Update: My fault have overlooked your conversation...

---- Automatically Merged Double Post ----

Well the channel has a required talk power of 100.
I also just looked closer to your screenshot and wonder what you're trying with the permissions editor^^
The needed talk power is a channel property not a permission.
 
Last edited: