diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql index 5cec945fd2..b5792d270e 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql @@ -156,6 +156,7 @@ ALTER TABLE trel_item ADD `id_map` int(11) NOT NULL DEFAULT 0; INSERT INTO `tconfig` (`token`, `value`) VALUES ('big_operation_step_datos_purge', '100'); INSERT INTO `tconfig` (`token`, `value`) VALUES ('small_operation_step_datos_purge', '1000'); INSERT INTO `tconfig` (`token`, `value`) VALUES ('days_autodisable_deletion', '30'); +UPDATE tconfig SET value = 'https://firefly.artica.es/pandoraupdate7/server.php' WHERE token='url_update_manager'; -- --------------------------------------------------------------------- -- Table `tplanned_downtime_agents` diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql index 26d87f1071..9a09eeb975 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql @@ -79,6 +79,7 @@ UPDATE talert_commands SET fields_descriptions = '[\"Integria IMS API& INSERT INTO tconfig (token, value) VALUES ('big_operation_step_datos_purge', '100'); INSERT INTO tconfig (token, value) VALUES ('small_operation_step_datos_purge', '1000'); INSERT INTO tconfig (token, value) VALUES ('days_autodisable_deletion', '30'); +UPDATE tconfig SET value = 'https://firefly.artica.es/pandoraupdate7/server.php' WHERE token='url_update_manager'; -- --------------------------------------------------------------------- -- Table `tplanned_downtime_agents` @@ -151,4 +152,4 @@ INSERT INTO tagent_custom_fields (name) VALUES ('eHorusID'); -- --------------------------------------------------------------------- -- Table `tgraph` -- --------------------------------------------------------------------- -ALTER TABLE tgraph ADD COLUMN percentil int(4) unsigned default '0'; \ No newline at end of file +ALTER TABLE tgraph ADD COLUMN percentil int(4) unsigned default '0'; diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 56571552ec..79f4ffbf3c 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -161,7 +161,7 @@ if (!isset($config['inventory_changes_blacklist'])) { //NEW UPDATE MANAGER URL if (!isset($config['url_update_manager'])) { config_update_value('url_update_manager', - 'https://firefly.artica.es/pandoraupdate6/server.php'); + 'https://firefly.artica.es/pandoraupdate7/server.php'); } if (defined('METACONSOLE')) { diff --git a/pandora_console/include/functions_update_manager.php b/pandora_console/include/functions_update_manager.php index a2f8b54d9d..8650a086bc 100755 --- a/pandora_console/include/functions_update_manager.php +++ b/pandora_console/include/functions_update_manager.php @@ -293,7 +293,7 @@ function update_manager_check_online_free_packages ($is_ajax=true) { //For to test in the shell /* - wget https://artica.es/pandoraupdate6/server.php -O- --no-check-certificate --post-data "action=newest_package&license=PANDORA_FREE&limit_count=1¤t_package=1&version=v5.1RC1&build=PC140625" + wget https://artica.es/pandoraupdate7/server.php -O- --no-check-certificate --post-data "action=newest_package&license=PANDORA_FREE&limit_count=1¤t_package=1&version=v5.1RC1&build=PC140625" */ $curlObj = curl_init();