Running OpenData server
sheynandr opened this issue ยท 3 comments
Hi. I will try to run this mod and server on my linux server and all nice working but... crashes and analytics sending to my web server and not saving them. In minecraft client log file i'm search:
[17:27:35] [OpenEye sender thread/WARN] [OpenEye]: openeye.responses.ResponseError.execute(ResponseError.java:28): Server failed to parse report 0 (type: analytics)
[17:27:35] [OpenEye sender thread/WARN] [OpenEye]: openeye.responses.ResponseError.execute(ResponseError.java:28): Server failed to parse report 1 (type: crashlog)
Can your help me?
UPD: Fixed, but i have new error:
PHP Fatal error: Uncaught exception 'Predis\Connection\ConnectionException' with message 'Connection refused [tcp://127.0.0.1:6379]'
Well, it's rather self explanatory: you need Redis (used for few backend things).
Anyway, before you go any further, you should know that we don't support deploying own OpenEye server for other purposes that developing. The whole idea is to have single server to collect analytics and crashes. If you want to see crashes from your own modpack, you can just use separate set of tags.
Thank You! Thats work!
But, i'm have one little question. How to run irc bot?
UPD: I'm run ircbot with nodejs, but if send command #crash notes:remove 5f1b0a89e24fd04256ae0967aee354bd, bot will be crashed. Error see down:
TypeError: Cannot call method 'collection' of null
at getCrash (/var/www/../server/private/crashes.js:3:16)
at Object.removeNote as func
at Client. (/var/www/../server/private/bot.js:292:48)
at Client.callbackWrapper (/var/www/../server/private/node_modules/irc/lib/irc.js:851:33)
at Client.emit (events.js:95:17)
at Client. (/var/www/../server/private/node_modules/irc/lib/irc.js:357:22)
at Client.emit (events.js:95:17)
at /var/www/../server/private/node_modules/irc/lib/irc.js:669:22
at Array.forEach (native)
at Socket. >(/var/www/../server/private/node_modules/irc/lib/irc.js:666:15)
What is it?
UPD: Fixed. Reason - Broken Database link.