We have Google analytics configured for OOD for centos 7, and it stopped working for the OOD on Centos 8 (No GA entries when someone is accessing the OOD website). We used the same OOD deployment procedure and configuration files, and we could not find which part went wrong.
I checked on the OOD server, the ood_portal.yml and ood-portal.conf file shows exactly as in 1. Adding Google Analytics — Open OnDemand 2.0.13 documentation
I also tried update_ood_portal, restarting httpd and htcacheclean, and the GA still not work.
The file /opt/ood/mod_ood_proxy/lib/analytics.lua exist with correct permission.
We have the following packages installed.
I worked with the Google Analytics team and confirmed that it can collect data on a test website.
So it is more likely the error is on the OOD part. I would like some help in debugging and find where it goes wrong.
In the error log, we also have entry that exist for a long time:
[Wed Dec 01 13:15:26.084263 2021] [lua:warn] [pid 440226:tid 140497867548416] AH01471: Lua error: /opt/ood/mod_ood_proxy/lib/logger.lua:22: bad argument #2 to ‘date’ (number has no integer representation)