Xonotic Forums
XonStat don't duplicate servers please - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: XonStat don't duplicate servers please (/showthread.php?tid=5955)



XonStat don't duplicate servers please - Ch4mp - 12-24-2015

Mario wanted me to post it so I do so!


problem is that there's a function missing for XonSta that won't allow this mess.

I have same IP, never deleted any db, core etc. files and only modified a config file.
restarted server and got another server listed in XonStat.

I would recommend to fix this to avoid this issue in future.
I understand that there's stats now listed in history so it shouldn't be deleted.
RIP.

marry fragging.


RE: XonStat don't duplicate servers please - Antibody - 12-28-2015

As I mentioned to you in IRC, XonStat is behaving exactly as designed. This is happening because you deleted your server key, and for each server key there is a unique XonStat server that it is mapped to. Since you recreated your server from scratch, *of course* you got a new XonStat server entry!

Anyway, I'm not going into the database and manually fixing this.


RE: XonStat don't duplicate servers please - Iokast - 07-09-2016

Out of curiosity, what file(s) is the server key. Just to know what files not to delete when hosting a server.


RE: XonStat don't duplicate servers please - SpiKe - 07-10-2016

(07-09-2016, 11:13 PM)Iokast Wrote: Out of curiosity, what file(s) is the server key. Just to know what files not to delete when hosting a server.

The keyfile is key_0.d0si, located in $HOME/.xonotic/
If you run several server instances (with different server ids), the corresponding keyfiles are named key_0.d0si.[server_ID]