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

Bug: Freezes up on Uploading #28

Closed
c0fe opened this issue Jun 15, 2016 · 18 comments
Closed

Bug: Freezes up on Uploading #28

c0fe opened this issue Jun 15, 2016 · 18 comments
Labels

Comments

@c0fe
Copy link

c0fe commented Jun 15, 2016

Server: OwnCloud 9.0.2
App: NextCloud
Server Host: HostGator

At random the files would not be uploading, or some do upload while the status shows 0% uploading.

This occurs on a Google Nexus 6P with all updates installed.

@tobiasKaminsky
Copy link
Member

Unfortunately this is too unspecific to fix this problem.
Can you try to find the reason? Similar file type? Slow internet? Wlan? Mobile?

@tobiasKaminsky tobiasKaminsky added bug needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Jun 15, 2016
@c0fe
Copy link
Author

c0fe commented Jun 15, 2016

Wireless, as I said Google Nexus phone. No wireless interference. And fast internet with 100mbps down and 12 mbps up. Doesn't matter file type. Can be XML or can be jpg

@tobiasKaminsky
Copy link
Member

hmm...IPv4 or 6?
Can you try it with "official" demo server of owncloud: demo.owncloud.org?

@c0fe
Copy link
Author

c0fe commented Jun 17, 2016

Both, IPv4 and IPv6 I have used various wireless networks.

Is the login credentials, user: test password: test ?

@tobiasKaminsky
Copy link
Member

Is the login credentials, user: test password: test ?

yes

@c0fe
Copy link
Author

c0fe commented Jun 17, 2016

Attempted, frozen up on the 9th photo that was being uploaded.

I tried reuploading the total of 14 photos a second time and it all went through fine.

@c0fe
Copy link
Author

c0fe commented Jun 18, 2016

I believe I have solved the bug. What occurs is this. I didn't notice this because my previous phone was a Samsung Galaxy S3. But anyways, the files will upload apparently with no issue as long as the application is still visible in the recent pages section. On Google Nexus 6P there is a tab where it shows all the recent applications visited which also apparently means they are running in memory and their tasks are tied to that. If you swipe out Nextcloud, the uploading just freezes.

I am not sure if this is a bug, misunderstanding or if it can be improved where the files selected to upload would continue to upload after the app is swiped off from the recents or if a dialog message warning can pop up.

@tobiasKaminsky
Copy link
Member

I doubt that we can do something on this.
But I will investigate further.

@c0fe
Copy link
Author

c0fe commented Jun 21, 2016

I am curious if it be setup to operate like automatic backup does, at least I haven't noticed NextCloud app window when auto upload is enabled.

@tobiasKaminsky
Copy link
Member

What do you mean? Normally this should be a background task that is started by the app.
There is no need to see an window when uploading, though you see an upload notification.

Do you have any task manager/battery optimizer/whatever running? Or maybe your phone has something build in...?

@thorian93
Copy link

Could it be an issue on how the app handles the upload?
Is it just one mechanism that manages automatic uploads and manual uploads?
Because @c0fe eliminated the server component as the problem because both his and the owncloud demo server won't work properly. Connectivity seems not the problem either because his wireless connections seems fine.

I recall having basically the same issue with an owncloud app about a year ago. But I can't tell what exactly caused the issue. Also I am not sure whether it has been fixed later because I use owncloud and will use nextcloud soon only for calendar and contacts and not for file upload.

Maybe investigating in the owncloud app and her former issues can help here.

@c0fe
Copy link
Author

c0fe commented Jun 23, 2016

@thorian93 @tobiasKaminsky https://www.dropbox.com/s/pu5ncyxmncc9pud/Screenshot_20160623-110622.png?dl=0

This is the screenshot of my phone's recent tab. You can see Chrome and Nextcloud App in it. If I swipe left, the tab would be closed. What this does with the app itself I am not sure, if it shuts it down entirely or just removes the tab. But that being said once i swipe it away the uploading ceases.

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Jun 23, 2016

@c0fe that is kind of a works as designed at the moment. When you swipe the app away you basically terminate it and with it the uploading. Right now the app doesn't do any auto-resume during the next startup but expects the user to open the upload screen via the top left menu and hitting the resume (top right menu)

@c0fe
Copy link
Author

c0fe commented Jun 23, 2016

@AndyScherzinger yeah i was thinking that might be it but wasn't sure since my other phone didn't do this. I thought that the uploading would be a background process separate from the app itself. So once it was concluded it would just shut down on its own.

@AndyScherzinger
Copy link
Member

Unfortunately I think it is something in between. @tobiasKaminsky One thing that doesn't fix this but would at least add some more automation would be that when the app starts and uploads weren't successful that the app in case of connectivity simply restarts the uploads. What do you think? cc @przybylski

@thorian93
Copy link

I just made a few steps into android app development yet, but wouldn't a background service for uploads be best? Because as a user I would assume, that a upload I trigger goes through, no matter what.

@AndyScherzinger
Copy link
Member

Yes that would be best but we would still have to implement a restart resume mechanism due to the Android N doze function which terminates your app so the app needs to handle doze.

@AndyScherzinger
Copy link
Member

Closing since this will be covered by #285

@AndyScherzinger AndyScherzinger removed the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants