Realtime screen showing time on status wrong

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Realtime screen showing time on status wrong

Postby fibres » Mon Feb 21, 2011 5:49 am

Hi guys

I have just moved one of our customers to a new server.
As per suggestion to a post in support I have used the latest version of Vicibox Redux, and installed using the SVN option.

The install was really easy! Very nice work. Saves a lot of messing about.

Once installed I dropped all the tables from the database, imported the vicidial 1.2 database from our old server and ran the upgrade_2.4.sql file.
I then did the ADMIN_update_server_ip to fix that.

Everything is working great so far except one issue

When I click on the realtime screen every agent is showiong as having been on each status for 300:00 and counts from there instead of 0:00

Can anyone give me an idea of what is causing that

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby williamconley » Mon Feb 21, 2011 12:11 pm

imported the vicidial 1.2 database
there is no vicidial 1.2. you wanna try that again?

did you read the UPGRADE.txt file in your sources folder?

if your prior version was 2.0.5 and you upgraded to 2.4 ... you missed a step. The database must upgrade to 2.2 before 2.4.

if your prior version was 2.0.4 and you upgraded to 2.4 ... you missed TWO steps. The database must upgrade to 2.0.5, then 2.2 before 2.4.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby fibres » Mon Feb 21, 2011 12:29 pm

Doh!!!

It is 2.2 we upgraded from. So hopefully I havent missed a step.

It seems to be an issue with the GMT offset.

I have looked in admin-servers and our server had a gmt offset of -5 which would be exactly 300 seconds.

I have ammended it here to 0 but still got the issue.

Is there anywhere else I need to change this?

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby williamconley » Mon Feb 21, 2011 12:58 pm

there are 300 seconds in 5 hours? are you sure? 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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby fibres » Mon Feb 21, 2011 7:32 pm

Sorry I meant 300 mins. Which is exactly how many mins we are seeing on realtime screen.

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby williamconley » Mon Feb 21, 2011 7:50 pm

do you have all the time sources in your system set the same? (apache, mysql, OS...?) with the same ZONE settings as well?

perhaps you should try installing Vicibox Redux instead? (it does mean you can concentrate on stuff other than how to install this software ... let Kumba do that for you instead ... after all, that's what we all don't pay him for, right? 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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby floydans » Tue Feb 22, 2011 8:59 am

I had the same problem on vicibox 3.1.6.
I think it depends on the timezone set in your apache php.ini (which for some reason it's not set to the correct one).

You can check you have the right timezone in your admin section in the top right corner (for instance check it displays correct date and time).

Then, if it's wrong there try to vi your /etc/php5/apache2/php.ini, locate the timezone line and change it to the correct one for you.


As for me I had to change it like this:

from
date.timezone = "US/Eastern" (or whatever it was)
To
date.timezone = "Europe/Rome"

Hope it helps
floydans
 
Posts: 26
Joined: Tue May 25, 2010 1:39 pm
Location: Italy

Postby floydans » Tue Feb 22, 2011 9:01 am

...and make sure you restart apache after changing php.ini
floydans
 
Posts: 26
Joined: Tue May 25, 2010 1:39 pm
Location: Italy

Postby Kumba » Tue Feb 22, 2011 2:20 pm

Instructions added here: http://www.vicidial.org/VICIDIALforum/v ... hp?t=15336

I also had to modify the vicibox installer since the DEFAULT_TIMEZONE variable is different then the TIMEZONE variable. DEFAULT_TIMEZONE is what I set when I created the image, however the live-CD installer only changes the TIMEZONE field in /etc/sysconfig/clock. ViciBox v.3.1.9 was released because of it.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby fibres » Thu Mar 03, 2011 5:24 pm

Thanks for the tips.

I found the issue in php.ini and fixed.

Thanks for all you guys help as usual!
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 68 guests