And these values seem to be the default as of MySQL 5.7
I've scanned the cacti forums, where its repeatedly stated that cacti is incompatible with "strict mode" (which implies NO_ZERO_IN_DATE/NO_ZERO_DATE). I've also tried to modify the cacti php files to clear the sql_mode, but it doesn't seem to work (still get errors in logs about invalid dates)
And my upgrade path is similar to Andrews, i.e. started out on Ubuntu 13.10, upgraded to 14.04 followed by 15.10 then went to 16.04 (last step introduced the problem)
Did the apport-collect as asked (it stated that my cacti cron-job was modified, but I have no memory of ever manipulating that file)
Ran the commands, which returned this;
@@global.sql_mode = ONLY_FULL_ GROUP_BY, STRICT_ TRANS_TABLES, NO_ZERO_ IN_DATE, NO_ZERO_ DATE,ERROR_ FOR_DIVISION_ BY_ZERO, NO_AUTO_ CREATE_ USER,NO_ ENGINE_ SUBSTITUTION
@@session.sql_mode = ONLY_FULL_ GROUP_BY, STRICT_ TRANS_TABLES, NO_ZERO_ IN_DATE, NO_ZERO_ DATE,ERROR_ FOR_DIVISION_ BY_ZERO, NO_AUTO_ CREATE_ USER,NO_ ENGINE_ SUBSTITUTION
@sql_mode = ONLY_FULL_ GROUP_BY, STRICT_ TRANS_TABLES, NO_ZERO_ IN_DATE, NO_ZERO_ DATE,ERROR_ FOR_DIVISION_ BY_ZERO, NO_AUTO_ CREATE_ USER,NO_ ENGINE_ SUBSTITUTION
And these values seem to be the default as of MySQL 5.7
I've scanned the cacti forums, where its repeatedly stated that cacti is incompatible with "strict mode" (which implies NO_ZERO_ IN_DATE/ NO_ZERO_ DATE). I've also tried to modify the cacti php files to clear the sql_mode, but it doesn't seem to work (still get errors in logs about invalid dates)
And my upgrade path is similar to Andrews, i.e. started out on Ubuntu 13.10, upgraded to 14.04 followed by 15.10 then went to 16.04 (last step introduced the problem)
Did the apport-collect as asked (it stated that my cacti cron-job was modified, but I have no memory of ever manipulating that file)