-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
With 4.4.0 auto upload stopped working #2026
Comments
I believe this is related to the removal of the GPS code. I also
noticed that the upload in the background option has been removed.
While I'm not a software developer, I imagine the "proper" solution
would be to have Nextcloud server send a hidden notification to iOS
clients to wake time up from time to time. The client checks to see if
there is anything to upload, and if there is, tells the server to wake
it up on a more frequent basis so uploads process. Once updates are
completed, notifications resume at the original rate (maybe every 20 or
30 minutes)
I imagine this would require changes in both the server code, as well
as the iOS client. Google, Amazon, Flicker, etc all seem to have the
ability to upload in the background without GPS. Other than manpower,
I don't see a reason why Nextcloud can't see the same.
…On Tue, 2022-05-31 at 00:13 -0700, ne20002 wrote:
Steps to reproduce 1. Shoot Photos
2. Do not open Nextcloud app for some time (days)
3. No auto upload / no increase of counter on app icon
4. Open Nextcloud app after some time (days)
5. Counter increases (detecting new photos)
6. Files are uploaded as long as the app is open / in foreground
Expected behaviourAt least not chunked photos and videos should be auto uploaded.
Actual behaviourNo auto upload at all
Environment dataiOS version: latest 15
Nextcloud iOS app version: 4.4.0
Server operating system: Debian bullseye
Web server: nginx, php-fpm docker
Database: postgres 13
Nextcloud version: 23.0.5
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
|
I will miss this. Very sad they removed it. |
I don't think the intention was to remove the upload. In the comment @marinofaggiana mentioned that the upload in now anachronistic ... so I assume it shall be triggerd time based. But at least with my devive it does not seem to work. |
delete pictures from iphone after upload option was also removed, idk. |
Hi all, a bit of clarity:
|
This is what I expected. Currently I haven't seen this behaviour. If/when this is working I'd really like to see chunk uploiads in background. |
@marinofaggiana |
Now that there has been a few days since version 4.4.0 has been released I can confirm that background auto upload is indeed working. Even though it is triggered not as often as I would expect. It seems as if it really needs some time on the charger to kick in. If the iPhone is removed from the charger too soon after been fully charged it just does not upload. I also see that big files or files bigger than the defined chunk size are still not auto uploaded. I request a change to the upload mechanism: The uploads of big files in chunks does make sense in two scenarios: a) limit the size of the http request payload and If it is possible to upload a small file in background it should also be possible to upload a chunk and to resume with next chunk the next time the background upload is triggered. So this is what I'd like to have when the background processing is triggered: a) a function to check for new files in the photo roll for upload and add those files to the upload list /queue. This function only needs to be processed at maybe every 15 minutes, so if the time from last call is less than that, just skip to the next function. b) upload of next file or chunk. 1st) Check if a file smaller than chunksize is in the list if yes -> upload the file 2nd) check if a file for chunk upload exist with already uploaded chunks if yes -> upload next chunk if this has been last chunk: if no -> start with upload of first chunk of next file then restart with function a) With this approach small files (less than chunksize) will be uploaded with priority to keep the upload list shorter (easier to handle, big files don't block other uploads). Would this be a possible way to do it? |
Thank you for all your hard work. Background autoupload of photos and videos was the main reason I set up a Nextcloud server. Now it is not working anymore on any of our 5 family iPhones, which are the ones needed to be backed up automatically to avoid loosing precious photos. All are charging every night while Wi-Fi connected. It worked flawlessly with the gps option on. It would indeed be a great thing, if you can bring back that feature - people afraid of tracking can just turn it off. But please let us choose this for ourselves. |
For me it is not really clear on when the auto upload happens. But this seems to be mainly caused by iOS behaviour. As it sometimes kicks in, I believe it is working (as much as possible in iOS). |
Exactly! Much as possible in iOS. |
Sad to see the GPS syncing go. It worked flawlessly. I am missing photos on my server now. :( |
Try the V 4.5 |
I installed today the nextcloud and I configure and test the autoupload with the App for ios 4.5.3 and only upload when I have the app in opened. Is my first day with nc but seems that dont works fine. |
@marinofaggiana Ive been verifiably using v4.5.3 for at least 24hours now. I am self hosting the current Nextcloudpi Docker build on an amd64 computer. It still seems that photos aren't syncing in the background. Could have been a bad wifi connection. Ill test again tonight. Could the culprit be that Im not on NC 25 yet? What changed with auto upload? The release notes aren't too specific (which is probably the way it should be). But is there a longer explanation somewhere else? |
Same issue here. iOS client is not uploading in the background at all. I tested it for 24h and it's not working. Iphone has been charged to full multiple times since i have a wireless charger I just put the phone on. The app does not upload a single photo until I open it. Does it maybe need to download the photos stored in icloud and is getting denied? I found that my internet monitor goes up and down in kind of a sinus curve when nextloud is just uploadint through wifi. This makes sense as the original photos are stored in the cloud. |
It does not work. Have Nextcloud on 5 iOS devices which all used to auto upload, the main (only) reason for me to have a server running. None of them are aotouploading on the newest version. All are set to Wi-Fi only but are on different versions of iOS including the newest. |
Is there anything we can do to help debug this issue? My wife also has this issue, and in here case the automatic upload seems to have disabled itself ( The setting itself). |
Please try: Version 4.5.4 build 6 in TestFlight |
plase use: #2225 |
auto update not working ... on IOS what to do .. now i need to keep the app open all the time even .. while charging not working |
I confirm. Same issue here with iphone ios. Photo is not uploading in the background. Is there a fix for this? |
Still also very sporadically for me, whether it works or not - would a more simple “trigger auto upload” at a specified time point e.g. 3AM every night be a possible addition? |
Has this ever been solved? We also have issues with auto upload.... |
Still not working on Only starts uploading as soon as the app is opened. |
With a system that already struggled with running sync in the background I don’t understand the decision to remove one of the possible usable options? I can say I am one of those users that didn’t use the GPS because I thought it would limit my battery life. If this statement was made more clear before then I think more people would have used it as a way to trigger the background jobs. There is no way to add GPS back in for those that would like to use it? |
Same with |
Or at least give an option to keep the screen alive like OneDrive... Uploading 35000 files when you phone locks every 5 minutes (company mandated policy) is a small nightmare. |
Im quite new in the nextcloud world, make my first experience with my self hosted cloud. So please take that in mind and when there is such an offer which is called "automatically upload" and you have to do something that "automatically" comes true then make a note beside that option which explains exactly how it works ( or when not ). Im trying now the "pluged in power over night" method but i only got the information from a post in that thread ... thats not very user friendly nor easy to find out. lets see if it changes something for me ... otherwise the option should renamend or in best case we need an other solution for it? EDIT: For me the same. Network connection gots broken it says after plugged it in, backround activation is on for the app, app is not in the foreground while push the power button of the phone to lay it down ... So for me that function does also only work if the app is in the foreground plugged or not plugged. |
Why was this issue closed when it is obvious from the number of comments that it doesn't work? Is this issue closed because it is a duplicate? |
I continue to have the same problem. It gets very tiring. Auto upload of photos from IOS is the only reason that I run Nextcloud and the lack of it and lack of attention to it is annoying |
As far as I understand it, all input should go to this issue about auto upload and IOS: #2225 And there is a guide on how to generate logs, such that developers can debug the problem. But I can also confirm that it is not working as expected. My sister is using IOS and I set up the app on her phone with auto-upload enabled etc. and simply no new uploads are happening - so not working out of the box. However, I can not debug it since she is living somewhere else, but I will also try to generate logs once I am at her place again. |
Steps to reproduce
Shoot Photos
Do not open Nextcloud app for some time (days)
No auto upload / no increase of counter on app icon
Open Nextcloud app after some time (days)
Counter increases (detecting new photos)
Files are uploaded as long as the app is open / in foreground
Expected behaviour
At least not chunked photos and videos should be auto uploaded.
Actual behaviour
No auto upload at all
Environment data
iOS version: latest 15
Nextcloud iOS app version: 4.4.0
Server operating system: Debian bullseye
Web server: nginx, php-fpm docker
Database: postgres 13
Nextcloud version: 23.0.5
The text was updated successfully, but these errors were encountered: