-
-
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 doesn't (autoupload) #8285
Comments
I'm having the same problem autoupload doesn't work, it doesn't send images to the server. |
Well that's a fail, I hope they give this autoupload a revamp soon, it's riddled with bugs. |
Maybe this is Android 11 related? |
I'm using the DEV version and the auto-ship works and the app doesn't eat all the battery on the phone. |
Android 10 |
Adding some "me too" information... I'm on Android 10, with NC Client version 3.15.1, connected to NC Server 20.0.7 (running on a Raspberry Pi 4). (I'm also using DAVx5 to sync CardDAV & CalDAV from the same phone to the same server) The Autoupload appears to work for a while, then "jams" and doesn't appear to upload any more photos. Often (everytime?) when I've rebooted the phone, after it has synchronised. I'll get a "file upload conflict" and it's a photo that appears to have correctly uploaded. So it appears that autoupload sends something to the server, but maybe doesn't cleanly complete the transfer and then that holds up the rest silently? Using the filename of the photo that was conflicting today, I see the following in NC Server /data/nextcloud.log:
I see something in there that looks like the photo can't be found... yet it (eventually) synchronised successfully (and conflicted...). Hope that there's some useful information in there! :) |
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Just close it, I cba with these reports anymore, so much time wasted arguining with bots and opening closed issues, if nobody wants to fix these issues for years then forget it. |
It's still an issue for me, so I'd prefer to keep it open. I see loads of "depreciated" errors in my log above and something about "over 20 items"... I'm sure I had 1 photo to upload... |
I have the same behavior. |
For me it did not work correctly for like 3-4 major Android versions, don't think it matters which one. |
Just wondering whether @AndyScherzinger can comment on this issue? |
@WarmChocolateCake sure thing, while I can't add much value with a comment at the moment due to personal time constraints regarding spending time on this matter. So here we go:
So due to time constraints. If anybody having the problem you all described and could work on a fix/PR than we would definitely support you in any way possible. Not a satisfying answer I am afraid but the best I can do (personally) at this moment. |
Last week something happened. |
I would like to add that this is not exclusive to SD cards. My experience is, sooner or later auto upload will break and then never work with the same folder again. Only workaround is to create a new folder with different name and enable it for auto upload. After a few weeks auto upload will break again and stop detecting files or uploading them. |
For me, I autoupload photos mostly, if I had your problem @thenickname, that would mean I would need to keep changing the camera app to save photos to each new folder. I don't have to do that. To add, my SD card is formatted as "Portable" (FAT/unencrypted), rather than "Internal" / "Adoptable" (encrypted) |
I'm sure it isn't a problem for everyone. But it doesn't work for everyone either. |
Same issue, client (both latest and dev) shows nothing to upload, photos are uploaded randomly. Using Mi 10/MIUI 12.2.7/Android 11. Source is on /storage/emulated/0/DCIM/Camera. |
My photos auto-upload fine, but I set up an additional auto upload folder for audio recordings, and it will never work. The only remotely relevant log message I can find is:
|
For some reason my DCIM/Camera/ folder, for photos, the auto-upload continues to work and hasn't broken. The identical auto-upload folder but for videos has been broken for a long time and never uploads anything. This is an extremely common problem it seems and one of the key features that makes using the Nextcloud app attractive and one of the 6 main features touted in the app description on f-droid. It's a bummer that this is so unreliable that it's pretty much not worth using anymore. So some questions. Is there any hope of this ever being fixed? With numerous significant updates to the app in the at least year+(maybe multiple years) of this being an issue, why has this not ever been worked on? PS. I apologize if this comes across as complaining. I'm thankful for the hard work the app developers do. It would, however, be nice to have some sort of explanation about the current and future state of this very large bug so we can evaluate whether or not we want to spend anymore time fighting with it. If there is little chance of it ever getting fixed then I'll just move on to a different solution. |
Unfortunately autoupload has never worked correctly for me for the past 3-4 years that I've been using Nextcloud. I have opened numerous issues regarding various things about it, most have gotten closed by the bot which means developers don't want issues to be unsolves for too long so they get closed, others have remained unsolved. I have given up on trying to help it get fixed as it was taking an inordinate amount of effort/result ratio. |
This comment was marked as outdated.
This comment was marked as outdated.
Yep, still broken. |
This comment was marked as outdated.
This comment was marked as outdated.
Guys, you are commenting on a separate issue to this one. The issue was posted in April last year, and it has been going on since much earlier. |
Still not fixed... |
Auto upload permanently stopped working! Please consider this issue and fix it. |
Nobody's at the helm of this app... |
Facing the same issue. Latest samsung and android version. |
Anyone facing this issue, please look at this thread for some plausible solutions: #9320 |
Geez, this is ridicuolous the feature that is the main driver of installing this app does not work. Changing permissions didn't make it work either. |
I did my own investigation. It all started at 3.11 when sync existing files feature was introduced, however it had a bug. If you enabled syncing for a folder with a lot of files it would hang the app. Sometimes you wouldn't be able to open the app again, only reinstallation would help. The problem was that it proccessed (insert a record into db, so it seems) files in foreground thread which caused the app to hang. So they decided to move it to background PR. But it doesn't seem to fix the issue, but rather hide it from user, and it seemingly fails in background. Since then syncronization stops working, enabling/disabling, syncing existing or new, nothing works anymore. The only way to make it work again is to reinstall the app. So I suggest avoiding syncing folders with a lot of files, but rather copy existing files over the wire and enable only new files syncing. |
For me autoupload in stable doesn't work at all. Nextcloud dev does. And I started off dev because I couldn't find stable, as it doesn't have an icon in F-Droid. So when I found it, I deleted dev, then installed stable. And nothing. All autoupload settings are setup. Added an exception to battery settings. Rebooted the phone. Still nothing. Autoupload does not react on any folder, whatever there are large number of files or just a few of files. |
After turning off autoupload for a folder with 7000 photos autoupload is working for other folders. So looks like it was fixed in dev, but yet not in stable? |
Reinstalled back dev version. Autoupload is working, but it hogs the battery permanently at a very high rate. |
I can confirm this. I have a folder with 8000 photos. Nothing is being uploaded. When I disable auto upload for that folder other folders start uploading. |
Will someome fix this already? Why is development effort being wasted on this app if people cannot use it? |
Having similar issues here even without autoupload on Android 13 and NC app version 3.24.1. I queued a list of 80 video files to upload, when device goes to sleep, shortly after it stops. I have to manually swipe away (close app) and reopen it for the NC app to start the uploads again |
I have 3.24.2 on Android 6.0.1. Photo upload works, but i have the impression i have to run the app regularly and open the upload menu to trigger it, otherwise it ceases to function. Video upload never starts. It was working about 2 years ago the last time. I have a 29 MB video, what i do not consider really big. I even copied the file to give it a newer timestamp. Does not get uploaded. Switching the videos section in the configuration on and off or slightly modifying it does not help. Battery optimization is switched off. For me it is really a pity, that this stopped to work. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Same on my side... worse is that I have literally thousands of photos as I us Nextcloud auto-upload as a way of backing up every since image/video I send/received in any app on my Android phone. Plus, I have other Android phones for other accounts doing the same... Worse is that I enable all the uploads again but nothing starts uploading, I use "uploading existing files" with "skip uploading" if file exists... looks like the Android client is slowly parsing every single file, one by one... maybe in 2-3 days it will finish and start uploading... |
That's exactly how I use it too. |
Some of Nextcloud dev version explicitly switched off auto upload for all folders. Now renabling doesn't do anything again. So stable version doesn't work and dev version doesn't work. This is Top 1 feature for entire Nextcloud Hub solution. Why not to completely suspend all other developments and concentrate on this bug? |
Precisely... the exact thing I am wondering. |
They seem to have solved it for RC2 and the final version: #11641 (comment) |
Unlikely, as they have "solved" it several times already, but it hasn't been working for multiple years; but I will still install the update. |
And, also, it is not in the changelog. |
|
I will retest this but I will need to update the server and dependencies first as they are outdated and configure them. A bit busy at the moment, will report back once I've managed to retest. This has been going on for years so I've stopped expecting solutions. |
Updated the server finally. Updated the OP with your points 2, 3. AFAIR all autoupload remote folders have a space since my phone name has a space. Don't have that original error any longer I don't think. |
Steps to reproduce
Expected behaviour
App should automatically upload the selected data.
Actual behaviour
App does not automatically upload the selected data, manual upload, on the other hand, works. Upload menu is empty, nothing is attempting to be uploaded. I do get notifications about other media folders being detected, but no feedback regarding the selected autoupload.
Can you reproduce this problem on https://try.nextcloud.com?
Environment data
Android version: 14
Device model: Google Pixel 7 Pro
Stock or customized system: stock
Nextcloud app version: 3.27.0
Nextcloud server version: 28.0.2
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
The text was updated successfully, but these errors were encountered: