NC Version: 28.0.9
OS: Ubuntu 24.04.1 LTS
PHP Version: 8.3.6
Web server: Apache 2.4.58
Setup: LDAP for user authorization,
PhpMyAdmin for DB administration
Issue:
After migrating my Nextcloud instance, extended permissions (ACLs) for main group folders and subfolders are no longer visible or active. Individual permissions for users are not applied, even though the ACL data exists in the database (oc_groupfolders_acl table).
Manual Workaround:
Create a new ACL for any main group folder via the admin interface for a user (e.g., user123).
Find user123’s UID in the oc_accounts table and match it to ACL entries in oc_groupfolders_acl (use mapping_id when mapping_type is “user”).
In oc_filecache, locate the subfolder path with the new ACL and find the old and newly created ACLs.
Copy the fileid of the new ACL from oc_filecache.
Update the oc_groupfolders_acl table for the affected folder, replacing the old fileid with the new one.
This restores visibility of old permissions as long as they use the new fileid.
Problem:
Why is this happening, and how can I resolve it without manually fixing ~100 group folders with 1000+ permissions? There are no errors in the Nextcloud logs.
Thank you!