Community Forums Today's Posts     Member List     Archive    
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 58
  1. #31
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    To be exact, mysql db just dropped everything just like that exactly in that second I used that script
    It seems that you have inserted the ts3 db as storage db for the Channelwatcher. This currently overwrites the server-db completely, causing a crash.

    The database used by the Channellwatcher is different fom the database the TeamSpeak3-Server is using!

    We accountered this misunderstanding several times, so we opened two issues for the next release (#44 and #45) to improve documentation and add some in-app checks to avoid accidental overwrites

  2. #32
    Join Date
    Mar 2008
    Location
    ger
    Posts
    10
    i use the script with mysql db. The DB work, but no channel get deleted



    :~$ php app.php crawl example
    :~$ php app.php crawl example
    :~$ php app.php crawl example
    :~$ php app.php crawl example
    :~$ php app.php crawl example
    :~$ php app.php delete example
    There were just 0.0 crawls per hour. At least 2.0 crawls per hour are needed
    Rerun with --trust-crawls if you want to delete based on this insufficent data

    :~$ php app.php delete --trust-crawls example
    :~$

    nothing happend

    any ideas?

  3. #33
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    16
    @drak3 Working, thanks for assistance Just out of curiosity - what's the difference between crawl and watch, I mean, as I can see watch is sitting on the server constantly and crawl only once and has to be croned, but besides that is there any difference in working?

  4. #34
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    @ich123
    you have to run the crawl command regulary:
    The watch command connects to the server and notes down for each channel if it is visited. This data is then used by the delete command to decide which channels should be deleted.
    That's why you have to do enough crawls before the ChannelWatcher is able to delete any channels. The amount of minimum crawls is currently configured as a minimum of two crawls per hour in the configured period of 'time_to_live' of a channel.
    That means for example, that if your channels should be deleted after 2 weeks of inactivity ('time_to_live' = two weeks) you need at least 2*24*7 = 336 crawls before the ChannelWatcher can delete anything safely. (This number seems to be huge, but its just needed to run the crawl command every half an hour for two weeks to get this density of crawls)

    @Firenz:
    Good to hear
    Yep, the watch command is currently simply a wrapper around the crawl command. If you take a look at the source code (https://github.com/devMX/TeamSpeak3-...ingWatcher.php) you can see that it just waits and crawls...
    However, this command is currently not documented and therefore not officially supported as it lacks basic features such as keeping-alive the connection and isn't yet tested enough (e.g. there could be unexpected memory leaks) and therefore it isn't meant to be used in production where a CronJob is much more lightweight.
    We probably will make this command production ready in 1.1 or 1.2

  5. #35
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    We just released version 1.0.1
    We fixed some bugs that made the ChannelWatcher unusable with versions older than 5.3.7.
    Now we officially support 5.3.3 again. (5.3.2 might work too, but is not supported)

    Downloadlink can be found in the first post.

  6. #36
    Join Date
    Jun 2011
    Location
    Russian Federation
    Posts
    208
    I still do not get nothing ... upload to the website please complete your version is already configured for sqlite format "devMX TeamSpeak3 Channelwatcher.zip" according to your settings will be clearer to me that the change for themselves

  7. #37
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    145
    Hi, when my suggestion will be added?

  8. #38
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    181
    Quote Originally Posted by barricas View Post
    Hi, when my suggestion will be added?
    This is currently planned to be added in version 1.1.0. You can track the development here.

  9. #39
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    145
    Ok I tried to find that and couldn't find Thanks

  10. #40
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    16
    Just a small suggestion to give a possibility in cfgs to set a proper name because it looks "<21:22:06> "Channel Watcher from 195.***.***.85:54297" disconnected (disconnecting)" and when channels will be deleted the remote IP will show up, and I prefer to keep it in secret, thanks in advance

  11. #41
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,038
    99.9% of the Time the Bots will run on the same machine as the Server itself runs on, so it will be the same IP as the one of the Server which is never a secret since every Client that connects to that IP already (and hence already knows it).

    In addition to that nobody is able to see the Query Clients by default and even if they enable the Option to view Query Clients in Teamspeak they will still need sufficient i_client_needed_serverquery_view_power to view the Clients.
    I expect this Tool will login as ASQ so this makes it invisible to everyone including Server Admin. So if you can see it you already screwed up your Permissions...

  12. #42
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    16
    Quote Originally Posted by SilentStorm View Post
    99.9% of the Time the Bots will run on the same machine as the Server itself runs on, so it will be the same IP as the one of the Server which is never a secret since every Client that connects to that IP already (and hence already knows it).
    It is a secret because I'm running on 2 servers, first is public with TS installed and the second is our test, remote machine which should stay hidden. I can't install channel watcher on a public server because I have to use phpenv to use which is installed only on the remote one to avoid mess with apache.

    Quote Originally Posted by SilentStorm View Post
    In addition to that nobody is able to see the Query Clients by default and even if they enable the Option to view Query Clients in Teamspeak they will still need sufficient i_client_needed_serverquery_view_power to view the Clients.
    I expect this Tool will login as ASQ so this makes it invisible to everyone including Server Admin. So if you can see it you already screwed up your Permissions...
    No, I didn't. I know dependencies between i_client_serverquery_view_power and i_client_needed_serverquery_view_power. I'm talking that when it comes to delete unused channels they'll see a notify like "Channel x deleted by Channel Watcher from ***.***.***.**" so it seems you didn't understand that issue.

    Though it shouldn't be a big deal to add a query client name change so here's my request

  13. #43
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    Just a small suggestion to give a possibility in cfgs to set a proper name because it looks "<21:22:06> "Channel Watcher from 195.***.***.85:54297" disconnected (disconnecting)" and when channels will be deleted the remote IP will show up, and I prefer to keep it in secret, thanks in advance
    This will be implemented in the 1.1.0 release.
    However, the name can just be changed AFTER selecting the vserver so it will at least show up once.
    You can follow development at github, were I've opened an issue

  14. #44
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    16
    Another issue - I set channels to live for 2 weeks, watcher has been croned for every 2 minutes:

    Code:
    #!/bin/bash
    
    export PATH="/home/users/firenz/.phpenv/versions/5.3.8/bin:$PATH"
    cd /home/users/firenz/TeamSpeak3-ChannelWatcher/
    php app.php crawl main
    I wanted to delete unused channels and it returned me
    Code:
    There were just 0.0 crawls per hour. At least 2.0 crawls per hour are needed
    Rerun with --trust-crawls if you want to delete based on this insufficent data
    I was checking if it works properly and it does, print_unused confirms that (was checking frequently too), also watcher's mysql database is integral and complete so it's not a big issue, just for info. As we were talking before, it runs on phpenv 5.3.8 Used with --trust-crawls and worked like a magic
    I'm also wondering if you need a translator between English and Polish to issue #63, regards.

  15. #45
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    Quote Originally Posted by Firenz View Post
    Another issue - I set channels to live for 2 weeks, watcher has been croned for every 2 minutes:

    Code:
    #!/bin/bash
    
    export PATH="/home/users/firenz/.phpenv/versions/5.3.8/bin:$PATH"
    cd /home/users/firenz/TeamSpeak3-ChannelWatcher/
    php app.php crawl main
    I wanted to delete unused channels and it returned me
    Code:
    There were just 0.0 crawls per hour. At least 2.0 crawls per hour are needed
    Rerun with --trust-crawls if you want to delete based on this insufficent data
    I was checking if it works properly and it does, print_unused confirms that (was checking frequently too), also watcher's mysql database is integral and complete so it's not a big issue, just for info. As we were talking before, it runs on phpenv 5.3.8 Used with --trust-crawls and worked like a magic
    Thanks for reporting, we were able to reproduce this issue. It will hopefully gets fixed in 1.0.2. (See the issue on github).
    Quote Originally Posted by Firenz View Post
    I'm also wondering if you need a translator between English and Polish to issue #63, regards.
    that's a misunderstanding... I've meant "polish" as a verb since I found some aspects of the CLI relatively unclear.
    We're not planning to translate the CLI as the benefit seems relatively small.
    However if you want help us translating, you could either contribute a polish translation for our Webviewer at translate.devmx.de or (as a little bit bigger project) you could help us translating the ChannelWatcher documentation. (There is currently no automatation for that, so contact us if you'd like to help us with that.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Release] Teamspeak3 Webviewer
    By drak3 in forum Tools
    Replies: 156
    Last Post: 08-02-2013, 05:33
  2. [Release] devMX TeamSpeak3 Webviewer Lite
    By Maxe___ in forum Tools
    Replies: 7
    Last Post: 14-08-2012, 15:32
  3. Auto Delete channels
    By Ar2rJke in forum Tools
    Replies: 7
    Last Post: 26-06-2012, 12:45
  4. Replies: 74
    Last Post: 17-04-2012, 13:38
  5. Auto delete clients?
    By Trekkan in forum Server Support
    Replies: 3
    Last Post: 13-10-2010, 08:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •