运行产生错误,不知道是不是因为数据量过大造成的?


#1

2017-09-28T01:00:00.719Z: INFO [jobs:manager] Trying to start job {"_id":"599bcf81b75fb093a1c5a536","name":"reports:send","created":1503383425427,"status":0,"started":1506556800352,"finished":1506556803858,"duration":3506,"schedule":"every 1 hour starting on the 0 min","next":1506560400000,"modified":1506556803861,"error":null,"size":null,"done":null,"bookmark":null}
Caught exception: {} RangeError: Invalid string length
at join (native)
at Object.stringify (native)
at Object.common.returnOutput (/root/countly/api/utils/common.js:816:39)
at /root/countly/api/parts/data/fetch.js:602:20
at /root/countly/api/parts/data/fetch.js:937:17
at /root/countly/plugins/pluginManager.js:781:25
at handleCallback (/root/countly/node_modules/mongodb/lib/utils.js:120:56)
at /root/countly/node_modules/mongodb/lib/cursor.js:860:16
at handleCallback (/root/countly/node_modules/mongodb-core/lib/cursor.js:171:5)
at setCursorDeadAndNotified (/root/countly/node_modules/mongodb-core/lib/cursor.js:505:3)
at nextFunction (/root/countly/node_modules/mongodb-core/lib/cursor.js:651:7)
at Cursor.next [as _next] (/root/countly/node_modules/mongodb-core/lib/cursor.js:692:3)
at fetchDocs (/root/countly/node_modules/mongodb/lib/cursor.js:856:10)
at /root/countly/node_modules/mongodb/lib/cursor.js:879:7
at handleCallback (/root/countly/node_modules/mongodb-core/lib/cursor.js:171:5)
at nextFunction (/root/countly/node_modules/mongodb-core/lib/cursor.js:682:5)
2017-09-28T01:01:23.853Z: ERROR [api] Logging caught exception
2017-09-28T01:01:24.108Z: INFO [jobs:handle] Starting job handle in 3547
2017-09-28T01:01:24.120Z: INFO [jobs:scanner] Checking plugins ["mobile","web","desktop","plugins","density","locale","browser","sources","views","logger","systemlogs","errorlogs","reports","crashes","push","star-rating","slipping-away-users","compare","server-stats","dbviewer","idfa_fix","plugin-upload"]


#2

你好,请问你使用的是什么版本的Countly?


#3

Please install it under /usr/local and not /root which can be prohibitive.


#4

Thanks for your reply. I'll try


#5

This problem has been bothering me for a long time and has not been solved.
I need help!


#6

You didnt reply to my previous email..


#7

I'm sorry!
Because recently I've been very busy!
Is the problem caused by too much data?


#8

I dont know how much data you ingest and your hardware so I cannot comment. Please first make sure you install not on /root but on /usr/local as instructed in installation documents.


#9

OK。I wll try! thank you!


#10

I have tried, as if the problem has not been improved. Mongodb load is too high


#11

I have sent a private message to you. Let's discuss this offline ^^