can no longer install syslog plugin
Opened this issue · 2 comments
dallenk commented
Describe the bug
A clear and concise description of what the bug is.
I belive this will be related too: Cacti/cacti#5901
To Reproduce
fresh git clone of syslog plugin to /plugins/syslog
edit config.php to match DB of cacti/include/config.php
cacti / plugins / install syslog
truncate tables / innodb or MyISAM / default partition and time
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: include_once(): Failed opening './lib/poller.php' for inclusion (include_path='.:/usr/share/php') in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:13 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:13 - ERROR PHP WARNING: include_once(./lib/poller.php): Failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:13 - PLUGIN NOTE: Cacti Plugin syslog has been installed by xxxxxx
2024-11-07 09:18:09 - SQL Backtrace: (/plugins.php[212]:api_plugin_install(), /lib/plugins.php[758]:db_execute_prepared())
2024-11-07 09:18:09 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'last_updated' in 'field list'
2024-11-07 09:18:09 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:09 - ERROR PHP WARNING: include_once(): Failed opening './lib/poller.php' for inclusion (include_path='.:/usr/share/php') in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:09 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:09 - ERROR PHP WARNING: include_once(./lib/poller.php): Failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:02 - SQL Backtrace: (/plugins.php[212]:api_plugin_install(), /lib/plugins.php[758]:db_execute_prepared())
2024-11-07 09:18:02 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'last_updated' in 'field list'
2024-11-07 09:18:02 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:02 - ERROR PHP WARNING: include_once(): Failed opening './lib/poller.php' for inclusion (include_path='.:/usr/share/php') in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:02 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:18:02 - ERROR PHP WARNING: include_once(./lib/poller.php): Failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:18:00 - PHP ERROR WARNING Backtrace: (/plugins.php[179]:update_show_current(), /plugins.php[1578]:format_plugin_row(), /plugins.php[1660]:CactiErrorHandler())
2024-11-07 09:18:00 - ERROR PHP WARNING: Undefined array key "last_updated" in file: /var/www/html/cacti/plugins.php on line: 1660
2024-11-07 09:17:59 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:17:59 - ERROR PHP WARNING: include_once(): Failed opening './lib/poller.php' for inclusion (include_path='.:/usr/share/php') in file: /var/www/html/cacti/plugins.php on line: 26
2024-11-07 09:17:59 - PHP ERROR WARNING Backtrace: (/plugins.php[26]:include_once(), /plugins.php[26]:CactiErrorHandler())
2024-11-07 09:17:59 - ERROR PHP WARNING: include_once(./lib/poller.php): Failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins.php on line: 26
sudo -u www-data php upgrade_database.php
NOTE: Repairing Tables for Local Database
ERROR: Your Cacti is already up to date
- from: v1.3.0
to: v1.3.0 - Dev ba49b776 @ 2024-11-07 08:15
n11tech@911nms:/var/www/html/cacti/cli$
dallenk commented
xmacan commented
ALTER TABLE plugin_config ADD COLUMN last_updated TIMESTAMP DEFAULT NULL;