Multiple sharing of the same folder creates multiple folders

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 18.0.2):
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing: When folders are shared to me, they usually appear in my Files overview as new folders. When re-sharing is allowed and somebody shares subfolders from an already shared folder, then this subfolder appears for me at top level. For me this feels like the data appears a second time. If this is by design, I would recommend to reconsider it as it would be easy to figure out that this folder is already shared. If not, I would recommend to fix it.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Share a folder to somebody
  2. Share a subfolder to the same person
  3. Check the file list of this person. You will see the main folder and the subfolder both on top level.

The output of your Nextcloud log in Admin > Logging:

I am just a user, not admin

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

I am just a user, not admin

The output of your Apache/nginx/system log in /var/log/____:

I am just a user, not admin