nextcloud / nextcloud/groupfolders

Files and subfolders disapeared after update to 20.1.10

Open
#4,397 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

like https://github.com/nextcloud/groupfolders/issues/4299 , the groupd folder have disappeared after upgrade.
i notice that FolderManager::getAllFolders() list all folder, but FolderManager::getAllFoldersWithSize() have an empty return.

Steps to reproduce
  1. NC 32, upgrade from 20.1.8 to 20.1.10
  2. folders are not visible in ui, admin-ui and cli, but still in database (oc_group_folders table) and filesystem (__groupfolders/...)
Expected behaviour

retrieve folders in the ui and cli.

Actual behaviour

Tell us what happens instead

Server configuration

Operating system: deb12

Web server: apache2

Database: mariadb

PHP version: php8.2

Nextcloud version: (see Nextcloud admin page) 32.0.5

Team folders version: 20.1.10

Updated from an older Nextcloud/ownCloud or fresh install: updated

Where did you install Nextcloud from:

Are you using external storage, if yes which one: local/s3/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...

Client configuration

Browser: any

Operating system: any

Logs
Web server error log
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with FolderManager::getAllFolders() and FolderManager::getAllFoldersWithSize(), then compare their results against the oc_group_folders table and __groupfolders/... filesystem after the 20.1.8 to 20.1.10 upgrade. No test file is named; done means existing folders are retrieved and visible in the UI, admin UI, and CLI without losing database or filesystem data.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, php
Domain
backend, cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.