Support intro
Sorry to hear you’re facing problems. 
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:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(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?