Conversation
Co-authored-by: A Holt <holta@users.noreply.github.com>
Co-authored-by: A Holt <holta@users.noreply.github.com>
|
@cwivagg Git is definitely torturing us. Apologies. One more try to set https://github.com/cwivagg/iiab/blob/cwivagg/matomo_20220618/roles/0-init/tasks/validate_vars.yml#L67 to "46 + 46 + 42" instead of "45 + 45 + 41" ? (Or I can do it if you prefer!) |
|
@cwivagg the comment should be Currently it contains a small typo Let's try to get this PR fully merged before August, if possible, so this frivolous side issue can be put behind us! |
Correcting per iiab#3304 (comment) to change: 44 + 44 + 0 to: 44 + 44 + 40
|
PR which has this comment fix here: cwivagg#1 |
40 days + 40 nights until IIAB's release around end of August, for the new school year? (If only Matomo could help IIAB schools graph + learn about the weather ! Possibly Node-RED is a better IIAB app for that? During this complicated year especially...) "The food security crisis could kill more people than Covid has [in Africa especially] says Senegal minister at G-20" |
Correcting typo in comment on L67
Thank you again for testing this feature! As I guessed, it was related to the way that Matomo processes timezones. Apparently the timezones set by Multipass (which defaults to your area, mine was set to EST) do not match Matomo's expectations. I did not encounter this problem during development on VirtualBox because Virtualbox defaults to UTC. I've simply deleted the line of code fetching Ansible's datetime (which is the system time, without intervention), which allows Matomo to fetch the system time itself. I tested this on Multipass and VirtualBox with my own defaults, and, for fun, with Singapore. All of them worked. In short, I believe the issue is now fixed. Thank you again for bringing it to myattention. |
|
@cwivagg this doesn't seem to install on our mainline OS (Raspberry Pi OS, e.g. on Raspberry Pi 4 and similar computers). Can you tell why this is happening below?
Anything else I should try? Context: The above error is the result of running |
This looks like the same error. If you're sure you picked up the most recent commit, we can try two things:
|
Yes, fyi:
I'll give you direct/online access to several Raspberry Pi's. Call me if poss? PS I'm pretty sure this IIAB restructuring commit ("Modernize matomo/tasks/main.yml for skip_role_on_error #3255") is 100% irrelevant — but possibly pull/merge/cherry-pick this commit into your debug branch: cd63585 |
|
@cwivagg call me if poss? So you can log in and grab the debug info etc. Yesterday's test had 64-bit Raspberry Pi OS Lite 2022-04-04 set to On this virgin OS today, I then ran as root: Then I typed '0' [zero] for a /etc/iiab/local_vars.yml tailored to unit-testing which I then edited to contain: Then I ran Today's results are:
|
|
FYI Matomo 4.11 is now official! |
|
Thank you to @cwivagg who is diligently testing this PR on all 4 of IIAB's mainline OS's! [1] http://FAQ.IIAB.IO -> "What OS should I use?" Let's get this merged soon after 6 months of hard work! |
Instructions for getting into Matomo
|
Huge Thanks @cwivagg for all your work, and for having tested this PR on 3+ different OS's (Mint 21, Ubuntu 22.04, Raspberry Pi OS Lite on Raspberry Pi 4) ! Let's declare victory — adding any touch-ups later, in subsequent PR's — as grassroots communities begin to learn how to use this and then ask for refinements/assistance en route 💯 |
Matomo Role
Instructions: https://github.com/cwivagg/iiab/tree/cwivagg/matomo_20220618/roles/matomo#readme [revised from June]
Updates Adam's pull request #3253.
Context links:
AWStats community patterns/analytics/statistics/metrics #1268
IIAB Community Analytics framework, above & beyond AWStats (likely Matomo?) #1762
Testing instructions