Results 1 to 3 of 3
Thread: Rebuild default permissions
-
01-08-2012, 20:11 #1
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 2
Rebuild default permissions
Hello all,
back when TS3 was still beta I started to host a few virtual servers, this was before i_group_auto_update_type was introduced.
When the update was delivered which required i_group_auto_update_type to be set I did not read the changelog/install instructions and this lead to my permission system not adapting/autofilling any new permissions added.
In the past I used serverquery to grant new rights I explicitly needed, but the issue continues throughout the database and so most groups do not have values assigned for new permissions.
What I want to do now is to clear this mess up. So I am looking for a tool/a to reapply these i_group_auto_update_type changes retrospectively OR recreates all default permissions.
I have tried permreset but this didnt do it.
Any suggestions?
Thanks!Last edited by leepfrog; 04-08-2012 at 12:18.
-
01-08-2012, 21:53 #2
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,042
This will be pretty hard to do, especially because your Database is likely way out of date with current Defaults.
Choices I see (from easiest / less time consuming to hardest / most time consuming):
- Create snapshots of each of your Virtual Servers and save them. (see serversnapshotcreate - there is a shellscript for linux in some sticky around the forums which might help)
- Stop the entire Instance.
- Rename the Database File (ts3server.sqlitedb). (Or in case of mysql Db: Export the Database (using phpMyAdmin or mysqldump) and then clear the database so its doesn't contain any Tables).
- Update the Server to the latest release
- Start the Server which will create a new Database with all the current defaults.
- Deploy the Snapshots created before. ( see serversnapshotdeploy - IIrc same shellscript might come in handy for this task as well.)
- Use permreset on every Virtual Server and pray it works.
- Fix any missing Group Assignments / Channels.
- Stop the entire Server Instance.
- Delete the Database File (or in case of mySQL clear the database of all tables)
- Update the Server
- Start the Server and recreate everything from scratch.
- Create a new TS3 Server Instance (on your local PC for example) which will create a new Database with all the current Default Permissions.
- Compare the two Databases and manually fix the differences between the two of them.
-
04-08-2012, 12:16 #3
-= TeamSpeak User =-
- Join Date
- Jul 2012
- Posts
- 2
Hi SilentStorm,
thanks for your reply - I went with your first suggestion and it worked like a charm!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Default channel permissions
By mooop12 in forum Permission SystemReplies: 6Last Post: 11-03-2012, 09:18 -
[Resolved] Resetting Permissions to default values
By Janie Humada in forum Permission SystemReplies: 14Last Post: 02-09-2011, 19:08 -
Need the TS3 default permissions.
By Korxu in forum Permission SystemReplies: 3Last Post: 12-12-2010, 18:48 -
Default Channel Permissions
By Spaldo in forum Permission SystemReplies: 7Last Post: 27-07-2010, 09:27


Reply With Quote