Resource icon

TeamSpeak 3 - Rank/Level up system - v1.2.1

Status
Not open for further replies.

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
Thats not really an "issue" from the ranksystem istelf. It's just a hint, that you usually should use https because it is a bit safer.

So the "fix" would be that you'r install an SSL certificate like "Letsencrypt" (its for free)

regards

Erza
 

Some_body

New Member
Joined
Mar 27, 2017
Messages
30
Reaction score
4
Points
20
Thats not really an "issue" from the ranksystem istelf. It's just a hint, that you usually should use https because it is a bit safer.

So the "fix" would be that you'r install an SSL certificate like "Letsencrypt" (its for free)

regards

Erza
I know that but how to install SSL?
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
If you want to use letsencrypt AND you have shell access (ssh) then you can use the certbot -> https://certbot.eff.org/ if you'r not a totally newbie then you should get through it relativ easy
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
2017-04-06 22:12:56.396132 ERROR Fehler 1538: invalid parameter
getting that error all 24h-2d... how to fix that? :/ try'ed to connect with another query but it isnt working.
Bot stopping if the error occurs.
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
Hello senheiser,

here some questions:

where do you get this error?
What Version of the ranksystem is in use?

regards

Erza
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
I'll get this error if I see the message "ranksystem isn't connected" if I want to watch some stats. I check the log and see the occurred error..
I'm using version 1.2.2.2
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
and where does the ranksystem running? On a VPS or on a Webhost?
You said, you checked the logs, with that you mean the ranksystem logs?
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
Yes I mean the logs of the ranksystem. I let it run on a vps server (ovh)
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
Hm...
only thing i found over google about this errorcode is, that there is an existing errocode from the ts3-server, so you may also check the ts3-server logs.
you may also check the webserverlogs maybe there is also an info.

next thing is, if this is really only a teamspeak bug, you may go around with a cronjob
as example:

*/10 * * * * sudo -u www-data php /var/www/html/ranksystem/worker.php check >/dev/null 2>&1​

That cronjob checks every 10min. if the ranksystem is still running and if not it starts it again.

regards

Erza86
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
Hm...
only thing i found over google about this errorcode is, that there is an existing errocode from the ts3-server, so you may also check the ts3-server logs.
you may also check the webserverlogs maybe there is also an info.

next thing is, if this is really only a teamspeak bug, you may go around with a cronjob
as example:

*/10 * * * * sudo -u www-data php /var/www/html/ranksystem/worker.php check >/dev/null 2>&1​

That cronjob checks every 10min. if the ranksystem is still running and if not it starts it again.

regards

Erza86
the second thing u postet here is already in use but it isnt working xD its not restarting .... ill check my teamspeak log
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
Well thats a quite simple cronjob and if all rights are set correct, then usually it should work without any problems.

so if crontab / cronjob doesn't work you may try to reinstall cron with:

sudo apt-get install --reinstall cron or apt-get install --reinstall cron

a reinstall shouldn't delete configs but you may also backup your crons before doing a reinstall - standart folders should be:

/etc/crontab - /etc/cron.d/ - /etc/cron.daily/ - /etc/cron.hourly - /etc/cron.monthly -/etc/cron.weekly
and for user's cron :
/var/spool/cron/

regards

Erza86
 
Last edited:

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
Well thats a quite simple cronjob and if all rights are set correct, then usually it should work without any problems.

so if crontab / cronjob doesn't work you may try to reinstall cron with:

sudo apt-get install --reinstall cron or apt-get install --reinstall cron

a reinstall shouldn't delete configs but you may also backup your crons before doing a reinstall - standart folders should be:

/etc/crontab - /etc/cron.d/ - /etc/cron.daily/ - /etc/cron.hourly - /etc/cron.monthly -/etc/cron.weekly
and for user's cron :
/var/spool/cron/

regards

Erza86
do what you say, maybe it works now :) will see it later, thank you!
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
2017-04-08 17:09:02.687206 ERROR Fehler 1538: invalid parameter
Still the same issue
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
2017-04-08 17:09:02.687206 ERROR Fehler 1538: invalid parameter
Still the same issue

I still think that error comes up from your teamspeak-server, unfortunately i can't help you more, then like i said getting around it with a cronjob (and if your cronjob even is not working, you may consider that you system may is broken too in some way)

hello
i have a problem here in Teamspeak Option
>>
http://prntscr.com/eukuzn

At first i reccommend that you'r get the latest version of the ranksystem:

Master: https://github.com/Newcomer1989/TSN-Ranksystem/tree/master
or
Exp: https://github.com/Newcomer1989/TSN-Ranksystem/tree/Experimental (https://github.com/Newcomer1989/TSN-Ranksystem/issues/273)

next thing i suggest is, to do a fresh install because for me it looks like there is something broken.

also would be good to know what db your are using? mysql or mariadb? if so which version?

regards

Erza86
 

Kaissi2222

Member
Joined
May 18, 2016
Messages
4
Reaction score
0
Points
35
t
I still think that error comes up from your teamspeak-server, unfortunately i can't help you more, then like i said getting around it with a cronjob (and if your cronjob even is not working, you may consider that you system may is broken too in some way)



At first i reccommend that you'r get the latest version of the ranksystem:

Master: https://github.com/Newcomer1989/TSN-Ranksystem/tree/master
or
Exp: https://github.com/Newcomer1989/TSN-Ranksystem/tree/Experimental (https://github.com/Newcomer1989/TSN-Ranksystem/issues/273)

next thing i suggest is, to do a fresh install because for me it looks like there is something broken.

also would be good to know what db your are using? mysql or mariadb? if so which version?

regards

Erza86
thanks but other problem faced me
and i give all files should been 777 i give them the permission

http://prntscr.com/euoc1l

]
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
If you start it over the webinterface be sure the folders have webuser rights, otherwise you cant start it over the webinterface.

If it's linux (Debian/ubuntu) then usually the standart webuser is www-data.

So in your case do:

chown www-data:www-data /var/www/html/TSN-Ranksystem-master/ -Rf

after that it should be possible to start the ranksystem also over the Webinterface

If you want a cronjob too you can do it after all the other things above with the following:

If debian: apt-get install sudo

then

crontab -e

*/10 * * * * sudo -u www-data php /var/www/html/TSN-Ranksystem-master/worker.php check >/dev/null 2>&1

If you still have trouble feel free to write again

regards

Erza
 
Last edited:

Kaissi2222

Member
Joined
May 18, 2016
Messages
4
Reaction score
0
Points
35
thanks all work but a problem when i want to change name of the bot give me like above same
but the bot enter
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's',slowmode='200000',defchid='506',avatar_delay='0'' at line 1 )
 

Erza86

Member
Joined
Sep 21, 2015
Messages
60
Reaction score
18
Points
40
Hello,
as I already asked:
also would be good to know what db your are using? mysql or mariadb? if so which version?

Because i don't know about any other issues, except that a to high mariadb version may cause error's.
I think the highest possible and supported version of mariadb is 10.0 or 10.1 for the ranksystem.

also would be good to know where you get this error?

regards
 

Kaissi2222

Member
Joined
May 18, 2016
Messages
4
Reaction score
0
Points
35
thanks problem solved but i would to ask a question
if ts3 shutdown and start
the bot enter automatic?
if not can i make it?
and thanks
 
Status
Not open for further replies.
Top