-
-
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
Auto-uploading pictures fails sometimes #85
Comments
Are you suspending the app or swiping it out of the recent app list? |
No. The app also is not kicked out by lmk when this happens |
Also happens on a stable Wlan connection. |
Can you try it with the demo server? demo.owncloud.org user/pass: test? |
Was that of any help? I just saw that only fatal issues are logged on the demo server. |
That is a full log of uploading a file and failing. Please pay attention to the 404 which I did not have in the OP (maybe I simply did not see it).
|
@aronovgj does this also happen with the current stable version 1.0.1? Just asking to see if this is a blocker for the release. cc @MorrisJobke just to check if this could be server related. |
Totally weird. So I uninstalled the RC and installed the stable but I couldn't reproduce the issue. Then I reinstalled the RC again and I'm still getting this:
But the uploads are not failing anymore. I took like a hundred pictures and it didn't fail even once while before it happened about every second or third time. I'll report back if the issue returns... |
Weird... @aronovgj should we close the issue then for now? The 404 could maybe, not sure, who knows be a database problem/hiccup since RC2 you can wipe the app's database (Android settings->Apps->Nextcloud->Manage...) which might help but will also remove any account etc. configured within the app. |
Yes, let's close this for now |
It happens again. Now only 400 errors. on 1.1.0 |
I'm having this issue with 1.3.0 RC2 (play store beta). I cannot provide you with server log since it's hosted by a third party. A client log would be helpful but seems not to be implemented. |
@bong0 the client log is only activated in the beta app which can be installed in parallel and should give you a client. Would you mind trying to reproduce this issue with the beta app? That would help us a lot :) Thanks in advance! |
@AndyScherzinger I have the beta app installed but there is no note given in it where I should find that log. |
the log is at the bottom in the settings screen :) |
@bong0 my mistake sorry, should have posted the link... the "real" beta is only available on f-droid... https://f-droid.org/repository/browse/?fdfilter=com.nextcloud&fdid=com.nextcloud.android.beta and is rather for testing purposes but has a log for that matter :) |
@AndyScherzinger this confusion should be definitely removed. |
@bong0 that is a tricky one I must say since:
The beta isn't promoted (too much) by us, so that there is always a critical mass to test drive the beta and provide us with feedback but still treats it as a beta/testing application so most communication is done via the discourse forum and the issue tracker. While the release candidates (the one you have been using before) is distributed via Google Play and is used to give people the change to test a feature complete release in their own/custom environment before we publish it for the larger community of users. The differences are described in the documentation: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md |
the same error happens to me ... nc 10 stable and android client beta via google play |
Same here NC 10 stable, but the regular playstore version (not beta) Wiped Cache -> Nothing Upload via share from gallary -> working fine
|
Are you guys having this problem by any chance using a repeater? And if so, is this a fritzbox repeater? |
@aronovgj No |
@aronovgj I don't use a repeater and have no access to any. And the upload error also appears in the fdroid beta for me. I still cannot provide you with a log since the app did not generate any (it's empty) I discovered another bug though when trying to send the empty log via the share intent in nextcloud (attached) |
I also have this bug, auto-upload gives me "Unknown error" on upload (not always, but often). Uploading files manually is working fine. In my server log, there are lines like these: Even if I try to restart the upload, it's not working. Latest android client version from the Play Store and the lates NC version. There's no difference between WiFi or LTE (Vodafone, Germany). |
same problem too ... I'm using mac client Version 2.2.4 (build 1) |
@cestmoimeme mac client is handled in https://github.com/nextcloud/client_theming/issues cc @LukasReschke |
ok, thnak you, and sorry :) |
@cestmoimeme no worries, everything is fine! There is an issue present and youo took the time to report it, so thank you for taking the time! :) |
i had the same issue with instantupload in until i did the following:
its workibg like a charm again.. i knew it wasnt a server issue cz i have other users on this server. phone is android marshmallow with device encryption turned on. hope this helps someone out there. will report here again if problem comes back. |
I have an idea why that happens. As I mentioned, I have a oneplus 3. The camera takes a raw picture and what I think happens then is that this picture is saved to the picture directory, post-processed and replaced. So the app tries to upload the picture which is replaced by a new one in the middle of the upload. That's why it fails. I think. For some reason though, I can not re-upload the picture if it failed once. It only happens with the stock app. With other apps it works well but those don't do post-processing. At least not the way the stock app does it. |
Would probably help if someone with this issue tried to reproduce it with snap camera as I don't have those issues using that app and it does not do post processing afaik. (not a solution for me because the quality is worse) |
I updated to OOS 4.0 (Nougat) and the issue seems to have disappeared. |
I've been having the same issues. Sometimes the auto-upload succeeds (rarely), typically it fails with logs like in the previous messages. For photos that failed upload, I also experience that sometimes a retry does work and sometimes it doesn't. I see similar behavior when I try to share the photo with the Nextcloud app directly from the Gallery. |
I suspect that this is not connected to Nougat but to changes done to the camera firmware by Oneplus. |
In our latest beta app @mario did real great enhancements to the autoupload. |
Seems to be obsolete now. |
Actual behaviour
Expected behaviour
Pictures should upload without problems
Steps to reproduce
Happens sometimes. Couldn't see regularities. Sometimes it manages to upload everything
Environment data
Android version:
OxygenOS 3.1.2
Device model:
Oneplus 3
Stock or customized system:
stock,rooted/unlocked bootloader
Nextcloud app version:
1.1.0 RC
Nextcloud server version:
9.0.51
Logs
Nextcloud log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: