in oc_share: for these 'id': 82 84 86 91 184 185 186 changed 'uid_owner' and 'uid_initiator' to "boni" for these 'id': 190 205 219 220 221 changed 'uid_owner' and 'uid_initiator' to "boutil" copied content of /var/local/stuffcloud-data/boni/gallery/29827636-6ca4-1032-90bf-157529423ee4 into /var/local/stuffcloud-data/boni/gallery/boni/ with a pre-backup of target into '/root/stuffcloud_gallery_boni_boni' (some files/dirs were only on one side and sometimes on both) and moved dir aside as '/root/stuffcloud_gallery_boni_uuid' nothing to be done for 643f834c-79bd-1032-884a-6141827ed31c ./occ files:scan --all … Starting scan for user 11 out of 89 (boni) PHP Fatal error: Call to a member function getCache() on null in /srv/www/sites/milkypond/stuff.milkypond.org/nextcloud-11.0.2/apps/files_sharing/lib/Cache.php on line 73 (for boni) in oc_filecache, changed 'storage' from 7 to 18 and remove 7 from oc_filecache and oc_storages -> duplicates UPDATE `oc_filecache` as fc1 SET fc1.storage=18 WHERE fc1.storage=7 AND fc1.path_hash NOT IN (select res.path_hash from (select fc2.path_hash FROM oc_filecache as fc2 WHERE fc2.storage=18) as res) => 1 row affected update oc_mounts accordingly (for boutil) same problem with 9->13 (for pilou) same problem with 48->10 cannot find user but related to boni family, could not find files on fs pilou said it is his removed a few unused storages # ~1h30 ./occ files:scan --all ./occ files:cleanup