matomo-org/docker

Installing GoogleAnalyticsImporter plugin

HanssenKai opened this issue · 2 comments

Hi there. I'm trying to install the GoogleAnalyticsImporter from matomo marketplace. I've tried both 3.x and 4.x plugin versions.

Running matomo container tag 4.10.1.
Command:

php ./console plugin:activate GoogleAnalyticsImporter

Yields errors:
plugin 4.x:

GoogleAnalyticsImporter requires Matomo >=4.10.0-b1.

plugin 3.x:

GoogleAnalyticsImporter requires Piwik <4.0.0-b1

Is there a suggested workaround, or is there an updated container version in the pipelines?

Seems this might be related to #281, where mounting /var/www/html as a persistent volume means matomo stays on previous version (4,9 in my case), even after updating the image tag to 4.10.

Since

php ./console core:version

still returns

4.9.0

Worked with one commenters workaround (for others with mounted /var/www/html folder)

  1. Update container to new tag
  2. access matomo via web GUI
  3. Follow notification saying there is a new version of matomo available
  4. automatic upgrade

After which it was possible to exec into the pod, and import the plugin via php ./console in /var/www/html folder.