Single user-client shows internal server error, other clients/users are fine (Parent of share should be unique)

Read something about multiple entries in db

./occ files:scan ####USERID###
Exception during scan: Parent of share should be unique
tried
https://github.com/owncloud/core/issues/24914 - comment PVince81

Steps to reproduce

  1. every time user-x logs in, gets internal server error, user-y has no problems

Expected behaviour

Expected a file list

Actual behaviour

shows blank page no error.
cleared browser cache, changed browser, used other machine, didnt help

Server configuration

centos 7

Web server:
apache httpd-2.4.6

Database:
mariadb 5.5.56

PHP version:
php 7.0

ownCloud version: (see ownCloud admin page)
10.0.3 stable

Updated from an older ownCloud or fresh install:
updated from older version

Where did you install ownCloud from:
Vendor : obs://s2.owncloud.com/ce
URL : http://www.owncloud.org

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.


occ entry we cant explain
other additional files are due to fooling around with themes/images

The content of config/config.php:

<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxxxxx',
'datadirectory' => '/var/data/owncloud/data',
'dbtype' => 'mysql',
'dbhost' => 'localhost',
'dbuser' => 'owncloud',
'dbname' => 'owncloud',
'dbpassword' => 'xxxxxxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'drive.xxxxxxxxxxxxxxx.com',
1 => 'xxxxxxxxxxxxxxx.home',
),
'overwrite.cli.url' => 'https://drive.xxxxxxxxxxxx.com',
'version' => '10.0.3.3',
'dbtableprefix' => 'oc_',
'logtimezone' => 'UTC',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'updatechecker' => false,
'theme' => '',
'loglevel' => 1,
'maintenance' => false,
);

List of activated apps:
Enabled:
- activity: 2.3.6
- calendar: 1.5.4
- comments: 0.3.0
- configreport: 0.1.1
- dav: 0.3.0
- federatedfilesharing: 0.3.1
- federation: 0.1.0
- files: 1.5.1
- files_external: 0.7.1
- files_pdfviewer: 0.8.2
- files_sharing: 0.10.1
- files_texteditor: 2.2.1
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 16.0.2
- market: 0.2.2
- notifications: 0.3.1
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.1
- updatenotification: 0.2.1
- user_ldap: 0.9.1
Disabled:
- bookmarks
- contacts
- documents
- encryption
- external
- files_antivirus
- theme-example
- user_external

Are you using external storage, if yes which one: local/smb/sftp/...
local on a glustermount

Are you using encryption: yes/no
no

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

LDAP configuration (delete this part if not used)

ldap works for all users

Client configuration

Browser:
edge/firefox/chromium

Operating system:
windows/linux

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

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

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

What is the difference between the user in question and the other users?

How does he access owncloud?

Can you see errors in the owncloud.log file when the user accesses owncloud?

same as all other users
access via client and webbrowsers
log shows nothing

./occ files:scan ###user-hash#####
Exception during scan: Parent of share should be unique

Did you try the occ files:clean command?

Do you have external storage and how are they mounted?

I think you can try this fix

thanks

going to try occ files:clean first
let them check if this works for them first

Your suggestion fixed my problem!
Thanks

Glad I could help you out :slight_smile: