by elyc1990 » Mon Apr 02, 2018 12:26 am
Hi
I just ran \. /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql again, here are some errors. Are the issues due to the database upgrade error? How can I solve it?
mysql> \. /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 1 row affected (0.00 sec)
Records: 1 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'parked_channels_recent' already exists
ERROR 1060 (42S21): Duplicate column name 'internal_chat_type'
ERROR 1060 (42S21): Duplicate column name 'internal_chat_type'
ERROR 1060 (42S21): Duplicate column name 'message_id'
ERROR 1060 (42S21): Duplicate column name 'message_id'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'agent_chat_screen_colors'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'conf_qualify'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'populate_lead_province'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'api_only_user'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_api_urls' already exists
ERROR 1050 (42S01): Table 'vicidial_api_urls_archive' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'dead_to_dispo'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'external_lead_id'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'areacode_filter'
ERROR 1060 (42S21): Duplicate column name 'areacode_filter_seconds'
ERROR 1060 (42S21): Duplicate column name 'areacode_filter_action'
ERROR 1060 (42S21): Duplicate column name 'areacode_filter_action_value'
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_areacode_filters' already exists
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'enable_auto_reports'
ERROR 1060 (42S21): Duplicate column name 'modify_auto_reports'
ERROR 1050 (42S01): Table 'vicidial_automated_reports' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'agent_xfer_validation'
ERROR 1060 (42S21): Duplicate column name 'populate_state_areacode'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'conf_qualify'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'enable_pause_code_limits'
ERROR 1060 (42S21): Duplicate column name 'time_limit'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'enable_drop_lists'
ERROR 1050 (42S01): Table 'vicidial_drop_lists' already exists
ERROR 1050 (42S01): Table 'vicidial_drop_log' already exists
ERROR 1050 (42S01): Table 'vicidial_drop_log_archive' already exists
ERROR 1091 (42000): Can't DROP 'drop_date'; check that column/key exists
ERROR 1061 (42000): Duplicate key name 'vicidial_drop_log_archive_key'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'allow_ip_lists'
ERROR 1060 (42S21): Duplicate column name 'system_ip_blacklist'
ERROR 1060 (42S21): Duplicate column name 'modify_ip_lists'
ERROR 1060 (42S21): Duplicate column name 'ignore_ip_list'
ERROR 1060 (42S21): Duplicate column name 'admin_ip_list'
ERROR 1060 (42S21): Duplicate column name 'agent_ip_list'
ERROR 1060 (42S21): Duplicate column name 'api_ip_list'
ERROR 1050 (42S01): Table 'vicidial_ip_lists' already exists
ERROR 1050 (42S01): Table 'vicidial_ip_list_entries' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'dl_minutes'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'ready_max_logout'
ERROR 1060 (42S21): Duplicate column name 'ready_max_logout'
ERROR 1060 (42S21): Duplicate column name 'routing_prefix'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'cid_channels_recent' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'callback_display_days'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'three_way_record_stop'
ERROR 1060 (42S21): Duplicate column name 'hangup_xfer_record_start'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_rt_monitor_log' already exists
ERROR 1050 (42S01): Table 'vicidial_rt_monitor_log_archive' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'agent_push_events'
ERROR 1060 (42S21): Duplicate column name 'agent_push_url'
Query OK, 0 rows affected (0.01 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'hide_inactive_lists'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'xfer_hungup'
ERROR 1060 (42S21): Duplicate column name 'xfer_hungup_datetime'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_campaign_hour_counts' already exists
ERROR 1050 (42S01): Table 'vicidial_campaign_hour_counts_archive' already exists
ERROR 1050 (42S01): Table 'vicidial_carrier_hour_counts' already exists
ERROR 1050 (42S01): Table 'vicidial_carrier_hour_counts_archive' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'user_call_log_archive' already exists
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_inbound_survey_log' already exists
ERROR 1050 (42S01): Table 'vicidial_inbound_survey_log_archive' already exists
ERROR 1061 (42000): Duplicate key name 'visla_key'
ERROR 1060 (42S21): Duplicate column name 'inbound_survey'
ERROR 1060 (42S21): Duplicate column name 'inbound_survey_filename'
ERROR 1060 (42S21): Duplicate column name 'inbound_survey_accept_digit'
ERROR 1060 (42S21): Duplicate column name 'inbound_survey_question_filename'
ERROR 1060 (42S21): Duplicate column name 'inbound_survey_callmenu'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'allow_manage_active_lists'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'filename_override'
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1061 (42000): Duplicate key name 'vle_lead_id'
ERROR 1060 (42S21): Duplicate column name 'front_uniqueid'
ERROR 1060 (42S21): Duplicate column name 'close_uniqueid'
ERROR 1050 (42S01): Table 'vicidial_xfer_log_archive' already exists
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'expired_lists_inactive'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'did_system_filter'
ERROR 1050 (42S01): Table 'vicidial_dnccom_scrub_log' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'flag_projdnc'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'custom_variables'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'disk_reads'
ERROR 1060 (42S21): Duplicate column name 'disk_writes'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'inbound_list_script_override'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'webphone_layout'
ERROR 1060 (42S21): Duplicate column name 'webphone_layout'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'scheduled_callbacks_email_alert'
ERROR 1060 (42S21): Duplicate column name 'email_alert'
ERROR 1060 (42S21): Duplicate column name 'email_result'
ERROR 1060 (42S21): Duplicate column name 'email_alert'
ERROR 1060 (42S21): Duplicate column name 'email_result'
ERROR 1062 (23000): Duplicate entry 'AGENT_CALLBACK_EMAIL ' for key 'PRIMARY'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'field_duplicate'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'max_inbound_calls_outcome'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'manual_auto_next_options'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'agent_screen_time_display'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_ingroup_hour_counts' already exists
ERROR 1050 (42S01): Table 'vicidial_ingroup_hour_counts_archive' already exists
ERROR 1060 (42S21): Duplicate column name 'default_xfer_group'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'next_dial_my_callbacks'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'anyone_callback_inactive_lists'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_process_log' already exists
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'inbound_no_agents_no_dial_container'
ERROR 1060 (42S21): Duplicate column name 'inbound_no_agents_no_dial_threshold'
Query OK, 1 row affected (0.01 sec)
Records: 1 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_inbound_callback_queue' already exists
ERROR 1050 (42S01): Table 'vicidial_inbound_callback_queue_archive' already exists
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'icbq_expiration_hours'
ERROR 1060 (42S21): Duplicate column name 'closing_time_action'
ERROR 1060 (42S21): Duplicate column name 'closing_time_now_trigger'
ERROR 1060 (42S21): Duplicate column name 'closing_time_filename'
ERROR 1060 (42S21): Duplicate column name 'closing_time_end_filename'
ERROR 1060 (42S21): Duplicate column name 'closing_time_lead_reset'
ERROR 1060 (42S21): Duplicate column name 'closing_time_option_exten'
ERROR 1060 (42S21): Duplicate column name 'closing_time_option_callmenu'
ERROR 1060 (42S21): Duplicate column name 'closing_time_option_voicemail'
ERROR 1060 (42S21): Duplicate column name 'closing_time_option_xfer_group'
ERROR 1060 (42S21): Duplicate column name 'closing_time_option_callback_list_id'
ERROR 1060 (42S21): Duplicate column name 'add_lead_timezone'
ERROR 1060 (42S21): Duplicate column name 'icbq_call_time_id'
ERROR 1060 (42S21): Duplicate column name 'icbq_dial_filter'
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'enable_gdpr_download_deletion'
ERROR 1060 (42S21): Duplicate column name 'export_gdpr_leads'
ERROR 1050 (42S01): Table 'recording_log_deletion_queue' already exists
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1050 (42S01): Table 'vicidial_cid_groups' already exists
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'cid_group_id'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'pause_max_dispo'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'script_top_dispo'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'source_id_display'
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0