vicidial_campaign_stats not updated

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

vicidial_campaign_stats not updated

Postby PierreDeux » Sun Nov 03, 2013 10:36 am

Hi
I've just performed a big update from 2.4 to 2.8.
I have installed completely new web and dialer servers using vicibox 5.0.03 ISO and updated old DB using .sql files, coming with vicibox.
Now it's VERSION: 2.8-409a BUILD: 130809-1410. Everything works fine, except realtime and brief campaign stats ("8 Day outbound call count for this campaign"). Real time is constantly 0 (both outbound and inbound calls are not counted), as for "8 day outbound" - this block is completely missing in my campaign settings page. I've checked the DB - it's fine and has no problems, server log does not contain anything suspicious too. I've tried to force campaign stats refresh - no luck here too, it's still "Y" and realtime is still with 0 instead of today's stats.
I have vicidial_campaign_stats and vicidial_campaign_server_stats tables in my db, both are fine, however vicidial_campaign_stats is not updated at all.
Any ideas how I can fix that?
PierreDeux
 
Posts: 58
Joined: Tue Jul 20, 2010 8:18 am

Re: vicidial_campaign_stats not updated

Postby PierreDeux » Sun Nov 03, 2013 10:39 am

I forgot to mention that both Outbound calling report and Inbound daily reports are showing correct numbers for today (so I believe vicidial_log table is fine).
PierreDeux
 
Posts: 58
Joined: Tue Jul 20, 2010 8:18 am

Re: vicidial_campaign_stats not updated

Postby PierreDeux » Sun Nov 03, 2013 1:26 pm

Just found multiple records like this in logs:
[Sun Nov 03 13:12:34 2013] [error] [client X.X.X.X] PHP Warning: mysqli_query() expects parameter 1 to be mysqli, string given in /srv/www/htdocs/agc/functions.php on line 1554, referer: http://mydomain.com/agc/vicidial.php
PierreDeux
 
Posts: 58
Joined: Tue Jul 20, 2010 8:18 am

Re: vicidial_campaign_stats not updated

Postby PierreDeux » Sun Nov 03, 2013 4:26 pm

I was able to fix mysqli error, however it was not a reason for realtime issue :(
PierreDeux
 
Posts: 58
Joined: Tue Jul 20, 2010 8:18 am

Re: vicidial_campaign_stats not updated

Postby PierreDeux » Sun Nov 03, 2013 6:00 pm

So I found the issue:
vicibox-install incorrectly sets up cron and keepalive values for the first server in the cluster. Keepalive values are missing 5 and 7.
PierreDeux
 
Posts: 58
Joined: Tue Jul 20, 2010 8:18 am

Re: vicidial_campaign_stats not updated

Postby williamconley » Sun Nov 03, 2013 8:35 pm

Unless of course the new Vicibox installer would put that on the DB server ... which you did not install with this version of the installer.

Good post back! 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: vicidial_campaign_stats not updated

Postby arunvsadnikov » Sat Apr 06, 2024 6:59 am

Great post back, I was trying to figure out similar issue in our cluster and your post saved my day. @PierreDeux :D
arunvsadnikov
 
Posts: 26
Joined: Mon Jan 23, 2017 1:50 am


Return to Support

Who is online

Users browsing this forum: No registered users and 265 guests