Team folder is empty on the web

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.8
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04
  • PHP version (e.g, 8.3):
    • 8.2
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes

I updated to Nextcloud 31 a few days ago, and since then I have had the problem that in one team folder (all others work fine)

the folders/files are not displayed on the web. The files/folders are present on the server.

I then created a new team folder as a test and copied all the files there:

sudo cp -a /path/__groupfolders/6/. /path/__groupfolders/17/

sudo -u www-data php /path/occ groupfolders:scan 17

I can open the folders/files in the new folder on the web without any problems and they are displayed. What I find strange is that the main menu on the web shows me that the team folder with ID 6 only has 54.4MB (if I click on it, it is empty) and ID 17 has 6.4GB.

I don’t want to simply replace the two team folders because there are of course many shares in ID 6.

What could be the problem here?

Which version of team folders are you running? There was shortly a problematic version available that could cause such issues.

Please see this patch fix: more reliably determine root storage id in migration by icewind1991 · Pull Request #3978 · nextcloud/groupfolders · GitHub and linked issue. If the patch works for you, would be great if you can report back.

We are running the latest version - 19.1.4 - of the Team folders app.

Additional information:
1-2 weeks before the update, we enabled Federated Cloud Sharing, and there is a folder in the team folder where this is stored.

And the command sudo -u www-data php /path/occ groupfolders:scan 6 returns the correct output.

It’s not about the latest version, it’s about applying the linked patch :slight_smile:

Although I just noticed that the migration might not run without a version change, so only applying might not work

Is there a way for me to downgrade the Team Folders app to 19.1.3, or can I only wait for an update?