Plugin not installing Netflow

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
installer
Posts: 3
Joined: Thu Jul 08, 2021 4:28 am

Plugin not installing Netflow

Post by installer »

Good day!
Installed Cacti version 1.2.18. downloaded the flowview plugin version 3.2. When I try to include it in the webgui, it writes an error to the log

Code: Select all

2021-07-08 13:49:29 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[671]:db_execute_prepared())
2021-07-08 13:49:29 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'name' cannot be null
Has anyone encountered such a problem? please tell me how you can solve
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Plugin not installing Netflow

Post by netniV »

That sounds like a bug and should be reported to the plugin_netflow repo on github.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
lichtl
Posts: 1
Joined: Fri Aug 30, 2013 6:32 am

Re: Plugin not installing Netflow

Post by lichtl »

I have the same issue on a fresh 1.2.18 installation with various plugins.

Code: Select all

2021-07-28 12:04:55 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'Intropage'
2021-07-28 12:04:55 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2021-07-28 12:04:55 - ERROR PHP ERROR in Plugin 'Intropage': Uncaught Error: Call to undefined function intropage_initialize_database() in /opt/www/cacti/plugins/Intropage/setup.php:168 Stack trace: #0 /opt/www/cacti/plugins/Intropage/setup.php(63): intropage_setup_database() #1 /opt/www/cacti/lib/plugins.php(675): plugin_intropage_install() #2 /opt/www/cacti/plugins.php(74): api_plugin_install('Intropage') #3 {main} thrown in file: /opt/www/cacti/plugins/Intropage/setup.php on line: 168
2021-07-28 12:04:55 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[671]:db_execute_prepared())
2021-07-28 12:04:55 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'name' cannot be null

Code: Select all

2021-07-28 12:10:48 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'Reportit'
2021-07-28 12:10:48 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2021-07-28 12:10:48 - ERROR PHP COMPILE_ERROR in Plugin 'Reportit': require_once(): Failed opening required '/opt/www/cacti/plugins/reportit/system/install.php' (include_path='.:/usr/share/pear:/usr/share/php') in file: /opt/www/cacti/plugins/Reportit/setup.php on line: 583
2021-07-28 12:10:48 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[671]:db_execute_prepared())
2021-07-28 12:10:48 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'name' cannot be null
I had a look at the github issues but was unable to really find something related to this.

Just enabled debug

Code: Select all

2021-07-28 12:16:03 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'Reportit'
2021-07-28 12:16:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2021-07-28 12:16:03 - ERROR PHP COMPILE_ERROR in Plugin 'Reportit': require_once(): Failed opening required '/opt/www/cacti/plugins/reportit/system/install.php' (include_path='.:/usr/share/pear:/usr/share/php') in file: /opt/www/cacti/plugins/Reportit/setup.php on line: 583
2021-07-28 12:16:03 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[671]:db_execute_prepared())
2021-07-28 12:16:03 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'name' cannot be null
2021-07-28 12:16:03 - DBCALL ERROR: A DB Exec Failed!, Error: 1048, SQL: 'INSERT INTO plugin_config (directory, name, author, webpage, version) VALUES (?, ?, ?, ?, ?)'
I've raised this in issue 4361 - https://github.com/Cacti/cacti/issues/4361

Check if you plugin folder is lower-case.
installer
Posts: 3
Joined: Thu Jul 08, 2021 4:28 am

Re: Plugin not installing Netflow

Post by installer »

I've raised this in issue 4361 - https://github.com/Cacti/cacti/issues/4361

Check if you plugin folder is lower-case.
Thanks, your solution helped
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests