Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TheWitness opened this issue Sep 23, 2023 · 0 comments
Closed

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

TheWitness opened this issue Sep 23, 2023 · 0 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

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.

@TheWitness TheWitness added bug Undesired behaviour confirmed Bug is confirm by dev team labels Sep 23, 2023
@TheWitness TheWitness added this to the 1.2.26 milestone Sep 23, 2023
TheWitness added a commit that referenced this issue Sep 23, 2023
Plugin Management CLI does not work when multiple plugins are specified
@TheWitness TheWitness added the resolved A fixed issue label Sep 24, 2023
TheWitness added a commit that referenced this issue Sep 24, 2023
Plugin Management CLI does not work when multiple plugins are specified
@netniV netniV changed the title Plugin Management CLI does not work when multiple plugins are specified Plugin management at command line does not work with multiple plugins Dec 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2024
@netniV netniV changed the title Plugin management at command line does not work with multiple plugins Command line plugin management does not work with multiple plugins Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

1 participant