diff --git a/roles/matomo/README.adoc b/roles/matomo/README.adoc index 615ad9a99..0ad39328a 100644 --- a/roles/matomo/README.adoc +++ b/roles/matomo/README.adoc @@ -39,14 +39,15 @@ _Finally, continue to https://download.iiab.io[install IIAB], e.g. by running `s Log in to your IIAB's full Matomo URL, e.g. http://box.lan/matomo, as arranged above. +Take a look at Matomo's official guides to further set this up: https://matomo.org/guides/ + WARNING: If your IIAB URL is *not* http://box.lan, you may run into a big orange warning from Matomo that it has been configured to run from a different address. Here are the steps to fix this problem. 1. Copy the IP address listed in the box below "How do I fix this problem and how do I log in again?" For example, I see `trusted_hosts[] = "192.168.64.10"`, so I copy `"192.168.64.10"`. 2. Run `sudo nano /library/www/matomo/config/config.ini.php` to edit Matomo's config file. 3. Paste or type the IP address from Step 1 to replace `"box.lan"` in the `trusted_hosts` line, which should be about line 13. When I'm done, my line 13 says `trusted_hosts[] = "192.168.64.10"` instead of `trusted_hosts[] = "box.lan"`. 4. Refresh the Matomo homepage and the warning should be gone. - -Take a look at Matomo's official guides to further set this up: https://matomo.org/guides/ +5. Optionally, see the https://forum.matomo.org/t/trusted-hostname/11963[advanced tips] in https://forum.matomo.org/[Matomo's Forum]. WARNING: Matomo won't show any traffic statistics until after 1 day or reboot (which are the events that trigger the log scraper!)