-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Android Client Auto Upload fails to create new subdirectories. #14465
Comments
Note, this looks like #3484 in many ways, but given the issue has been closed, this is either a regression of the original bug, or a new form of the same bug. |
I was observing similar issues with auto upload, signing out and back in with the app resolved them. 🤷 |
Unfortunately Hetzner won't send me server logs. I'm trying to figure out how to use |
This is as close as I've been able to get for grabbing the logs off from my device for this bug report.
I can see my device listed but it's always "offline". Running
Apologias for this turning into more of a "how do I get the logs off my phone" thread, but I really do want to help resolve this issue since when I start rolling out Nextcloud for my family I want to know that it's going to be getting more reliable. |
Steps to reproduce
In the Android Nexcloud app
Settings > Auto upload > hamburger button upper right > Set up a custom folder
.Local folder
option to/storage/emulated/0
Remote folder
option toInstantUpload
Only upload on unmetered Wi-Fi
totrue
Only upload when charging
tofalse
to
true`Use subfolders: Store in subfolders based on date
tofalse
Exclude hidden
tofalse
What to do if the file already exists?
toAsk me every time
Save
Expected behaviour
I expect that all files and folders in the tree of folders starting at
/storage/emulated/0/
be uploaded to Nextcloud with the same folder structure.Actual behaviour
Observe that the app will successfully sync files and folders located in
/storage/emulated/0
and also files stored in directories of/storage/emulated/0/*/
Observe that the app will fail to sync files and folders located in
/storage/emulated/0/*/*/
, i.e. any second-order or deeper sub-directory of/storage/emulated/0/
(the directory configured in the custom folder settings described above). The notification will will show the errorUpload failed File not found
.Navigating to
hamburger button upper left > uploads
and scrolling toFailed/pending restart
will show a bunch of files with the messageFolder error
. All of the files are located in second-order sub-directories of the custom directory configured (/storage/emulated/0/
)Android version
12, Build SP1A.210812.016.C2
Device brand and model
Google Pixel 3
Stock or custom OS?
Stock
Nextcloud android app version
3.30.8
Nextcloud server version
Nextcloud Hub 8 (29.0.9)
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
Additional information
There does not exist the folder
storage/emulated/0/data/
when looking through the internal storage of my phone. My phone is not rooted so I can't uselogcat
to obtain logs. As such, I can't provide logs unless there's further instruction on how I might be able to do so.The text was updated successfully, but these errors were encountered: