Sharing item: user list is empty!

Nextcloud version (eg, 20.0.5): 22.1.0
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 7.4.22

The issue you are facing:
I.e. I create a new calendar and want to share it with some users. I click on the “Share” icon but whatever character I type, the app keeps on displayng “List is empty”. I was expecting to get a dynamic search into the users list (i.e. a>dmin, ad>min, adm>in, etc.

As you can see in the picture below, if I try to share with a group, named ‘Biometrics’, Nextcloud keeps saying “no corresponding user or group”, and this happens for every sharing function!

Capture d’écran 2021-09-15 102712

Is this the first time you’ve seen this error? (Y/N): No, it seems that some plugins may disturb the core functions and have bad interactions… I’ve tried to deactivate most of the plugins to keep the core ones but to no avail until now.

Steps to replicate it: as indicated above…

The output of your Nextcloud log in Admin > Logging:

{"reqId":"CC39p3BfUO6gEe7VGh3g","level":3,"time":"2021-09-14T09:29:54+00:00","remoteAddr":"185.174.184.98","user":"pverrando","app":"PHP","method":"PUT","url":"/remote.php/webdav/SCCG/2021_09_17/Draft%20Minutes%20of%204th%20SCCG%20meeting%20-%2023%20April%202021_amended.docx","message":"stream_socket_client(): unable to connect to unix:///var/run/clamav/clamd.ctl (No such file or directory) at /var/www/html/custom_apps/files_antivirus/lib/Scanner/ExternalClam.php#41","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0","version":"22.1.0.1","exception":{"Exception":"Error","Message":"stream_socket_client(): unable to connect to unix:///var/run/clamav/clamd.ctl (No such file or directory) at /var/www/html/custom_apps/files_antivirus/lib/Scanner/ExternalClam.php#41","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"stream_socket_client(): unable to connect to unix:///var/run/clamav/clamd.ctl (No such file or directory)","/var/www/html/custom_apps/files_antivirus/lib/Scanner/ExternalClam.php",41,{"avSocket":"/var/run/clamav/clamd.ctl","errno":0,"errstr":""}]},{"file":"/var/www/html/custom_apps/files_antivirus/lib/Scanner/ExternalClam.php","line":41,"function":"stream_socket_client","args":["unix:///var/run/clamav/clamd.ctl",0,"",5]},{"file":"/var/www/html/custom_apps/files_antivirus/lib/AvirWrapper.php","line":108,"function":"initScanner","class":"OCA\\Files_Antivirus\\Scanner\\ExternalClam","type":"->","args":[]},{"file":"/var/www/html/custom_apps/files_antivirus/lib/AvirWrapper.php","line":92,"function":"wrapSteam","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/files_accesscontrol/lib/StorageWrapper.php","line":320,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/groupfolders/lib/ACL/ACLStorageWrapper.php","line":174,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Jail.php","line":527,"function":"writeStream","class":"OCA\\GroupFolders\\ACL\\ACLStorageWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Jail","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/files_accesscontrol/lib/StorageWrapper.php","line":320,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":206,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["SCCG/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx",null,null]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"CC39p3BfUO6gEe7VGh3g","level":3,"time":"2021-09-14T09:29:54+00:00","remoteAddr":"185.174.184.98","user":"pverrando","app":"files_antivirus","method":"PUT","url":"/remote.php/webdav/SCCG/2021_09_17/Draft%20Minutes%20of%204th%20SCCG%20meeting%20-%2023%20April%202021_amended.docx","message":"Cannot connect to \"/var/run/clamav/clamd.ctl\": No such file or directory (code 2)","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0","version":"22.1.0.1","exception":{"Exception":"RuntimeException","Message":"Cannot connect to \"/var/run/clamav/clamd.ctl\": No such file or directory (code 2)","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/files_antivirus/lib/AvirWrapper.php","line":108,"function":"initScanner","class":"OCA\\Files_Antivirus\\Scanner\\ExternalClam","type":"->","args":[]},{"file":"/var/www/html/custom_apps/files_antivirus/lib/AvirWrapper.php","line":92,"function":"wrapSteam","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/files_accesscontrol/lib/StorageWrapper.php","line":320,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/groupfolders/lib/ACL/ACLStorageWrapper.php","line":174,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Jail.php","line":527,"function":"writeStream","class":"OCA\\GroupFolders\\ACL\\ACLStorageWrapper","type":"->","args":["__groupfolders/8/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Jail","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/custom_apps/files_accesscontrol/lib/StorageWrapper.php","line":320,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":206,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx.ocTransferId1580222598.part",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["SCCG/2021_09_17/Draft Minutes of 4th SCCG meeting - 23 April 2021_amended.docx",null,null]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/files_antivirus/lib/Scanner/ExternalClam.php","Line":43,"CustomMessage":"--"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'default_phone_region' => 'BE',
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'instance-id',
  'passwordsalt' => 'SALT',
  'secret' => 'SECRET',
  'trusted_domains' => 
  array (
    0 => '192.168.1.34:8088',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.1.0.1',
  'overwrite.cli.url' => 'http://192.168.1.34:8088',
  'dbname' => 'nextcloud',
  'dbhost' => 'mariadb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'db-user',
  'dbpassword' => 'db-pwd',
  'installed' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mydomain.com',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp-host',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'smtp-name',
  'mail_smtppassword' => 'mail-pwd',
  'allow_local_remote_servers' => true,
  'app_install_overwrite' => 
  array (
    0 => 'groupfolders',
  ),
);```

The output of your Apache/nginx/system log in `/var/log/____`:

n/a

1 Like

Hi all!

Did anyone experience this issue where you just can’t get the list of existing users and groups when trying to share something (file, calendar, poll…)?

Thanks in advance for any help, as this prevents me from deploying the service!

1 Like

Hi, I think this issue should be fixed with NC22.1.1

1 Like