10.4.1.3 - Unable to share to local user in web interface

Steps to reproduce

  1. Try to share folder to user
  2. Type in user name, select in box
  3. User never selected, box reappears

Expected behaviour

Tell us what should happen

User should be selected so permissions can be applied and share can be completed

Actual behaviour

Tell us what happens instead

User appears in populated list, when selected list reappears with only selected user, never actually selects user

Server configuration

Operating system:
Ubuntu 18.04.4

Web server:

Apache 2.4.29

Database:

SQLite

PHP version:

7.2.24

ownCloud version: (see ownCloud admin page)

10.4.1.3

Updated from an older ownCloud or fresh install:

Updated

Where did you install ownCloud from:

Owncloud Ubuntu Repo

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.

Instructions fail to produce anything - just redirects to owncloud.

The content of config/config.php:

{
“system”: {
“instanceid”: “oc3ee9d6f53e”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
REDACTED
],
“datadirectory”: “/data/owncloud”,
“dbtype”: “sqlite3”,
“version”: “10.4.1.3”,
“installed”: true,
“ldapIgnoreNamingRules”: false,
“forcessl”: true,
“mail_smtpmode”: “smtp”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“theme”: “”,
“maintenance”: false,
“secret”: “REMOVED SENSITIVE VALUE”,
“loglevel”: 3,
“trashbin_retention_obligation”: “auto”,
“updatechecker”: false,
“singleuser”: false,
“updater.secret”: “REMOVED SENSITIVE VALUE
}
}

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.

Enabled:

  • activity: 2.5.3
  • comments: 0.3.0
  • configreport: 0.2.0
  • dav: 0.5.0
  • federatedfilesharing: 0.5.0
  • federation: 0.1.0
  • files: 1.5.2
  • files_external: 0.7.1
  • files_mediaviewer: 1.0.2
  • files_pdfviewer: 0.11.1
  • files_sharing: 0.12.0
  • files_texteditor: 2.3.0
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • firstrunwizard: 1.2.0
  • gallery: 16.1.1
  • market: 0.5.0
  • notifications: 0.5.0
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • templateeditor: 0.4.0
  • updatenotification: 0.2.1
  • user_ldap: 0.15.1
    Disabled:
  • encryption
  • external
  • user_external

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

no

Are you using encryption: yes/no

no

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

Mixed LDAP and local user database.

LDAP configuration (delete this part if not used)

redacted

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Both safari and chrome on macOS, chrome on windows server

Operating system:

macOS and windows

Logs

Web server error log

Insert your webserver log here

no data

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

no data

Browser log

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

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