New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visits not inserted in log_visit and no errors triggered (unknown reason) #13755
Comments
Posted as requested from forum. core/Profiler.php was patched and debug set to
adapter = "MYSQLI" Yes it is still occurring in 3.7.0. With your patch I did not see any errors after specifically "Show warnings (SQL)" but here is the result
|
Show warnings would need to be executed after each query or not? Not just at the end... |
@tyler71 before we invest any time in this please let us know your MySQL version and Does it record this page view when you open the URL? |
The page view is not recorded when opened with browsers.
Like a account in my matomo instance? |
Do other things work in your Matomo instance such as creating a scheduled report? Updating password, or making any change to settings in Admin => General Settings? I'm thinking on this instance maybe |
I updated my password and it worked fine Attempting to navigate around the site is now resulting in a error in specific areas (Visits in real time, visits logs, etc)
Nginx Error logs reveal this:
Memory leak? Edit: |
You definitely want to increase your memory limit to say 256MB or even 512MB. 128MB can be quite low. |
Changed to 256MB resolved the above error Unfortunately, no visits are recording still |
We would ideally need a login for your Matomo instance, plus access to the code on the server so we can investigate the issue. |
Hi @tyler71 are you still experiencing this issue? If so, be great if you can reach out to us via: http://matomo.org/contact/ |
@mattab not sure if I'm having the same issue, but after upgrading to 3.11.0 from 3.9 2 days ago none of my new visits are being recorded for any of my sites. I'm running in docker (via crazymax/matomo:3.11.0 container) and traefik (via traefik 1.7.14 container) and mariadb (via mariadb:10.4.7 container). Console log shows that the requests come in but it's as if they aren't being stored in database. I'm using a cron sidecar and it reports no issues doing archive. I tried to manually update the database on console as well as archive (always now says no new visits) and no errors reported. |
I recommend you check in |
@tsteur thanks for your suggestions. Looks like last written was on the 13th right before I upgraded. |
|
@genachka can you follow instructions at https://developer.matomo.org/api-reference/tracking-api#debugging-the-tracker and see what is the output message in debug mode? |
@mattab just to follow up here, I didn't have the chance to do as you suggested so I just left it running on the reverted 3.10.0 until 3.12.0 was released. I upgraded to 3.12.0 without the issues. Maybe it was something with the crazymax/matomo:3.11.0 container or something in the Matomo 3.11.0 code. But all good now. Running without issues for almost a week on with the following containers:
|
Great to know it works now. Thanks |
Thanks for the update! I'll close the ticket now as we haven't got more reports since. |
Reported in https://forum.matomo.org/t/no-longer-logging-vists-piwik-php-called/29700/3
We can see in the tracker debug output that the Visit insertion seems to have occured, but actually failed:
Here we see that
'idvisit' => 0,
so it seems the log_visit insert went wrong? it is reproducible for this user and hasn't worked since months ago. Maybe the problem is a corrupted log_visit table but it could be anything really..Suggested steps:
SHOW WARNINGS
query so we can maybe learn about some hidden problemsThe text was updated successfully, but these errors were encountered: