Sharing possible only with Desktop Client

So my problem is that I can’t share folders with other Users or Groups. If I use the browser, and i type something in the field where the user goes just nothing happens. Normally it should suggest me some users or groups but it doesn’t. The desktop client does. I tried on a different Nextcloud and there the share option works with no problem.

so in my Logs theres only this entry:

Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`checksum`,`path_hash`,`path`,`parent`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params ["1", "2", 1491203166, -1, "58e1f45ea353b", 1491203166, 31, "", "fb66dca5f27af6f15c1d1d81e6f8d28b", "files_trashbin", 65, "files_trashbin", 5, 5, "fb66dca5f27af6f15c1d1d81e6f8d28b"]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5-fb66dca5f27af6f15c1d1d81e6f8d28b' for key 'fs_storage_path_hash'

    /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 128: Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
    /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php - line 996: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO `oc...', Array)
    /var/www/html/lib/private/DB/Connection.php - line 215: Doctrine\DBAL\Connection->executeUpdate('INSERT INTO `oc...', Array, Array)
    /var/www/html/lib/private/DB/Adapter.php - line 114: OC\DB\Connection->executeUpdate('INSERT INTO `oc...', Array)
    /var/www/html/lib/private/DB/Connection.php - line 253: OC\DB\Adapter->insertIfNotExist('*PREFIX*filecac...', Array, Array)
    /var/www/html/lib/private/Files/Cache/Cache.php - line 275: OC\DB\Connection->insertIfNotExist('*PREFIX*filecac...', Array, Array)
    /var/www/html/lib/private/Files/Cache/Cache.php - line 232: OC\Files\Cache\Cache->insert('files_trashbin', Array)
    /var/www/html/lib/private/Files/Cache/Scanner.php - line 277: OC\Files\Cache\Cache->put('files_trashbin', Array)
    /var/www/html/lib/private/Files/Cache/Scanner.php - line 217: OC\Files\Cache\Scanner->addToCache('files_trashbin', Array, -1)
    /var/www/html/lib/private/Files/Cache/Scanner.php - line 176: OC\Files\Cache\Scanner->scanFile('files_trashbin')
    /var/www/html/lib/private/Files/Cache/Scanner.php - line 320: OC\Files\Cache\Scanner->scanFile('files_trashbin/...', 3, -1, NULL, false)
    /var/www/html/lib/private/Files/Cache/Updater.php - line 124: OC\Files\Cache\Scanner->scan('files_trashbin/...', false, 3, false)
    /var/www/html/lib/private/Files/View.php - line 318: OC\Files\Cache\Updater->update('files_trashbin/...', 1491203166)
    /var/www/html/lib/private/Files/View.php - line 1139: OC\Files\View->writeUpdate(Object(OCA\Files_Trashbin\Storage), 'files_trashbin/...')
    /var/www/html/lib/private/Files/View.php - line 266: OC\Files\View->basicOperation('mkdir', '/files_trashbin...', Array)
    /var/www/html/apps/files_trashbin/lib/Trashbin.php - line 156: OC\Files\View->mkdir('files_trashbin/...')
    /var/www/html/apps/files_trashbin/lib/Trashbin.php - line 213: OCA\Files_Trashbin\Trashbin setUpTrash('fankhauserj')
    /var/www/html/apps/files_trashbin/lib/Storage.php - line 161: OCA\Files_Trashbin\Trashbin move2trash('Mappe1.xlsx')
    /var/www/html/apps/files_trashbin/lib/Storage.php - line 96: OCA\Files_Trashbin\Storage->doDelete('files/Mappe1.xl...', 'unlink')
    /var/www/html/lib/private/Files/View.php - line 1124: OCA\Files_Trashbin\Storage->unlink('files/Mappe1.xl...')
    /var/www/html/lib/private/Files/View.php - line 695: OC\Files\View->basicOperation('unlink', '/Mappe1.xlsx', Array)
    /var/www/html/apps/dav/lib/Connector/Sabre/File.php - line 334: OC\Files\View->unlink('/Mappe1.xlsx')
    /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php - line 179: OCA\DAV\Connector\Sabre\File->delete()
    /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 287: Sabre\DAV\Tree->delete('Mappe1.xlsx')
    [internal function] Sabre\DAV\CorePlugin->httpDelete(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
    /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method DELETE', Array)
    /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    /var/www/html/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
    /var/www/html/remote.php - line 165: require_once('/var/www/html/a...')
    {main}

my config.php:

<?php
$CONFIG = array (
  'instanceid' => '****',
  'passwordsalt' => '****',
  'secret' => '****',
  'trusted_domains' =>
  array (
    0 => '****.net',
  ),
  'datadirectory' => '/media/nextcloud',
  'overwrite.cli.url' => 'http://****.net',
  'dbtype' => 'mysql',
  'version' => '11.0.2.7',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextclouduser',
  'dbpassword' => '****',
  'logtimezone' => 'UTC',
  'installed' => true,
  'skeletondirectory' => '/media/new_owncloud_user_files',
  'enable_previews' => false,
  'default_language' => 'en_US',
  'knowledgebaseenabled' => false,
  'enable_avatars' => false,
  'session_lifetime' => 900,
  'remember_login_cookie_lifetime' => 0,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'Wolke',
  'mail_domain' => '****.de',
  'mail_smtphost' => '192.168.1.*',
  'mail_smtpport' => '25',
  'auth.bruteforce.protection.enabled' => true,
  'has_internet_connection' => true,
  'check_for_working_webdav' => true,
  'log_type' => 'owncloud',
  'logfile' => 'nextcloud.log',
  'loglevel' => '3',
  'logdateformat' => 'F d, Y H:i:s',
);