nextcloud / nextcloud/groupfolders
Files and subfolders disapeared after update to 20.1.10
Nobody has claimed this yet.
- 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
- NC 32, upgrade from 20.1.8 to 20.1.10
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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