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

Document config setting multi_server_environment=1 for when Piwik is deployed on multiple servers #10777

Closed
mattab opened this issue Oct 22, 2016 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@mattab
Copy link
Member

mattab commented Oct 22, 2016

New config setting multi_server_environment=0 was introduced in #10737 - this config setting should be set to 1 when you're using more than one server for your Piwik installation. For example if you are using Piwik in a load balanced environment, if you have configured failover or if you're just using multiple servers in general. By enabling this flag we will for example not allow the installation of a plugin via the UI as a plugin would be only installed on one server, or a config file change would be only made on one server instead of all servers.

-> we should test a bit more this setting, and then document it in a FAQ, as well as mention/link in the load balanced FAQ etc.

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Oct 22, 2016
@mattab mattab added this to the 3.0.0 milestone Oct 22, 2016
@madsem
Copy link

madsem commented Jan 27, 2018

never happened with adding that to documentation eh :) hard for new users like me to follow the whole set up process of load balancing.

Not meaning to sound like an ass, I really appreciate all your hard work. ;)

@mattab
Copy link
Member Author

mattab commented Apr 17, 2018

Added the doc for this setting in: https://matomo.org/faq/new-to-piwik/faq_134/

in your config.ini.php, below the section [General], add the following line: multi_server_environment=1. This setting lets Matomo know you’re using multiple servers and for example it will then not allow the installation of a plugin via the UI (or the plugin would be only installed on one server), or it will not allow config file changes from the UI (as the config file would be updated on one server only).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants