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

Login not possible after updating from 1.12 to 2.4.1 #5919

Closed
larsen0815 opened this issue Aug 4, 2014 · 7 comments
Closed

Login not possible after updating from 1.12 to 2.4.1 #5919

larsen0815 opened this issue Aug 4, 2014 · 7 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@larsen0815
Copy link

I have updated my Piwik installation from 1.12 to 2.4.1 and afterwards I couldn´t login: "username or password are not correct" (translated from German).

Apparently, Piwik is not using the superuser section from config.ini.php anymore:

[superuser]
login = "admin"
password = "..."
email = "system@example.com"
salt = "..."

I had to rename my config and run the installer (using the existing tables) so Piwik creates a user in the appropriate database table.

@mattab
Copy link
Member

mattab commented Aug 4, 2014

Thanks for the report. Maybe your config file was not writable by the web server user? this could explain this issue. if your file was writable and it didn't work please comment and we will investigate further!

@mattab mattab added Bug labels Aug 4, 2014
@mattab mattab added this to the Short term milestone Aug 4, 2014
@tsteur
Copy link
Member

tsteur commented Aug 5, 2014

Isn't read permission enough to read the user from the config and to create it in the database?

@mattab
Copy link
Member

mattab commented Aug 5, 2014

@tsteur you're right it should have been enough. Does anyone else experience this bug?

@larsen0815
Copy link
Author

File is writable for Apache user.

@larsen0815
Copy link
Author

btw. "Referers" was not changed to "Referrers" in config.ini.php

@mattab
Copy link
Member

mattab commented Aug 5, 2014

wrong ticket, comment was for: #5920

@mattab mattab closed this as completed Aug 5, 2014
@mattab mattab reopened this Aug 5, 2014
@mattab
Copy link
Member

mattab commented Aug 10, 2014

If you experience this issue as well please comment here! Closing for now as wontfix since no other user reported this issue and OP has solved issue manually.

@mattab mattab closed this as completed Aug 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants