Skip to content
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

Can't login after update to v3.6.0-b3 #13264

Closed
Findus23 opened this issue Aug 8, 2018 · 4 comments
Closed

Can't login after update to v3.6.0-b3 #13264

Findus23 opened this issue Aug 8, 2018 · 4 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@Findus23
Copy link
Member

Findus23 commented Aug 8, 2018

I think this is a regression since #12208, so maybe @diosmosis knows more.

After updating Matomo, I got the following exception on login:

The following error just broke Matomo (v3.6.0-b3):

Too few arguments to function Piwik\Plugins\GoogleAuthenticator\SessionInitializer::initSession(), 1 passed in /var/www/matomo/plugins/Login/Controller.php on line 218 and exactly 2 expected

in

/var/www/matomo/plugins/GoogleAuthenticator/SessionInitializer.php line 31

I disabled GoogleAuthenticator and now after entering the correct password, the login page reappears. There is no error message or error in php and piwik log.

Any way I can help debug this?


Bonus Bug: ( I am not sure if it is because of my setup, but it happened on two instances)

After updating, I get redirected to index.php?updateCorePlugins=1&module=CoreUpdater&action=
which returns a 502, but again logs aren't that helpful.

2018/08/08 18:36:29 [error] 12368#12368: *82 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: dev.matomo, request: "GET /index.php?updateCorePlugins=1&module=CoreUpdater&action= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "dev.matomo", referrer: "https://dev.matomo/index.php?module=CoreUpdater&action="

Reloading the page, returns the normal login page.

@Findus23 Findus23 added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Aug 8, 2018
@Findus23 Findus23 added this to the 3.6.0 milestone Aug 8, 2018
@sgiehl
Copy link
Member

sgiehl commented Aug 8, 2018

I'll check the Google Authenticator now if it's still compatible

@Findus23
Copy link
Member Author

Findus23 commented Aug 8, 2018

@sgiehl I think this is a separate bug as I also can't login on my dev-instance without Google Authenticator. (Guess I should have updated it first)

@GreenReaper
Copy link

Perhaps this is #13260? Running into this myself now.

@Findus23
Copy link
Member Author

Findus23 commented Aug 8, 2018

Odd, I read through everything related to the pull request, but missed #13260. Thanks

@Findus23 Findus23 closed this as completed Aug 8, 2018
@Findus23 Findus23 added the duplicate For issues that already existed in our issue tracker and were reported previously. label Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

No branches or pull requests

3 participants