matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.83k stars 2.64k forks source link

Store list of enabled plugins in Database #6063

Open mattab opened 10 years ago

mattab commented 10 years ago

Currently the list of enabled plugins is stored in the config.ini.php.

Goal of this ticket is to store the list of enabled plugins in the database instead.

Benefit: this will ensure that list of enabled plugins is synchronised across all servers used by Piwik, without having to manually synchronise it whenever new plugins are enabled/disabled.

Tasks

see also #6529

mnapoli commented 9 years ago

That would mean that plugins could never be able to customize the DB configuration or implementation being used, because the DB would need to be created before loading the plugins.

mattab commented 9 years ago

Good point, I'm moving it out of milestone as Im not sure this is so important anymore...

rick-pri commented 4 years ago

Good point, I'm moving it out of milestone as Im not sure this is so important anymore...

This is important for users with multiple Matomo app servers behind load balancers and ensuring that if you install the package that it is installed everywhere and available everywhere (there's probably a requirement that all nodes are triggerable on updating the list of plugins. At the moment I'm using configuration management to git clone the plugin into the directory and to push out the config file onto all the servers to enable the plugin.) Using a settings file in such a context does not make any sense.