cobub / razor

Cobub Razor - Open Source Mobile Analytics Solution
http://www.cobub.com
1.13k stars 431 forks source link

Have Setup Razor as per Document but no data Displayed on the DashBoard #143

Closed fxviking closed 9 years ago

fxviking commented 10 years ago

hi, I have installed the razor 0.7.1 server on my Ubuntu Box. I have setup everything as required as pe r the installation document , even made the changes in my Android app as pe rthe SDK requirement.

I had configured the crontab to execute hourly aslo , still i dont see any data on the portal.

my Android Activity code:- UmsAgent.setBaseURL("http://192.168.1.204/UMS/index.php?"); UmsAgent.onError(this);
UmsAgent.update(this); UmsAgent.setDefaultReportPolicy(this, 1); UmsAgent.postClientData(this);

And for the Custom event defined UmsAgent.onEvent(Actitivit.this,'btn_scroll');

On the ADB console i can se the request being send properlyy to the Server and flag:1 msg:ok returned.

On the Mysql DB under the tabel razar_eventdata i see many entries on my activity and event. for past 2 days.

So i am not sure why no data is displayed on the portal or is it the crontab job not working properly. Does the crontab job need to work properly for the data to be dispalyed on the portal.

Any help will be good ?

zxial commented 10 years ago

Hi,

I believe that was caused by your cron tasks. Please recheck the setting there.

Best Regards / 祝商祺

Li Peng / 李鹏

开源的移动应用统计分析系统 The Open Source Mobile Analytics http://dev.cobub.com

南京西桥科技有限公司 Western Bridge Tech http://www.wbkit.com

Tel: +86 25 85284900 (Operator) Tel: +86 25 85281916 (Direct Line) Mob: +86 13851678427 Mail: peng.li@wbkit.com Skype: ontheroad1976

发件人: fxviking notifications@github.com 答复: cobub/razor <reply+001a9d4624dba5400bd452c703fa10fa72cd3f6689016bea92cf00000001107da6719 2a169ce02e83c3f@reply.github.com> 日期: Fri, 14 Nov 2014 03:16:01 -0800 至: cobub/razor razor@noreply.github.com 主题: [razor] Have Setup Razor as per Document but no data Displayed on the DashBoard (#143)

hi, I have installed the razor 0.7.1 server on my Ubuntu Box. I have setup everything as required as pe r the installation document , even made the changes in my Android app as pe rthe SDK requirement.

I had configured the crontab to execute hourly aslo , still i dont see any data on the portal.

my Android Activity code:- UmsAgent.setBaseURL("http://192.168.1.204/UMS/index.php?"); UmsAgent.onError(this);

UmsAgent.update(this); UmsAgent.setDefaultReportPolicy(this, 1); UmsAgent.postClientData(this);

And for the Custom event defined UmsAgent.onEvent(Actitivit.this,'btn_scroll');

On the ADB console i can se the request being send properlyy to the Server and flag:1 msg:ok returned.

On the Mysql DB under the tabel razar_eventdata i see many entries on my activity and event. for past 2 days.

So i am not sure why no data is displayed on the portal or is it the crontab job not working properly. Does the crontab job need to work properly for the data to be dispalyed on the portal.

Any help will be good ?

— Reply to this email directly or view it on GitHub https://github.com/cobub/razor/issues/143 .

fxviking commented 10 years ago

hi, Only if the cronjob works fine will i able to see any data on the dashboard , is that what you are saying?. Then I have a question -- What is the Real time option for then ?. It will also only show if the cronjon has executed i,e, Hourly etc.

Maybe my understanding is different

Thanks Felix T

fxviking commented 10 years ago

hello,

I had also setup redis server . In the Log however i see this php error, but the rerurn is sucess. Hope that is not causing the problem.

11-17 08:14:50.600: D/UMSAGENT(1092):

11-17 08:14:50.600: D/UMSAGENT(1092):

A PHP Error was encountered

11-17 08:14:50.600: D/UMSAGENT(1092):

Severity: Notice

11-17 08:14:50.600: D/UMSAGENT(1092):

Message: Undefined variable: data

11-17 08:14:50.600: D/UMSAGENT(1092):

Filename: redis_service/clientdata.php

11-17 08:14:50.600: D/UMSAGENT(1092):

Line Number: 31

11-17 08:14:50.600: D/UMSAGENT(1092):
{"flag":1,"msg":"ok"} 11-17 08:14:53.070: D/dalvikvm(1092): GC_FOR_ALLOC freed 365K, 11% free 4765K/5296K, paused 37ms, total 37ms 11-17 08:14:53.630: D/Volley(1092): [1] Request.finish: 6723 ms: [ ] http://10.0.2.2:8080/RESTfulProject/REST/WebService/GetFeeds 0x1e7db229 NORMAL 1 11-17 08:14:54.920: D/ums(1092): http://156.150.108.106/razor/web/index.php?/ums/postEvent 11-17 08:14:54.940: D/postdata(1092): content={"appkey":"e8e274584d436d7c38c60e1c197ffb20","label":"Scroll Event","time":"2014-11-17 08:14:54","acc":"30","activity":".EndlessListViewActivity","event_identifier":"btn_scroll","version":"1.0"} 11-17 08:14:55.180: D/ums(1092): 200 11-17 08:14:55.190: D/returnString(1092): {"flag":1,"msg":"ok"}