-
-
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
Autoupload of images does not work when SD card is selected as the download destination of photos by camera app #496
Comments
Side note I forgot to mention: Autoupload works as expected on my device with a different camera app which has internal storage selected to save photos. |
Hi @elpraga |
@elpraga you mean "InstantUpload" as you are using Android 6? |
@tobiasKaminsky yes, I do indeed. Sorry for the mismatch. @AndyScherzinger how can I get what you ask me for from the 1.4.0? I apologize for my ignorance... Happy new year to both of you! |
Hi @elpraga, you probably can't since the stable doesn't have logging enabled, just the beta has :( Else you would have to connect your device via USB + adb to Android Studio (dev environment) and there check the devices logging in the log cat console within Android studio. My guess is that the stock camera, when writing to an external-sd-card storage won't send a broadcast, but I am not sure. |
Same behavior with Nextcloud app 1.4.1 RC1. |
@OlivierS1 which device model do you have? |
Android version: Stock or customized system: |
It seems to be working now on my phone. I'm not sure what the issue was exactly, but my phone might have been killing NextCloud app in the background. In any case, I'm not able to reproduce the error. It's working now. I'll post updates if I have new info. I'll leave this issue open for @OlivierS1 |
@OlivierS1 @elpraga is this working with the newest beta? https://github.com/nextcloud/android/raw/beta/apks/latest.apk |
@mario Although I did not use the link you provided, I believe that I am using the same version, because I updated to the latest version using the app. Beta20170213 still creates the tmp file in the main storage and downloads fail. It is not working yet. |
@elpraga thanks. Gonna investigate right away mate :) |
Thanks for the swift answer and your help pal! 😉 |
I just tried this and it works :-/ Will be hard to debug... |
Can you please clarify "downloads fail"? What downloads? Do you mean uploads? |
Wow. And where is the tmp file created? On the SD card or in the main storage? How can I help to debug? |
Hehe, yes I do have SD card selected as the storage. Can you screenshot your storage settings? I'd have to check where the tmp file is created. |
No. I mean downloads. Uploads work fine for me, even automatic photo uploads. The problem is when I try to download a file. The app creates a tmp file in the main storage (the official app doesn't, it creates the tmp file on the SD card). The file gets downloaded to the tmp folder correctly, but the app fails to copy it to its final destination, and an error stating download failed appears. Did this help @mario ? |
Ok, so this is a wholeeee separate issue :D Can you open a new issue, and copy/paste the error logs if you have them? :) |
I'm so sorry! My bad! I have already opened an issue for it a month ago: Beta20161224: files don't get downloaded properly when SD card storage is selected, and you said you'd have a look at it. As you mentioned my name, I thought were referring to that issue. I'm really sorry 👼 |
No worries, it's just complicated to track everything :D |
@elpraga is it wroking now for you? |
Yes. It's working now. I have totally forgotten about this issue. Closing. |
Actual behaviour
Select SD card as your storage in your camera app.
Photos don't get auto uploaded.
Expected behaviour
Photos should get auto uploaded.
Steps to reproduce
Environment data
Android version:
6.0
Device model:
Huawei Y6II
Stock or customized system:
Nextcloud app version:
1.4.0
Nextcloud server version:
NC 11.0.0
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: