Skip to content

Command line plugin management does not work with multiple plugins #5496

@TheWitness

Description

@TheWitness

Describe the bug

When attempting to install multiple plugins as below, you get the error messages as specified:

[root@vmhost6 cacti]# php cli/plugin_manage.php --plugin=thold --plugin=monitor --plugin=mactrack --plugin=audit --plugin=flo                                                        wview --plugin=syslog --install --enable --allperms
NOTE: 1 Plugins to be acted on.
PHP Warning:  Array to string conversion in /var/www/html/cacti/cli/plugin_manage.php on line 118
NOTE: Plugin 'Array' processing started
PHP Warning:  Array to string conversion in /var/www/html/cacti/cli/plugin_manage.php on line 123
PHP Warning:  Array to string conversion in /var/www/html/cacti/cli/plugin_manage.php on line 153
WARNING: Plugin 'Array' missing plugin directory.  Plugin not installed

To Reproduce

Setup a Cacti install and attempt to install using the steps above.

Expected behavior

Cacti should properly install those plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions