core icon indicating copy to clipboard operation
core copied to clipboard

upgrade to 5.0.10: password (encryption on) does not work anymore

Open timoburmeister opened this issue 13 years ago • 5 comments

hi guys,

due to an error while upgrading through the backend of OC (can't fetch package), I installed OC 5.0.10 via FTP. Everything worked fine, using existing DB and creating new admin acc. Data folder is outside the OC directory.

BUT I cannot log in with my existing user from before the upgrade. That account had encryption enabled and now the login screen tells me that the password is wrong. The new created admin acc works fine btw.

Could it be that the upgrade disabled the encryption app for the existing user and OC now gets kinda fuzy with the password?

thanks and bye!

timoburmeister avatar Aug 15 '13 17:08 timoburmeister

@schiesbn

karlitschek avatar Oct 18 '13 10:10 karlitschek

That account had encryption enabled and now the login screen tells me that the password is wrong.

The encryption app doesn't create such a message. The encryption app only gets triggered after you successfully logged in.

Normally the upgrade shouldn't disable the encryption app. You could check the oc_appconfig table if the encryption app is still enabled: Select * FROM oc_appconfig WHERE appid="files_encryption" and configkey="enabled"; But as said, at the moment I doubt that this has something to do with the encryption app. If it is enabled you could also try to disable it to see if the login works without the encryption app.

Please also check your owncloud.log or apache error log to see if they provide any useful information?

How you might be able to solve the problem: You could try to login with the new adim and set the user password in the user management again. (use the same password you used before).

schiessle avatar Oct 18 '13 10:10 schiessle

Any update here? Is it possible that you migrated your database from sqlite to mysql? or have you lost the password hash in the config file? Something else in the logfile?

karlitschek avatar Dec 06 '13 16:12 karlitschek

@timoburmeister did you kept your old config.php otherwise I assume that the problem is that you now have a new password salt, that would explain why you can log-in with the new admin account but not with the old accounts

schiessle avatar Dec 06 '13 17:12 schiessle

hi guys

did a re-install. now it works fine.

thx

timoburmeister avatar Dec 12 '13 10:12 timoburmeister