Conversation
The asynchronous amphp file library may in certain setups spawn multiple processes to avoid blocking file I/O. This is unsupported in some hosting environments. Starting with VaaS SDK 11.1.0 we can provide a custom amphp driver for file I/O during upload (to override the default amphp driver selection). Forcefully select the blocking implementation, which never uses multiple processes.
…wareAG/nextcloud-gdata-antivirus into DECO-2040-upgrade-nextcloud-33
…oud-33 DECO-2040: Upgrading nextcloud dependency to version 33
Group folders use global/shared mounts that are not stored in the `IUserMountCache`**, which only tracks per-user home directory mounts. Because `getMountsForFileId` returns an empty array for group folder files, the loop body never executes and `NotFoundException` is thrown immediately. The fix adds a fallback to `IRootFolder::getById()` after the user-mount-cache loop fails. `IRootFolder` has visibility into all storages — including group folder storages — and will resolve the file correctly even when `IUserMountCache` has no entries for it. **Why group folders don't appear in `IUserMountCache`:** The user mount cache is populated when a user logs in and their personal mounts are registered. Group folder mounts are registered as global (app-level) mounts by the `groupfolders` app and are not per-user cache entries, so `getMountsForFileId` returns nothing for them.
…ground_scan Fix "Groupfolder files are not found by background scan" #289
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.