1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update README.adoc

Instructions for getting into Matomo
This commit is contained in:
cwivagg 2022-08-13 09:01:00 -04:00 committed by GitHub
parent cd6358514d
commit f1eb4f381f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,13 @@ _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.
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/
WARNING: Matomo won't show any traffic statistics until after 1 day or reboot (which are the events that trigger the log scraper!)