Page 1 of 1

Time synchronization to Agent Log in

PostPosted: Wed Jun 19, 2019 8:48 am
by juliano
Hello, everyone.

I Just install a new server for Vicidial, with this specs:
Vicibox 8.1.2 from .iso | Vicidial 2.14.-711a Build 190607-1525 DB Schema 1571 | Asterisk 13.21.1-vici | Single Server | No Extra Software After Installation | Dell 1950 | Intel Xeon X5355

And I did a restore from a MySQL backup from "Vicidial 2.14-621a Build 170717-1444 DB Schema 1509" with this command:

mysql -u root -p asterisk < vicidial-18-01-2019_21-00-01.sql

and after that I ran this:
mysql -f --database=asterisk < /usr/share/astguiclient/trunk/extras/upgrade_2.14.sql

ps: The new server has the same Ip Address of the old server.

But, I got error when agent try to log in: "There is a time synchronization problem with your system, please tell your system administrator"

Check this:
Image


The DIALER01 time is not running, it's stopped. I maked a research on this forum and try to solve this with no success.

Anyone can help me?

Thanks!!

Re: Time synchronization to Agent Log in

PostPosted: Wed Jun 19, 2019 8:51 am
by bourneshell
Hi,

Did you reboot your server after restoring your database and running the upgrade?

Also do you have the same Asterisk version set from the old system to the new one?

Re: Time synchronization to Agent Log in

PostPosted: Wed Jun 19, 2019 9:13 am
by juliano
Hello friend!
Thanks for the quick answer. Yes, I rebooted server after this steps: I ran upgrade first with this command: svn checkout svn://svn.eflo.net:3690/agc_2-X/trunk and perl ./install.pl, after this restore database and run mysql -f --database=asterisk < /usr/share/astguiclient/trunk/extras/upgrade_2.14.sql

the old server asterisk version is: Asterisk 11.22.0-vici

Thanks again!!

Re: Time synchronization to Agent Log in

PostPosted: Wed Jun 19, 2019 1:20 pm
by bourneshell
Hi,

Ok looks like you need to also update the vicidial version after restoring the database and running the update.

Please update and use 13.21.1-vici since this is the one already running on your new install

Re: Time synchronization to Agent Log in

PostPosted: Wed Jun 19, 2019 1:32 pm
by williamconley
do not use the "-f" option for the mysql upgrade. this masks any problems that may occur.

re-import your DB, delete all the entries that have already been run in the upgrade sql file (check the db schema to find out which).

then you should not have any errors, if you do ... fix them and continue from that entry (don't run any entries more than once, delete them after success).

and remember: your settings in admin->servers for this server (specifically the asterisk version) may now be Wrong. Check them.

when complete, reboot and verify all your screens are running. if any are not, you'll need to attack that before anything else.

Re: Time synchronization to Agent Log in

PostPosted: Fri Jun 21, 2019 10:30 am
by juliano
Hi friends! I'll do the suggestion of both of you and I'll keep you update of my results. Thanks so much for the help.

Re: Time synchronization to Agent Log in

PostPosted: Tue Jun 25, 2019 9:42 am
by juliano
bourneshell wrote:Hi,

Ok looks like you need to also update the vicidial version after restoring the database and running the update.

Please update and use 13.21.1-vici since this is the one already running on your new install



I just change the option in the new server: Admin --> Servers --> ASterisk Version to 13.21.1-vici and worked fine!!!

With the old server has asterisk version 11.22.0-vici, and this was the problem when I restored the backup on the new server, it setup this old version, but the ViciBox has 13.21.1.

Thanks guys for the help!!