Package: cacti
Version: 1.1.10+ds1-5
Severity: important
Tag: patch

Upgrade previous version 0.8.8h+ds1-9 in unstable to current
version 1.1.10+ds1-5 will cause trouble. Web UI and poller will
stop to work completely.

database upgrade script file path in
/usr/share/cacti/cli/upgrade_database.php is wrong, so the script
nothing to do.


--- cacti-1.1.10+ds1/cli/upgrade_database.php~  2017-07-02 00:02:52.000000000 
+0900
+++ cacti-1.1.10+ds1/cli/upgrade_database.php   2017-07-02 00:06:24.120721633 
+0900
@@ -118,7 +118,7 @@
        }
 
        // construct version upgrade include path
-       $upgrade_file = dirname(__FILE__) . '/../install/upgrades/' . 
str_replace('.', '_', $cacti_version) . '.php';
+       $upgrade_file = dirname(__FILE__) . '/../site/install/upgrades/' . 
str_replace('.', '_', $cacti_version) . '.php';
        $upgrade_function = 'upgrade_to_' . str_replace('.', '_', 
$cacti_version);
 
        // check for upgrade version file, then include, check for function and 
execute


-- 
ISHIKAWA Mutsumi
 <ishik...@debian.org>, <ishik...@hanzubon.jp>, <ishik...@osdn.jp>

Reply via email to