Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto upload can't recreate subfolders deleted by other client #13994

Open
4 tasks done
dataprolet opened this issue Nov 11, 2024 · 1 comment
Open
4 tasks done

Auto upload can't recreate subfolders deleted by other client #13994

dataprolet opened this issue Nov 11, 2024 · 1 comment

Comments

@dataprolet
Copy link

dataprolet commented Nov 11, 2024

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Create auto upload using subfolders and upload anything
  2. Delete subfolders from another client
  3. Auto upload fails with "File not found"

Manually creating the subfolders e. g. "./2024/11" results in auto upload working again on the next try.

Expected behaviour

Auto upload should check, if the necessary subfolders are present and create them if not.

Actual behaviour

Auto upload can't find the previously created subfolders and fails with a misleading error message.

Android version

15

Device brand and model

Google Pixel 7a

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.30.4

Nextcloud server version

30.0.0.14

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

Android version: GrapheneOS (Android 15) Build 2024110700

I can't access the Android clients log, because on GrapheneOS I have no access to the system's filesystem.

The Nextcloud server log does not contain any relevant error (only the current Driver exception bug [nextcloud/all-in-one/discussions/5277] and failed login attempts).

I suspect that the Android client is not refreshing the auto upload directory correctly, because when I recreate the subfolders I saw some files for a split second, then the client syncs and the subfolder is empty as it should be.

I'm using storage scopes and only allow the app access to the folders it should auto upload from.

@dataprolet
Copy link
Author

Related and possible duplicate of #12400.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant