Kindly suggest, after I upgraded my Piwik to version: 3.1.0 tracking to all the sites stopped. None of the site is now been tracked. I am not getting any error while I am accessing the Piwik dashboard. It only stopped all the tracking. Kindly help. Before upgrade everything was working fine.
Piwik version: 3.1.0
MySQL version: 5.5.56
PHP version: 7.0.23
+1 Same here
Downgrade is not possible because of the database migration
@satya876 @michaeltarleton can you please follow instructions here: http://developer.piwik.org/api-reference/tracking-api#debugging-the-tracker
and let us know what error message you're seeing in the piwik.php debug output?
I did as instructed. kindly find attached log file.
Thank You !!
@satya876 Thanks, but in your tests you have the "Ignore Cookie" created, so your visits are not tracked and there is no error. Could you try again in "private browsing" window or a browser without the Piwik exclude cookie?
I removed the option to ignore cookie and have tested in "private browsing" as well as from another browser. Still not showing any data in Real Time as well as in Visitor Log. Kindly find the attached updated logs.
Now your IP address is excluded so can you remove this IP exclude:
DEBUG CoreHome[2017-09-18 03:43:49 UTC] [0b22e] Visitor IP 127.0.0.1 is excluded from being tracked
I excluded 127.0.0.1 IP, however now in the visitor log all the IP is shown as 127.0.0.1, it is not tracking the public IP. Kindly refer the attachments with screen shots.
I am not accessing the application from local host. I am using it from the static IP: 18.104.22.168
All the time it is showing "Your current IP address is 127.0.0.1" this is not correct and in the Visitor Log the same IP is showing for all the visit. I believe this application is not reliable for production, this is the 3rd time I find the application have issues.
I guess you're using Piwik behind a proxy, see: http://piwik.org/faq/how-to-install/faq_98/
I use to deploy on Apache and reverse proxy with NGINX before version upgrade everything was working fine. But after version upgrade there are issues coming up. Anyways Thanks for replying.
Something changed in your server configuration, because nothing's changed in Piwik in that area
Thanks for your response, I will check on my server.
I am using the below configuration:
proxy_client_headers = "HTTP_X_FORWARDED_FOR"
proxy_host_headers = "HTTP_X_FORWARDED_HOST"
trusted_hosts = "analytics.bluella.in"
Apache is listining on 127.0.0.1:81
NGINX as: proxy_pass http://127.0.0.1:81;
From long time I was using the same configuration and everything was working fine. But after update, the Visitor IP is simply showing 127.0.0.1 for all the website.
which version did you upgrade from?
From version 3.0.4
On Sep 20, 2017 6:48 AM, "Matthieu Aubry" <firstname.lastname@example.org> wrote:
which version did you upgrade from?
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/piwik/piwik/issues/12063#issuecomment-330717455, or mute
I am running the Piwik on Apache server without using any reverse proxy. The issue still not rectified. Experiencing the same issue. Only Server local IP is shown in the visitor log.
can you post a link to your phpinfo or so?
the IP address of the user is not visible in the phpinfo, so there is a problem in the configuration of your server somehow. please ask your host how you can get the original IP address
Okay, I will and will get back to you with the update. Thank You !!
I changed the NGINX configuration as below, now it is working fine.
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Thank You for the help provided.