After Upgraded 9.1.1, old local user can't log in

9.1.x
help

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1.Backup owncloud folder & database
2.Download & Unzip Owncloud
3.Copy config, data to New owncloud folder
4.Upgrade owncloud command
5.From 7.04->7.0.15->8.0.15->8.1.10->8.2.8->9.0.5->9.1.1

Expected behaviour
After Upgraded 9.1.1, old local user can't loged in to owncloud only create new local user can log in normally. Tell me what should i do?

Actual behaviour
Tell us what happens instead

Server configuration
Operating system: Ubuntu 14.04.5 LTS
Web server: nginx version: nginx/1.4.6 (Ubuntu)
Database: Mysql 5.5.53
PHP version:PHP Version 5.5.9
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: Older owncloud
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): server-side-encryption

ownCloud log (data/owncloud.log)
Line 15207: {"reqId":"ka3sdrtzNz8bNFUyecsa","remoteAddr":"10.16.33.38","app":"user_ldap","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"No user available for the given login name on 172.29.0.13:389\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/owncloud\\/apps\\/user_ldap\\/lib\\/User_LDAP.php(120): OCA\\User_LDAP\\User_LDAP->getLDAPUserByLoginName('koolbk')\n#1 \\/var\\/www\\/owncloud\\/lib\\/private\\/User\\/Manager.php(200): OCA\\User_LDAP\\User_LDAP->checkPassword(*** sensitive parameters replaced )\n#2 \\/var\\/www\\/owncloud\\/lib\\/private\\/User\\/Session.php(427): OC\\User\\Manager->checkPassword( sensitive parameters replaced )\n#3 \\/var\\/www\\/owncloud\\/lib\\/private\\/User\\/Session.php(287): OC\\User\\Session->loginWithPassword( sensitive parameters replaced )\n#4 \\/var\\/www\\/owncloud\\/lib\\/private\\/User\\/Session.php(313): OC\\User\\Session->login( sensitive parameters replaced ***)\n#5 \...

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

#2

Hi ThuongDV,

consider that when server-side encryption is enabled, after upgrading to 8.0 and 8.1 an additional step is required that is manually migrating your encryption keys with the occ command:

https://doc.owncloud.com/server/9.1/admin_manual/configuration_files/encryption_configuration.html?highlight=encryption#encryption-migration-to-owncloud-8-0

Also, the log entries you posted are referring to LDAP users and not to local ones.


#3

Thank you very much, i missed old config.php copy to new server so difference passwordsalt on 2 server. Solved