Open InfamousUser opened 3 years ago
Seems like still an issue...
Wtf?! How can a primary feature of the app be so broken? I also have the bug. It makes the App unuseable! (And by extension, the whole service!) "I'm sorry, but if you've actually decided to back up enough data that it's worth to back up, our app will crash and freeze and you won't be able to use it" genius!
This has been an issue for years, it is nowhere near a priority it seems.
This is surprising because, like @AHermann94 says, Nextcloud is centered around data (backup), so this is one of the fundamental features. I wish Nextcloud would stop adding features.
Having the same issue, and currently there are other open bugs with this exact issue. #9407 or #9757 to refer a few... it can't be so hard to fix, can it? Did anyone (from Nextcloud or not) start to take a look at the code by any chance?
It is still not fixed. Nexcloud app is currently crashing my phone. It's non responding, then after a few minutes the phone crashes and reboots.
Auto upload itself works. It seems it runs into trouble when there is a lot of stuff to upload. After a few dozen crashes everything was uploaded and now running fine.
For you, for me it doesn't even work at all anymore. And when it did work, it never got to the point where everything is uploaded.
Auto upload still works for me. I have several folder set up for auto upload. The thing is, when I open the "auto upload" page (e.g. to add a new folder), the app is stuck with "loading" for a very long time (like 20 Minutes). This is on a not so old Pixel 3A. So maybe this could be an issue of how this page is set up. There's no need to display contents for auto-upload folders in there, simply give me a list of folders to add checkmarks. I don't need to see image previews.
Happens here too.
App is:
This is unacceptable experience for someone wanting to move from a service like Dropbox or Google Photos. How is this issue 2 years old and not solved? I can log into Google Photos or Dropbox on a new account with thousands of photos on the phone and it will just upload. Worry-free, comfortable user experience.
With Nextcloud, it's a constant struggle. Restarting the app, clearing the cache, re-installing the app, re-starting the upload process, enabling/disabling settings hoping that it'll complete at least one round of uploads.
This feature is broken and should at the very least be marked as BETA.
Edit: After 3 days of struggling to complete the initial upload it has:
App uploads+sync conflicts: 833 Files in nextcloud: 990 Photos+videos in selected folders: 973
None of these numbers match. That's ridiculous. I have 0 confidence in this.
@hakong While I do understand your frustration, you should keep the following in mind: If Google (or any of its automated scans) declare your account as suspicious and close it, you're done – good luck contacting them. With self-hosted cloud you keep control, or normally have a responsive admin, if it's a small hoster.
Also, it being that problematic is a recent issue, see here: https://github.com/nextcloud/android/issues/10993
@stoically with nextcloud, if my NAS burns down, nothing happens, because I couldn't f*cking upload anything!
@AHermann94 True. And Google being very thorough in terms of backups doesn't help you if your account is closed.
@stoically yeah, you're right, I shouldn't use google on the off-chance that they decide to ban me for nothing, I should instead use this rock that lies in front of my house for my backup. It's not a storage medium, or electric in any way, but just as useful nextcloud for my phone backup!
edit: also takes up less space on my phoneand causes it to crash less
@AHermann94 A NAS burning down sounds like an off-chance to me as well. In the end one has to weigh up the pro and cons for their personal situation and make a decision. It's obviously totally up to you – tho, I don't understand why we discuss this in the nextcloud android repository.
@stoically are you dense or are you intentionally ignoring the issue here?! NEXTCLOUD IS NOT ABLE TO DO ANYTHING FOR US EXCEPT FOR CRASHING OUR PHONES!!!!
it doesn't do a backup, it doesn't sync our files. It's completely useless. There are no pros and cons. Does that enter your brain? Does this information compute?
@stoically said: Also, it being that problematic is a recent issue, see here: https://github.com/nextcloud/android/issues/10993
It is not recent. I've been trying to backup all my photos and videos (around 10.000) in my Android with the Nextcloud Android app for almost a year and it's still not done as after uploading a few it just hangs and the app keeps on crashing/being automatically killed by Android for being unresponsive.
I've now started to setup the project locally so I can debug it myself....
@AHermann94 No reason to get rude.
@munsuri / @AHermann94 It worked for me for years. I'm sorry if it doesn't work for you at all.
@stoically sorry, but I got rude after you missed obvious sarcasm and whole sentences in several messages and sent us issue references which do not apply to our problem. You also seem to have missed that this thread is two years old and described this as a "new" problem.
@AHermann94 No worries. The issues are related: It was an sporadic issue in the past for me, but it got worse recently. That's what I was trying to say by referencing https://github.com/nextcloud/android/issues/10993.
Btw: Maybe technical issues in source repositories are not the place to get sarcastic. Staying on topic helps generally.
Bottom line is: if I don't have confidence in the app to properly back up / sync one of my most valuable digital posessions (photos+videos), it's completely useless.
I took the time to comment on this thread today because I gave Nextcloud another chance. Every 2, maybe 3 years I think "I really should not be this dependent on Google, let's give Nextcloud another chance" and every time for the past 7+ (I think? I started with Owncloud) or so years I come to the same conclusion: it does not work.
If can't be confident it'll work reliably, forget it.
Repeating this for the 10th or so time. The problem with autoupload existed since it was added, it's been going on for years. Nobody is fixing it. There were finally attempts and some fixes a while ago, but this just resolved some symptoms, the feature as whole doesn't work (for some people) and is unstable.
I "worked around" this issue by frequently killing the app once it did not respond anymore until everything was uploaded. Once that big initial chunk was done everything worked smoothly from that point. Obviously not ideal though.
Not only not ideal, but not a solution at all, just a workaround. Not worth commenting about, this needs to be solved, not found workarounds for by people for years.
I tried to do that but gave up after ~36h and about 1GB of data on the NAS.
Not only not ideal, but not a solution at all, just a workaround. Not worth commenting about, this needs to be solved, not found workarounds for by people for years.
Yep, just a poor workaround. But well, what do you want to do? If an issue report does not get attention after a while people will start to tinker on their own to find solutions and "solutions" :grin:
I tried to do that but gave up after ~36h and about 1GB of data on the NAS.
Hm that is quite low...guess it depends on the phone how badly it works.
I have a thing to say. Nextcloud app completely hangs in a Samsung Galaxy S52 with 6gb of RAM. BUT, I switched to a brand new Samsung Galaxy S22 Ultra with 16gb of RAM and Nextcloud app works awesome. I think its an optimization issue.
I suffer this problem since about a month. It was working finely for years.
I tried many versions of the android app, assuming something changed recently. I also tested by reducing the amount of files on the phone. It still hangs when configuring a simple 7 pictures folder.
The lack of autoupload really decrease the usability and usefullness of the app.
And the issue handling is a mess: app unresponsive, using CPU and eating battery. As if there was a loop or something. Is there any plan regarding this opened 2 years ago?
@yeupou My workaround is pinning to an older version: Deinstall Nextcloud App fully. Now install version 3.22.2 via apk (https://github.com/nextcloud/android/releases/tag/stable-3.22.2), disable auto updating of the app (play store -> manage apps -> open nextcloud app infos -> three dots top right -> untick "enable auto-update" checkbox) and now log into the app and configure auto-uploading accordingly.
Same here:
Exception in thread "Thread-8" java.lang.OutOfMemoryError: Failed to allocate a 160 byte allocation with 1001976 free bytes and 978KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
at com.android.org.conscrypt.NativeCrypto.X509_get_subject_name(Native Method)
at com.android.org.conscrypt.OpenSSLX509Certificate.getSubjectX500Principal(OpenSSLX509Certificate.java:501)
at okhttp3.internal.tls.BasicTrustRootIndex.<init>(BasicTrustRootIndex.kt:28)
at okhttp3.internal.platform.Platform.buildTrustRootIndex(Platform.kt:163)
at okhttp3.internal.platform.Platform.buildCertificateChainCleaner(Platform.kt:160)
at okhttp3.internal.platform.Android10Platform.buildCertificateChainCleaner(Android10Platform.kt:82)
at okhttp3.internal.tls.CertificateChainCleaner$Companion.get(CertificateChainCleaner.kt:42)
at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.kt:870)
at com.nextcloud.common.PlainClient$Companion.createDefaultClient(PlainClient.kt:62)
at com.nextcloud.common.PlainClient$Companion.access$createDefaultClient(PlainClient.kt:47)
at com.nextcloud.common.PlainClient.<init>(PlainClient.kt:45)
at com.nextcloud.client.network.ClientFactoryImpl.createPlainClient(ClientFactoryImpl.java:94)
at com.nextcloud.client.network.ConnectivityServiceImpl.isInternetWalled(ConnectivityServiceImpl.java:79)
at com.owncloud.android.files.services.FileUploader.retryFailedUploads(FileUploader.java:1067)
at com.owncloud.android.utils.FilesSyncHelper.lambda$restartJobsIfNeeded$0(FilesSyncHelper.java:240)
at com.owncloud.android.utils.FilesSyncHelper$$ExternalSyntheticLambda0.run(Unknown Source:10)
at java.lang.Thread.run(Thread.java:920)
com.nextcloud.client
30220290
generic
samsung
beyond2
SM-G975F
SP1A.210812.016
beyond2lteeea
31
12
G975FXXUGHVJ5
For me the app is just completely unusable and often hangs directly after opening it when it is showing the files list. Auto Upload is enabled, a few files are queued for upload but the phone is not plugged in.
After plugging in the phone, the app hangs for ~10 s longer and then magically works.
As mentioned before, killing the app multiple times via Android Settings usually resolves it, but this is not how it should work.
I'm android developer but using a phone with massive amount of Ram like my Samsung Galaxy S22 Ultra (12GB) makes the app works very well. Maybe in this new phone I haven't a lot of photos to sync at this time and the issue not appears. But I tend to think that is an issue related to a non optimizes use of resources, like ram.
On Wed, Dec 7, 2022, 19:48 Christoph Schwarzenberg @.***> wrote:
For me the app is just completely unusable and often hangs directly after opening it when it is showing the files list. Auto Upload is enabled, a few files are queued for upload but the phone is not plugged in.
As mentioned before, killing the app multiple times via Android Settings usually resolves it, but this is not how it should work.
— Reply to this email directly, view it on GitHub https://github.com/nextcloud/android/issues/7378#issuecomment-1341696552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7NOPBSRKZPUR4M64H6OI3WMEH3BANCNFSM4T3SH3TQ . You are receiving this because you commented.Message ID: @.***>
It is now May 2024, the original issue is almost 4 years old and the issue persists still. Phones with limited RAM like my Pixel 4a are still not able to handle uploading more than a few hundred pictures at once with auto-upload. I have 2600 pictures in the whatsapp folder. If I add it to auto-upload, it will queue up up to 2000 of them. Then they all instantly fail with the message "App terminated", it instantly starts collecting them all again until it reaches that mark, they all fail and so on. With each go, you're lucky to upload 3-4 pictures.
I can definitely understand some people's frustration here. Why is this issue still open after 4 years?
Edit: Currently not testable as I cannot get to the point of uploads actually being queued due to a bug, this needs to be fixed first before being able to troubleshoot this further.
Steps to reproduce
Expected behaviour
File should get uploaded normally
Actual behaviour
Files get uploaded and the app constantly gets ANR dialogues and freezes the Android system interface half the time.
Can you reproduce this problem on https://try.nextcloud.com?
Environment data
Android version: 11
Device model: Google Pixel 2
Stock or customized system: stock
Nextcloud app version: 3.15.0
Nextcloud server version: 19.0.4
Reverse proxy:
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate