Copy downloaded plugins from Marketplace to MATOMO_PLUGIN_DIRS folder too #14534
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Hi,
The new feature allowing different folders for plugins using the
MATOMO_PLUGIN_DIRS
env is great.But is it possible to copy downloaded plugins from Marketplace UI also into declared directories in addition to Matomo
/plugins
folder.Download logic copies extracted .zip file to '/plugins' folder and it's not using new
getPluginsDirectories
functionmatomo/plugins/CorePluginsAdmin/PluginInstaller.php
Line 52 in 6395855
matomo/plugins/CorePluginsAdmin/PluginInstaller.php
Line 68 in 6395855
matomo/plugins/CorePluginsAdmin/PluginInstaller.php
Line 298 in 6395855
matomo/plugins/CorePluginsAdmin/PluginInstaller.php
Line 300 in 6395855
The goal is to easily "track" all the added/deleted plugins so creating new Matomo deployment becomes much easier.
This is useful with Kubernetes because i can define
MATOMO_PLUGIN_DIRS
folder to point to a Persistent Volume path shared between many PODsThe text was updated successfully, but these errors were encountered: