[Bug]: Missing shared files/directory in shared folder
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
We have updated our Nexcloud serveur to version 24.0.7 from 24.0.5. This update seems to broke share folder with the web client. We cannot see any shared file/folder in shared folder. We have custom shared_folder from many years in config.php : /Partagés (French name)
See attachements for context
Tests with have made :
- Shared files/folders are present in the view "Shared with you". Click on it redirect to root folder.
- Using link /index.php/apps/files?dir=/Partag%C3%A9s/CFVE redirect to root folder too
- Ios & Android App can brown shared folder and works as expected
- NC Desktop client also shown shared folder with shared file/directory
- Database contains coherent data
- Redis was purged,
- All www apache service was rebooted

Steps to reproduce
- Update to Nexcloud server to version 24.0.7 from 24.0.5.
- See shared folder in web view, no shared files or folders
- Shared folders and files are listed in "Shared with you"
Expected behavior
See and access shared files or folders from web view
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [ ] Default user-backend (database)
- [X] LDAP/ Active Directory
- [X] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"share_folder": "\/Partag\u00e9s",
"integrity.check.disabled": false,
"dbtype": "mysql",
"version": "24.0.7.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"default_language": "fr",
"default_phone_region": "FR",
"force_language": "fr",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"forcessl": true,
"logtimezone": "Europe\/Paris",
"log_type": "file",
"logfile": "\/var\/www\/nc_data\/nextcloud.log",
"loglevel": 0,
"logdateformat": "F d, Y H:i:s",
"log_rotate_size": 104857600,
"log_authfailip": true,
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"share_folder": "\/Partag\u00e9s",
"integrity.check.disabled": false,
"dbtype": "mysql",
"version": "24.0.7.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"default_language": "fr",
"default_phone_region": "FR",
"force_language": "fr",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"forcessl": true,
"logtimezone": "Europe\/Paris",
"log_type": "file",
"logfile": "\/var\/www\/nc_data\/nextcloud.log",
"loglevel": 0,
"logdateformat": "F d, Y H:i:s",
"log_rotate_size": 104857600,
"log_authfailip": true,
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"secret": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": "auto",
"activity_expire_days": 14,
"appstore.experimental.enabled": true,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"updater.release.channel": "stable",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": ***REMOVED SENSITIVE VALUE***,
"dbindex": 0,
"timeout": 1.5
},
"mysql.utf8mb4": true,
"mail_sendmailmode": "smtp",
"sharing.minSearchStringLength": 1
}
}",
"theme": "",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"secret": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": "auto",
"activity_expire_days": 14,
"appstore.experimental.enabled": true,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"updater.release.channel": "stable",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": ***REMOVED SENSITIVE VALUE***,
"dbindex": 0,
"timeout": 1.5
},
"mysql.utf8mb4": true,
"mail_sendmailmode": "smtp",
"sharing.minSearchStringLength": 1
}
}
List of activated Apps
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- announcementcenter: 6.3.1
- bbb: 2.3.1
- bruteforcesettings: 2.4.0
- cloud_federation_api: 1.7.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- federatedfilesharing: 1.14.0
- files: 1.19.0
- files_external: 1.16.1
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- forms: 2.5.1
- groupfolders: 12.0.2
- impersonate: 1.11.0
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- nextcloud_announcements: 1.13.0
- notes: 4.5.1
- notifications: 2.12.1
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- ransomware_protection: 1.14.0
- recommendations: 1.3.0
- richdocuments: 6.3.1
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- spreed: 14.0.6
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_ldap: 1.14.1
- user_saml: 5.0.3
- user_status: 1.4.0
- viewer: 1.8.0
- weather_status: 1.4.0
- welcome: 1.0.2
- workflowengine: 2.6.0
Disabled:
- admin_audit
- circles: 0.19.11
- comments: 1.5.0
- deck: 1.7.2
- drawio: 1.0.3
- encryption
- federation: 1.5.0
- files_accesscontrol: 1.14.1
- files_fulltextsearch: 24.0.1
- files_markdown: 2.3.6
- files_mindmap: 0.0.26
- files_trackdownloads: 1.11.0
- fulltextsearch: 24.0.0
- fulltextsearch_elasticsearch: 24.0.1
- sharelisting: 1.1.1
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
No response
Additional info
No response
I have the same issue, also after updating to 24.0.7 from an older 24.0.x version. I also see the shared files under shareoverview but I cannot access them there.
Edit: I wrote here two days ago , that this only affects user_ldap users. That is NOT true but was a pure coincidence! The Problem affects seemingly (I'm surte there's a pattern waiting to be found) random users who are on the receiving end of files being shared with them.
Edit2: This same problem also affects 25.0.1 for me.
After the update to 24.0.7 I can’t see the files and folders in my “shared folder” anymore. They are still visible and accessible in the Android app and my desktop app in Windows. So the files and the database seems to be intact.
Edit: Maybe this bug is related to this commit: https://github.com/nextcloud/server/commit/f16367a26a67cd27596575a0c46c29295cfd9bb1
Edit2: Could it be a problem with german umlauts in group names? --> That's not the case - some users in the group with umlauts still have access, some not. I'm still searching for a recognizable scheme...
we have the same problem on our test instance, where we updated from 24.0.6 to 24.0.7, "Shared" folder is empty, when i go to "Shared with you" and click on something, i land in root.
Same with us. All shares gone suddenly.
The folder defined by shared_folder is empty - but in the left pane under "Shared With You" they are still visible. But when any share is clicked, the user gets redirected to the root folder.
What helped was to delete the shared_folder - prefix from each share inside the database column containing the file names. Now the shares are back (phew) but of course they are all inside every users root folder.
Moving any share back to the folder set by "shared_folder" inside config makes this share inaccessible. Moving it to another folder works.
Edit: upgrading to 25.0.1 does not solve the problem
Same problem here since upgrade to 24.0.7. Is anyone from nextcloud team aware of this problem ?
same here (upgrade to NC 24.0.7)
similar issue: we only use groupfolders and files view is just blank after update to 24.0.7
edit: upgrade to 25.0.1 fixed this issue for me
same problem here. Update via Nextcloud AIO to 24.0.7 and some users no longer have access to DECK attachments and also files shared in TALK. They are also no longer displayed. Other users have no problems and can access all.
I can exclude admin and standard users. Even the NC Admin can no longer use any shares.
cc @PVince81 @icewind1991
share_folder
Do all of you have this value configured in your config.php?
me yes with 'share_folder' => '/Shared',
share_folderDo all of you have this value configured in your config.php?
Yes we do
share_folderDo all of you have this value configured in your config.php?
Yes, 'share_folder' => '/Geteilt',
Hello, also issue with my installation: Same problem here since upgrading to 24.0.7. Regards,
I also have the same issue since upgrading to 24.0.7. The 'share_folder' value is set on my installation: 'share_folder' => 'TAUSCHORDNER',
Same here (25.0.1, config.php: 'share_folder' => '/Freigaben', folders with and without Umlauts)
the storage / mounts code got reworked in NC 24, however if no one had this issue in NC 24.0.1 then it's a recent addition
it should be possible to git bisect to find the breaking commit
Hi everyone, if you know how to apply a patch, can you try out if https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/35155.patch makes it work again? Please don't forget to create a backup before applying the patch!
Please note that the same bug is present in 25.0.1
Hi everyone, if you know how to apply a patch, can you try out if https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/35155.patch makes it work again? Please don't forget to create a backup before applying the patch!