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

If multi_server environment is set, disable Plugin management in GUI #18048

Closed
iamfinky opened this issue Sep 22, 2021 · 2 comments
Closed

If multi_server environment is set, disable Plugin management in GUI #18048

iamfinky opened this issue Sep 22, 2021 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@iamfinky
Copy link

Summary

When running Matomo in a cluster/multi-server environment, by design I cannot activate or deactivate plugins.
When I visit the plugins page in the UI (as a Super-Admin), I can still see options to activate or deactivate plugins.

Could we have a change so that, in this situation:

  1. Plugin activation/deactivation controls are removed or disabled
  2. A message is added at the top of the page stating "This server is deployed in a multi-server environment. Plugins cannot be managed here" (or something similar).

This would lead to less confusion and, in theory, could be easy to implement (happy to do a PR) given this setting is known and part of the config file.

Your Environment

  • Matomo Version: 4.4.1
  • PHP Version: 7
  • Server Operating System: Ubuntu
  • Additionally installed plugins: FormAnalytics, CustomReports
@iamfinky iamfinky added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Sep 22, 2021
@Starker3
Copy link
Contributor

There is already a config setting to disable plugins install/enable/disable here:

enable_plugins_admin = 1

As well as an additional config setting which disables some other admin settings:

enable_general_settings_admin = 1

What we could maybe do is add a warning to the diagnostic/system check if these settings are still enabled with multi server set to 1 in the config?

@iamfinky
Copy link
Author

Oh, thanks! I had no idea. I'll close this ticket. Cheers! :)

@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Sep 22, 2021
@tsteur tsteur removed the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants