Page MenuHomePhabricator

Upgrade matomo to the latest upstream
Open, HighPublic

Event Timeline

elukey created this task.Thu, May 14, 7:07 AM

Change 596396 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/puppet@production] aptrepo: add matomo component

https://gerrit.wikimedia.org/r/596396

Change 596396 merged by Elukey:
[operations/puppet@production] aptrepo: add matomo component

https://gerrit.wikimedia.org/r/596396

Change 596399 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/puppet@production] aptrepo: allow the matomo componet to use checkupdate/update

https://gerrit.wikimedia.org/r/596399

Change 596399 merged by Elukey:
[operations/puppet@production] aptrepo: allow the matomo componet to use checkupdate/update

https://gerrit.wikimedia.org/r/596399

Now we have:

matomo | 3.11.0-2 | stretch-wikimedia |              main | amd64, i386
matomo | 3.13.3-1 | stretch-wikimedia | thirdparty/matomo | amd64
matomo | 3.13.3-1 |  buster-wikimedia | thirdparty/matomo | amd64

Now we have:

matomo | 3.11.0-2 | stretch-wikimedia |              main | amd64, i386
matomo | 3.13.3-1 | stretch-wikimedia | thirdparty/matomo | amd64
matomo | 3.13.3-1 |  buster-wikimedia | thirdparty/matomo | amd64

Best to remove the old package from "main", this will only lead to endless confusion

Change 596404 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/puppet@production] matomo: switch to apt::package_from_component

https://gerrit.wikimedia.org/r/596404

Change 596404 merged by Elukey:
[operations/puppet@production] matomo: switch to apt::package_from_component

https://gerrit.wikimedia.org/r/596404

And ready for the upgrade:

elukey@matomo1001:~$ apt-cache policy matomo
matomo:
  Installed: 3.11.0-2
  Candidate: 3.13.3-1
  Version table:
     3.13.3-1 1001
       1001 http://apt.wikimedia.org/wikimedia stretch-wikimedia/thirdparty/matomo amd64 Packages
 *** 3.11.0-2 1001
       1001 http://apt.wikimedia.org/wikimedia stretch-wikimedia/main amd64 Packages
        100 /var/lib/dpkg/status

Mentioned in SAL (#wikimedia-operations) [2020-05-14T09:56:18Z] <elukey> upgrade matomo on matomo1001 to 3.13.3 (latest upstream) - T252741

Removed the package from the main component as Moritz suggested.

Created https://wikitech.wikimedia.org/wiki/Analytics/Systems/Matomo#Upgrade_Matomo

elukey claimed this task.Thu, May 14, 10:10 AM
elukey triaged this task as High priority.
elukey set Final Story Points to 5.
elukey moved this task from Next Up to Done on the Analytics-Kanban board.

While writing the docs, I realized that I missed a step, namely checking that the last version in the upstream debian repo is effectively the latest released. It is not in this case, I deployed 3.13.3 but 3.13.5 is already out.

Opened https://github.com/matomo-org/matomo-package/issues/108

elukey moved this task from Done to In Progress on the Analytics-Kanban board.Thu, May 14, 10:20 AM

Mentioned in SAL (#wikimedia-operations) [2020-05-27T07:04:17Z] <elukey> matomo upgraded to 3.13.5 on matomo1001 - T252741

elukey moved this task from In Progress to Done on the Analytics-Kanban board.Wed, May 27, 7:04 AM