Skip to content

Commit

Permalink
Add matomo update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried authored and hbruch committed Nov 20, 2024
1 parent f90284f commit 4383c0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/upgrade-matomo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Upgrading Matomo

In order to upgrade Matomo, follow these steps:

- Change the version in the Ansible config like this: https://github.com/stadtnavi/digitransit-ansible/commit/f5d3b6cdc6d9cbab9025758994b7f050ef3cd3a2
- Provision the server with `make dev` or `make prod`
- Then log into Matomo and migrate in the UI
- This will attempt a database migration but this may time out. That's not particularly bad. Just follow the next step.
- Make sure that the database is migrated with the following commands:
```
docker exec -it matomo_app_1 /bin/sh
php /var/www/html/console core:update
```

0 comments on commit 4383c0b

Please sign in to comment.