2.8.1 upgrade FAIL -- endless 302 redirect


#1

Upgraded to 2.8.1 today and now in an endless 302 redirect. Can’t get back into Piwik. Worked just fine for over a year until upgrading to 2.8.1 … help???


(Matthieu Napoli) #2

Hi, can you paste (remove the domain name) the URL you are using to access Piwik? Can you see what it is redirecting to?

For example, is it a URL looking like this: http://example.com/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday


#3

Hi Matthieu, it’s trying to redirect to:

/index.php?module=CoreUpdater&action=


(Matthieu Napoli) #4

A ticket has been open on GitHub about this: https://github.com/piwik/piwik/issues/6491


#5

Thanks for the github reference. I can confirm that the following addition worked (php 5.4, nginx, php fpm):

/etc/nginx/fastcgi_params

fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;


#6

Hi,

I am having the same (?) problem after upgrading to 2.8.1. Piwik is set up as a virtual server under nginx 1.6.2 with php-fpm 5.4.33. It was running fine until now.

I am getting the following error (in Firefox):


The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

No errors in error_log. Nothing is recorded in access_log.

I have included more technical info at: Redirect error while Upgrading to 2.8.1 · Issue #6491 · matomo-org/matomo · GitHub

Please help make this installation working again!

Thanks,
Nick


#7

It worked finally, after a change in nginx config. See the thread at GitHub.

Nick