{"id":1096,"date":"2020-10-14T23:49:31","date_gmt":"2020-10-15T03:49:31","guid":{"rendered":"https:\/\/cyburityllc.com\/?p=1096"},"modified":"2021-04-07T12:46:27","modified_gmt":"2021-04-07T16:46:27","slug":"vicidial-there-is-a-time-synchronization-problem-with-your-system-please-tell-your-system-administrator","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/vicidial-there-is-a-time-synchronization-problem-with-your-system-please-tell-your-system-administrator\/","title":{"rendered":"How to &#8211; Fix error in Vicidial: There is a time synchronization problem with your system, please tell your system administrator"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to &#8211; Fix error in Vicidial: There is a time synchronization problem with your system, please tell your system administrator<\/h2>\n\n\n\n<p><strong>There is a time synchronization problem with your system, please tell your system administrator<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/i.ibb.co\/vLQQp4n\/test12345.png\" alt=\"There is a time synchronization problem with your system\" title=\"\"><figcaption>Time Sync Error<\/figcaption><\/figure><\/div>\n\n\n\n<p>In case you have this error upon installation or&nbsp;<strong>upgrade<\/strong>&nbsp;your&nbsp;<strong>Vicibox\/Vicidial<\/strong>&nbsp;check the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Using&nbsp;<code>timedatectl<\/code>&nbsp;utility make sure server\u2019s timezone is set correctly and server\u2019s date\/time is correct. Set proper timezone if needed<\/li><li>Check that timezone is correct in&nbsp;<code>\/etc\/php7\/apache2\/php.ini<\/code>. Set proper timezone if needed and restart Apache<\/li><li>If it did not help check and&nbsp;compare time values in&nbsp;<strong>Vicidial<\/strong>&nbsp;database, server time and PHP time. Use the following command:<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td># echo &#8220;SELECT server_ip, UNIX_TIMESTAMP(last_update),UNIX_TIMESTAMP(db_time) from server_updater&#8221; | mysql -uroot asterisk &amp;&amp; php -r &#8220;date_default_timezone_set(&#8216;America\/New_York&#8217;); echo &#8216;php time: &#8216;.date(&#8216;U&#8217;);&#8221; &amp;&amp; echo &#8220;&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Specify your timezone in the command above. This should output three values that must be the same.<\/p>\n\n\n\n<p>If DB time is wrong it means that&nbsp;<code>\/usr\/share\/astguiclient\/AST_update.pl<\/code>&nbsp;script does not update DB value. Try to launch it manually and check for output.<\/p>\n\n\n\n<p>If it throws error:<\/p>\n\n\n\n<p><strong>pattern match timed-out at \/usr\/share\/astguiclient\/AST_update.pl line 470<\/strong><\/p>\n\n\n\n<p>The code at line 470 is a \u201c<strong>waitfor()<\/strong>\u201d function that is attempting to match the response from the&nbsp;<strong>Asterisk<\/strong>&nbsp;server with a regex pattern but the response from the server doesn\u2019t match the regex pattern.<\/p>\n\n\n\n<p>Patch the file:<\/p>\n\n\n\n<p>in two places near line 470 and near line&nbsp; 534 replace:<\/p>\n\n\n\n<p><strong>$t-&gt;waitfor(\u2018\/[0123]\\n$\/\u2019);<\/strong><\/p>\n\n\n\n<p>with<\/p>\n\n\n\n<p><strong>$t-&gt;waitfor(\u2018\/[0123456789]\\n$\/\u2019);<\/strong><\/p>\n\n\n\n<p>then make sure&nbsp;<code>AST_update.pl<\/code>&nbsp;can run and DB time value is updated.<\/p>\n\n\n\n<p>It expects only 0123 at the end while Asterisk Manager responses with:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123456789<\/td><td># telnet 127.0.0.1 5038&nbsp;Trying 127.0.0.1&#8230;&nbsp;Connected <strong>to<\/strong> 127.0.0.1.&nbsp;Escape character <strong>is<\/strong> &#8216;^]&#8217;.&nbsp;Asterisk Call Manager\/2.10.&lt;strong&gt;5&lt;\/strong&gt;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Another way to patch:<\/p>\n\n\n\n<p><em>Original:&nbsp;<strong>$t-waitfor(\u2018\/[0123]\\n$\/]);<\/strong><\/em><\/p>\n\n\n\n<p><em>Replacement: $t-waitfor(\u2018\/Asterisk Call Manager.+\\n$\/\u2019);<\/em><\/p>\n\n\n\n<p>Check the following files for this issue and patch them as well:<\/p>\n\n\n\n<p><em>AST_manager_listen.pl&nbsp;&nbsp;&nbsp;<\/em>\u2013 line 237<em><br>AST_manager_listenBUFFER.pl&nbsp;&nbsp;<\/em>\u2013 line 236<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>\/usr\/share\/astguiclient\/AST_update.pl<\/strong>&nbsp;runs in a separate detached \u201cASTupdate\u201d screen and can be accessed as:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td># screen -r ASTupdate<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>maybe you will need to kill it and start it up again after your database changes was made<\/p>\n\n\n\n<p>To see the list of screens:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345678910111213141516171819<\/td><td># screen -ls&nbsp;There are screens on:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2715.ASTemail&nbsp;&nbsp; (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2712.ASTVDadFILL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2709.ASTfastlog (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2706.ASTVDadapt (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2691.ASTupdate&nbsp; (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2315.asterisk&nbsp;&nbsp; (Detached)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2302.astshell20200129173240&nbsp;&nbsp;&nbsp;&nbsp; (Detached)&nbsp;7 Sockets <strong>in<\/strong> \/run\/screens\/S-root.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>How to &#8211; Fix error in Vicidial: There is a time synchronization problem with your system, please tell your system administrator There is a time synchronization problem with your system, please tell your system administrator In case you have this error upon installation or&nbsp;upgrade&nbsp;your&nbsp;Vicibox\/Vicidial&nbsp;check the following: Using&nbsp;timedatectl&nbsp;utility make sure server\u2019s timezone is set correctly and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1911,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[],"class_list":["post-1096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2020\/10\/timesyncerror.png","jetpack-related-posts":[{"id":1504,"url":"https:\/\/dialer.one\/index.php\/how-to-backup-and-restore-your-vicidial-cyburdial-server\/","url_meta":{"origin":1096,"position":0},"title":"How to &#8211; Backup and Restore your Vicidial server","author":"carpenox","date":"February 4, 2021","format":false,"excerpt":"How to - Backup and Restore your Vicidial server Why would you need to backup and restore your vicidial server? Suppose you need to\u00a0migrate or duplicate Vicidial data\u00a0(campaigns, leads, phones and so on) from one\u00a0Vicibox\u00a0server to another. In case two\u00a0Vicidial\u00a0boxes of the same versions the process will be simpler. In\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Cyburity - vicidial hosting","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/02\/server1.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/02\/server1.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/02\/server1.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":1096,"position":1},"title":"Table of Contents &#8211; Knowledge Base","author":"carpenox","date":"March 7, 2022","format":false,"excerpt":"Welcome to my blog, some of you may know me from the ViciDial forums, I am carpenox and I am here to share my knowledge with everyone, for free!","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":3455,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-9-with-my-new-auto-installer\/","url_meta":{"origin":1096,"position":2},"title":"How to &#8211; Install Vicidial on Alma Linux 9 with my new auto installer","author":"carpenox","date":"September 15, 2023","format":false,"excerpt":"How to - Install Vicidial on Alma Linux 9 with my new auto installer That's right, I have fixed the issues with dahdi and php7 installations on Alma Linux 9 and created the auto installer for it, complete with the dynamic portal and the CyburPhone. Its been tested and is\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Alma Linux 9 Vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5150,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-10\/","url_meta":{"origin":1096,"position":3},"title":"How to &#8211; Install ViciDial on Alma Linux 10","author":"carpenox","date":"January 29, 2026","format":false,"excerpt":"How to - Install ViciDial on Alma Linux 10 How to Install VICIdial on AlmaLinux 10 Using My Updated Auto\u2011Installer VICIdial admins have been waiting for this one. AlmaLinux 10 is here with a modernized kernel, updated libraries, and a cleaner security model \u2014 but it also breaks a lot\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Alma 10","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1174,"url":"https:\/\/dialer.one\/index.php\/vicidial-error-code-expects-different-schema\/","url_meta":{"origin":1096,"position":4},"title":"How to &#8211; Fix the Vicidial error: Code Expects Different Schema","author":"carpenox","date":"October 18, 2020","format":false,"excerpt":"How to - Fix the Vicidial error: Code Expects Different Schema This is a pretty easy fix, \"Code Expects Different Schema\" occurs when you update your svn version but forget to update the db schema through mysql. The instructions are below. different schema After database dump restoration taken from older\u00a0Vicibox\u00a0to\u2026","rel":"","context":"With 1 comment","block_context":{"text":"With 1 comment","link":"https:\/\/dialer.one\/index.php\/vicidial-error-code-expects-different-schema\/#comments"},"img":{"alt_text":"different schema","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2020\/10\/dbschema.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2020\/10\/dbschema.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2020\/10\/dbschema.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4110,"url":"https:\/\/dialer.one\/index.php\/how-to-fix-the-you-dont-have-permission-to-access-recordings-mp3-error-within-vicidial\/","url_meta":{"origin":1096,"position":5},"title":"How to &#8211; Fix the &#8220;You don&#8217;t have permission to access \/RECORDINGS\/MP3\/&#8221; error within ViciDial","author":"carpenox","date":"February 21, 2024","format":false,"excerpt":"How to - Fix the \"You don't have permission to access \/RECORDINGS\/MP3\/\" error within ViciDial A problem arises when people do a scratch install of ViciDial and you do not set the proper permissions for the directory that the recordings are stored. I will go over a couple of things\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Artificial intelligence","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/11\/OIG.HD2N4.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/11\/OIG.HD2N4.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/11\/OIG.HD2N4.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/11\/OIG.HD2N4.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/1096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=1096"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/1096\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/1911"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=1096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=1096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=1096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}