Your message dated Mon, 15 Jul 2019 12:49:05 +0000
with message-id <[email protected]>
and subject line Bug#931702: fixed in cacti 1.2.4+ds1-1
has caused the Debian Bug report #931702,
regarding cacti: Upgrading from Stretch (cacti 0.8.8h) to Buster (cacti 1.2.2) 
fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
931702: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931702
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cacti
Version: 1.2.2+ds1-2
Severity: important
Tags: patch

Dear maintainer,

When upgrading from Stretch (cacti 0.8.8) to Buster (cacti 1.2.2) the upgrade 
of cacti fails after the intermediate upgrade to v1.1.34 due to a database 
upgrade failure.
This is documented in cacti Github bug #2482 
(https://github.com/Cacti/cacti/issues/2482) where the fix is also referenced: 
https://github.com/Cacti/cacti/commit/be50141315b1c474cbca33e9ad26cacc0ef9c110

The fix: edit /usr/share/cacti/site/install/upgrades/1_1_34.php and apply the 
following patch:

@@ -244,7 +244,7 @@ function upgrade_to_1_1_34() {
        db_install_execute('ALTER TABLE `version`
                MODIFY COLUMN `cacti` char(20) NOT NULL DEFAULT ""');
-       db_install_execute('ALTER IGNORE TABLE version DROP PRIMARY KEY');
+       db_install_drop_key('version', 'key', 'PRIMARY');
        db_install_add_key('version', 'key', 'PRIMARY', array('cacti'), 
'BTREE');
}


If the upgrade was already started, changing the upgrade script will not be 
enough and the upgrade must be started over.
Instructions to do that are documented in cacti bug #2561 
(https://github.com/Cacti/cacti/issues/2561).
TL;DR: running "delete from settings where name like 'install_%';" on the cacti 
DB (and clearing the browser cache) restarts the upgrade.

It's probably opportune to fix the 1.1.34.php upgrade script in the 1.2.2 
install package.

Kind regards,
Bart

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cacti depends on:
ii  dbconfig-common                           2.0.11
ii  dbconfig-mysql                            2.0.11
ii  debconf [debconf-2.0]                     1.5.71
ii  fonts-dejavu-core                         2.37-1
ii  fonts-dejavu-extra                        2.37-1
ii  fonts-fork-awesome                        1.1.5+ds1-2
ii  javascript-common                         11
ii  libapache2-mod-php7.3 [libapache2-mod-ph  7.3.4-2
ii  libjs-c3                                  0.4.11+dfsg-2
ii  libjs-chart.js                            2.7.3+dfsg-5
ii  libjs-d3                                  3.5.17-2
ii  libjs-jquery                              3.3.1~dfsg-3
ii  libjs-jquery-colorpicker                  1.2.17-1
ii  libjs-jquery-cookie                       12-1.1
ii  libjs-jquery-hotkeys                      0~20130707+git2d51e3a9+dfsg-2
ii  libjs-jquery-jstree                       3.3.7+dfsg1-1
ii  libjs-jquery-metadata                     12-1.1
ii  libjs-jquery-tablesorter                  1:2.31.1+dfsg1-1
ii  libjs-jquery-timepicker                   1.2-1
ii  libjs-jquery-ui                           1.12.1+dfsg-5
ii  libjs-jquery-ui-theme-smoothness          1.12.1+dfsg-1
ii  libjs-jquery-ui-theme-south-street        1.12.1+dfsg-1
ii  libjs-jquery-ui-theme-ui-darkness         1.12.1+dfsg-1
ii  libjs-jquery-ui-touch-punch               0.0~git20141218.2.4bc0091+dfsg1-2
ii  libphp-phpmailer                          6.0.6-0.1
ii  perl                                      5.28.1-6
ii  php                                       2:7.3+69
ii  php-gd                                    2:7.3+69
ii  php-ldap                                  2:7.3+69
ii  php-mbstring                              2:7.3+69
ii  php-mysql                                 2:7.3+69
ii  php-php-gettext                           1.0.12-0.1
ii  php-phpseclib                             2.0.14-1
ii  php-snmp                                  2:7.3+69
ii  php-twig                                  2.6.2-2
ii  php-xml                                   2:7.3+69
ii  php7.3 [php]                              7.3.4-2
ii  php7.3-cli [php-cli]                      7.3.4-2
ii  php7.3-gd [php-gd]                        7.3.4-2
ii  php7.3-json [php-json]                    7.3.4-2
ii  php7.3-ldap [php-ldap]                    7.3.4-2
ii  php7.3-mbstring [php-mbstring]            7.3.4-2
ii  php7.3-snmp [php-snmp]                    7.3.4-2
ii  php7.3-xml [php-xml]                      7.3.4-2
ii  rrdtool                                   1.7.1-2
ii  snmp                                      5.7.3+dfsg-5
ii  ucf                                       3.0038+nmu1

Versions of packages cacti recommends:
ii  apache2 [httpd]                             2.4.38-3
ii  default-mysql-server                        1.0.5
ii  iputils-ping                                3:20180629-2
ii  logrotate                                   3.14.0-4
ii  mariadb-server-10.3 [virtual-mysql-server]  1:10.3.15-1
ii  php-gmp                                     2:7.3+69
ii  php7.3-gmp [php-gmp]                        7.3.4-2

Versions of packages cacti suggests:
pn  cacti-spine  <none>
pn  moreutils    <none>
pn  snmpd        <none>

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: cacti
Source-Version: 1.2.4+ds1-1

We believe that the bug you reported is fixed in the latest version of
cacti, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Gevers <[email protected]> (supplier of updated cacti package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 14 Jul 2019 21:33:08 +0200
Source: cacti
Architecture: source
Version: 1.2.4+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Cacti Maintainer <[email protected]>
Changed-By: Paul Gevers <[email protected]>
Closes: 930252 930254 931702
Changes:
 cacti (1.2.4+ds1-1) unstable; urgency=medium
 .
   * New upstream release 1.2.4
     - Fixed upgrade script (Closes: #931702)
     - Fixed snmp gauges (Closes: #930254)
   * Depends i.s.o. Recommends on php-gmp (Closes: #930252)
   * Drop dependency on php-php-gettext as it is optional for cacti and it's
     going to be removed due to CVE-2016-6175
   * Refresh patches
   * Update d/debian.php.dist with changes in include/config.php
Checksums-Sha1:
 f04d26c2fa1e5295667c46c1c017cfef81479336 2106 cacti_1.2.4+ds1-1.dsc
 5bcf2410f398f22ea55696428dfdc9f033303e0c 12751572 
cacti_1.2.4+ds1.orig-docs-source.tar.gz
 2dd0b758ec81e6bea540a32512a04a2b9f0cd55e 3855916 cacti_1.2.4+ds1.orig.tar.xz
 07caf3a9ae2b7a94ed799a729bb54df1db66727e 52824 cacti_1.2.4+ds1-1.debian.tar.xz
Checksums-Sha256:
 ae902602e58214172a74dd20ae141e899f9f8dc51532ad235e0c16535d95d8a3 2106 
cacti_1.2.4+ds1-1.dsc
 5d94359ea0b15cfe8f96ddc9999394594563cb34de2bb500a54f7b27565b44b4 12751572 
cacti_1.2.4+ds1.orig-docs-source.tar.gz
 e02bcb38ce10b5eebf9a88d4cc42e3a3274c6b710a0274866695b5c9723d3c6d 3855916 
cacti_1.2.4+ds1.orig.tar.xz
 d75da23091d7d18219e3e2d5863681e46f185bfed793d1c5434f8530a7d6866f 52824 
cacti_1.2.4+ds1-1.debian.tar.xz
Files:
 3aac4292bc06ee30aac4bc839539a648 2106 web optional cacti_1.2.4+ds1-1.dsc
 ebdf0461474378c083051b44ce15aa34 12751572 web optional 
cacti_1.2.4+ds1.orig-docs-source.tar.gz
 40f029c323a6c619f08abe1eb3da2a83 3855916 web optional 
cacti_1.2.4+ds1.orig.tar.xz
 c3a6b4fc3026253bbbe8029ebcfaa5f4 52824 web optional 
cacti_1.2.4+ds1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAl0sRc0ACgkQnFyZ6wW9
dQqsVgf+JG/fDPt999qbsnDATHjmd2aMp3m9qL1d1er97s7E02vB58UGb6OpZyxI
3R6ehydJA0RNbP6Qpmqg7O+uoN0QRKt2BFcneAHMo9GFd5g1+Ecn7pYhcfSWDViW
UzkOtRjK3JXwnwVRVN/R+aSgrZKM6d7WE2uIsRK5dIhvqR8dmi2X+DM2A1BtM/1C
w3RFS0XOFI3GYSNTzo9y+PWrWWtNG7QvQwxyWrWw+dYtFFX0V8QZAcI2u7hgvs4M
Ugb5Op6Id26Gf8TrY+SXlEilFtEcyMlqd5lR/1YR4zL6svNSL63swdXD/AWUe3Xo
frG+5h/rrqDAI+nthtMb107SH1dqBQ==
=ZDT/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to