No more regular users after upgrade to 10.5.0.10

Steps to reproduce

  1. open webpage
  2. try to login

Expected behaviour

User should be able to login and view shared files

Actual behaviour

All users (except admin) are unable to login. Message: Wrong password. Reset it?
Admin can login, but user list is empty
In data folder, user subfolders do exist

LOCAL USERS AND GROUPS

*** SAME BEHAVIOUR ON DIFFERENT INSTALLATION - UPGRADE TO 10.5.0.10 ***

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

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

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

Client configuration

Browser:

Operating system:

Logs

Web server error log

https://gist.github.com/shaesen/3cb6b54e7bf23722ef8b358cd79deb1e.js

ownCloud log (data/owncloud.log)

https://gist.github.com/shaesen/aa157750f5165d91c8b0da42188b903e.js

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Hi,

What kind of users are facing this issue ?local, ldap …?
Please attach owncloud/webserver logs .

Hello Aki,

I added some logs.
It happens with local users and groups. Same issue on two instances of owncloud.
I ran user:sync - it ran but did not add the other users that are still visible in the database
Your help is appreciated :slight_smile:

Please, show the command output

Double-check that the synced users are in the “oc_accounts” table.
Note that you have A LOT of integrity check errors in the oauth2 app, which is related to the login process.

1 Like

Dear all,

After running CLI upgrade everything returned to normal for this instance.

Stefaan

Perhaps your instance was in single user mode?

1 Like

Hi, would single user mode prevent showing users in the ‘Everyone’ view ? This view is still empty, Admins view is populated. I copied the 10.5.0 files and ran the upgrade again (same action as in the other instance) but here it did not resolve the issue :frowning:

php occ status =>

  • installed: true
  • first_install_version: 10.5.0.10
  • version: 10.5.0.10
  • versionstring: 10.5.0
  • edition: Community

Nothing about single user …

1 Like