@mattab opened this Issue on August 25th 2014 Member

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

  • store plugins in Database (eg. piwik_option table, with autoload=1)
  • make PluginsManager load the list from DB
  • make Tracker cache the list of tracker plugins in Tracker cache

see also #6529

@mnapoli commented on December 22nd 2014 Contributor

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 on December 22nd 2014 Member

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

@rick-pri commented on April 22nd 2020

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.

Powered by GitHub Issue Mirror