ios
ios copied to clipboard
Autoupload how improvement it ?
Steps to reproduce
1.Upgrade to the latest iOS version 2. Autouploads stop working
Expected behaviour
All new photos should auto upload. Also when the app is opened newly taken photos should be listed in the Transfers section
Actual behaviour
Newly taken pictures are not being autouploaded. They are also not showing up in the Transfers (More--> Transfers) section. Manual upload works fine.
Screenshots
If applicable, add a screenshot showing the issue.
Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?
This was working fine on my phone prior the iOS 16 upgrade. I have removed and reinstalled the app but that has made no difference
Environment data
iOS version: iOS 16.1
Nextcloud iOS app version: see More > Settings 4.5.3.0
Server operating system: debian
Web server: nginx
Database: Ver 10.5.15-MariaDB
PHP version: 8.0
Nextcloud version: see Nextcloud admin page 24.0.6
I have the same problem too. Auto upload of iOS app sometimes works fine, but most of time it doesn't work. I tried uninstall the app and reinstall, but it's the same. ios version: 16.1, server: 24.0.6 on ubuntu
Same problem after today’s update.
Try the version in TestFlight.
I have the same issue - have been adding comments to #2211 (not sure how/whether #2211 and this ticket are different?)
test flight version doesn’t change the behaviour for me.
I just got the latest TestFlight version 4.5.4(4) and it did not help.
I've read a little bit and @marinofaggiana commented in #2026 that autoupload works like this:
- Put the phone on charge and you will see that sooner or later the iOS fetch will wake up the app that will start the routine
This is the mechanism on IOS 15. Should this be working like this in IOS 16.1 as well ? Is it improved somehow in IOS 16 ? Really putting on charger is trigger ? WiFi connection is also needed even if server is outside local network ? Is there any other more predictable method to manage autoupload what could be used in IOS APP ?
I have auto upload set on WiFi only. Previously, as soon as I opened the app, the auto upload started. This is no longer the case after today’s update.
with 4.5.4 (4) this case is actually working for me. I would call this as a kind of semi-auto mode as you need as trigger run the app. Have you tried reinstalling app ? Log out / Log in ? Can you try to "untick" using folders for new uploads (putting photos in folders year, month) as I saw it seems to be buggy (most probably as not yet confirmed fully) ?
Sorry, I want to use folders and I don’t want to mess up my auto upload directory. I also don’t want to change the account or the auto upload configuration as this would force me to have to reupload a full year of content to make sure everything is synced.
Sure, as you wish. This issue might be similar to #2211 as mentioned in one of previous posts.
I’m on ios 16.0.2. It seems nextcloud only works when the photo was taken while the phone is unlocked. Photos taken while the phone is locked aren’t uploaded at all. Battery saver also disabled auto upload as the app can’t use background app refresh anymore.
I've read a little bit and @marinofaggiana commented in #2026 that autoupload works like this:
- Put the phone on charge and you will see that sooner or later the iOS fetch will wake up the app that will start the routine
This is the mechanism on IOS 15. Should this be working like this in IOS 16.1 as well ? Is it improved somehow in IOS 16 ? Really putting on charger is trigger ? WiFi connection is also needed even if server is outside local network ? Is there any other more predictable method to manage autoupload what could be used in IOS APP ?
I've read a little bit and @marinofaggiana commented in #2026 that autoupload works like this:
- Put the phone on charge and you will see that sooner or later the iOS fetch will wake up the app that will start the routine
This is the mechanism on IOS 15. Should this be working like this in IOS 16.1 as well ? Is it improved somehow in IOS 16 ? Really putting on charger is trigger ? WiFi connection is also needed even if server is outside local network ? Is there any other more predictable method to manage autoupload what could be used in IOS APP ?
I think it's the problem of iOS. I have an iPad running iOS15.7 and it have installed the latest version nexctcoud app, the autoupload works fine. It doesn't have the problem which I have met on my iPhone running iOS16.1
Actually problem is, that Nextcloud iOS client seems to add "-Auto upload" to existing selected folder by renaming it accordingly. https://github.com/nextcloud/ios/issues/2227
No, this is only added to the UI but the folder is not renamed. I’ve managed to make it working again by logging off, uninstalling, reinstalling, logging on and configuring Auto Upload again.
No, this is only added to the UI but the folder is not renamed. I’ve managed to make it working again by logging off, uninstalling, reinstalling, logging on and configuring Auto Upload again.
Didn’t help for me. After these steps, you still see “-Auto upload” ending in UI?
Can confirm AutoUpload stopped working in iOS 7 days ago, even if the option is enabled. I'm using iOS 15.6.1, with Nextcloud Liquid 4.5.3.0 and Nextcloud Server 24.0.2.
Can confirm I have same issue. Right no tested to with a fresh installation on a ipad, same problem. Tested againts a nextcloud 24 and 25 installation, same issue. Re-Installtions and did not help and I postet already that after restart the ios device I loose the complete configuration of the nexcloud ios client. ASC-DE
I have same problem. Using ios 16.1, nextcloud 4.5.3.0 and server 24.0.6
I was able to fix this by un-ticking "use subfolders" and manually picking the year/month subfolder.
For me, the log file when trying to use subfolders shows:
Network request started: MKCOL ... /Photos/2022/(null)/(null)
and without subfolders it was fixed:
Network request started: MKCOL ... /Photos/2022/10
Having the same issue (NC 24.0.6, IOS 16.1, iPhone 13 Mini, Nextcloud Liquid for iOS 4.5.3.0)
No more automatic uploads since 13 days now. I tried disableing "use subfolders" as explained by swarmalator above and cleared cache etc, but nothing helped. Still not automatic uploads...
Interestingly, the app tries to initialize an auto upload, but states there is nothing to upload:
2022-10-31 00:34:46 [INFO] Automatic upload, no new assets found [Init Auto Upload] 2022-10-31 00:34:46 [INFO] Initialize Auto upload with 0 uploads 2022-10-31 00:35:40 [INFO] Application will resign active 2022-10-31 00:35:40 [INFO] Application did enter in background
Same as @ePirke, it seems that Nextcloud cannot upload new photos at all on iOS 16.1 with the latest version. Here are the logs after taking one photo and opening the Nextcloud app. Nothing happens afterwards the upload never starts:
2022-10-30 17:39:21 [INFO] Clear log with level 1 Nextcloud Liquid for iOS 4.5.3.0 © 2022
2022-10-30 17:39:24 [INFO] Application will resign active
2022-10-30 17:39:27 [INFO] Application did enter in background
2022-10-30 17:39:27 [SUCCESS] Refresh task success submit request 60 seconds <BGAppRefreshTaskRequest: com.nextcloud.refreshTask, earliestBeginDate: 2022-10-31 00:40:27 +0000>
2022-10-30 17:39:27 [SUCCESS] Background Processing task success submit request 5 minutes <BGProcessingTaskRequest: com.nextcloud.processingTask, earliestBeginDate: 2022-10-31 00:44:27 +0000, requiresExternalPower=0, requiresNetworkConnectivity=0>
2022-10-30 17:39:43 [INFO] Start session with level 1 Nextcloud Liquid for iOS 4.5.3.0 © 2022 in state 1 where (0 active, 1 inactive, 2 background).
2022-10-30 17:39:43 DATABASE FOUND in /private/var/mobile/Containers/Shared/AppGroup/D58C9410-5A5E-47AA-A03A-366B35275267/Library/Application Support/Nextcloud/nextcloud.realm
2022-10-30 17:39:43 Account active <redacted> https://<redacted>
2022-10-30 17:39:44 Network request started: PROPFIND https://<redacted>/remote.php/dav/files/<redacted>
2022-10-30 17:39:44 [INFO] Application did become active
2022-10-30 17:39:44 Network request started: HEAD https://push-notifications.nextcloud.com/
2022-10-30 17:39:44 [INFO] Automatic upload, new 1 assets found [Init Auto Upload]
2022-10-30 17:39:44 Network request started: MKCOL https://<redacted>/remote.php/dav/files/<redacted>/Photos
2022-10-30 17:39:44 [INFO] initialize Main
2022-10-30 17:39:44 Network request started: GET https://<redacted>/status.php
2022-10-30 17:39:44 Network request started: GET https://<redacted>/ocs/v2.php/cloud/user
2022-10-30 17:39:44 Network request started: PROPFIND https://<redacted>/remote.php/dav/files/<redacted>
2022-10-30 17:39:44 Network response request: https://<redacted>/remote.php/dav/files/<redacted>, result: success(1654 bytes)
2022-10-30 17:39:44 Network request started: PROPFIND https://<redacted>/remote.php/dav/files/<redacted>/
2022-10-30 17:39:44 Network response request: https://<redacted>/status.php, result: success(172 bytes)
2022-10-30 17:39:44 Network request started: MKCOL https:/<redacted>/remote.php/dav/files/<redacted>/Photos/2022
2022-10-30 17:39:44 Network response request: https://<redacted>/remote.php/dav/files/<redacted>, result: success(1654 bytes)
2022-10-30 17:39:44 Network response request: https://<redacted>/remote.php/dav/files/<redacted>/, result: success(7721 bytes)
2022-10-30 17:39:44 Network request started: PROPFIND https://<redacted>/remote.php/dav/files/<redacted>/
2022-10-30 17:39:44 Network request started: MKCOL https:/<redacted>/remote.php/dav/files/<redacted>/Photos/2022/10
2022-10-30 17:39:44 Network response request: https://<redacted>/ocs/v2.php/cloud/user, result: success(1010 bytes)
2022-10-30 17:39:44 Network request started: REPORT https://<redacted>/remote.php/dav/files/<redacted>
2022-10-30 17:39:44 Network request started: GET https://<redacted>/index.php/avatar/<redacted>/384
2022-10-30 17:39:44 Network request started: GET https://<redacted>/ocs/v1.php/cloud/capabilities
2022-10-30 17:39:44 Network request started: GET https://<redacted>/ocs/v2.php/apps/dashboard/api/v1/widgets
2022-10-30 17:39:45 Network response request: https://<redacted>/remote.php/dav/files/<redacted>/, result: success(7721 bytes)
2022-10-30 17:39:45 Network request started: GET https://<redacted>/ocs/v2.php/apps/files_sharing/api/v1/shares?reshares=false&shared_with_me=false&subfiles=false
2022-10-30 17:39:45 Network request started: GET https://<redacted>/ocs/v2.php/apps/files/api/v1/directEditing
2022-10-30 17:39:45 Network request started: GET https://<redacted>/ocs/v2.php/apps/user_status/api/v1/user_status
2022-10-30 17:39:45 [INFO] Automatic upload added 22-10-30 17-39-30 1714.jpg with Identifier 4B618C7B-6CA9-41FA-BE9E-294DD8F6F0B0/L0/001
2022-10-30 17:39:45 [INFO] Start createProcessUploads
2022-10-30 17:39:45 Network response request: https://<redacted>/remote.php/dav/files/<redacted>, result: success(156 bytes)
2022-10-30 17:39:45 Network request started: GET https://<redacted>/index.php/core/preview.png?file=Photos/2022/10/22-10-30%2016-57-44%207397.mov&x=1024&y=1024&a=1&mode=cover
2022-10-30 17:39:45 Network request started: GET https://<redacted>/index.php/core/preview.png?file=Photos/2022/10/22-10-30%2016-55-58%207396.mov&x=1024&y=1024&a=1&mode=cover
2022-10-30 17:39:45 Network request started: GET https://<redacted>/index.php/core/preview.png?file=Photos/2022/10/22-10-30%2016-54-35%207394.jpg&x=1024&y=1024&a=1&mode=cover
2022-10-30 17:39:45 Network request started: GET https://<redacted>/index.php/core/preview.png?file=Photos/2022/10/22-10-30%2010-36-50%207391.jpg&x=1024&y=1024&a=1&mode=cover
2022-10-30 17:39:45 Network request started: GET https://<redacted>/index.php/core/preview.png?file=Photos/2022/10/22-10-30%2010-36-46%207390.jpg&x=1024&y=1024&a=1&mode=cover
2022-10-30 17:39:45 Network response request: https://<redacted>/ocs/v2.php/apps/files_sharing/api/v1/shares?reshares=false&shared_with_me=false&subfiles=false, result: success(4016 bytes)
2022-10-30 17:39:45 Network response request: https://<redacted>/ocs/v2.php/apps/files/api/v1/directEditing, result: success(753 bytes)
2022-10-30 17:39:45 Network response request: https://<redacted>/ocs/v2.php/apps/dashboard/api/v1/widgets, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2022-10-30 17:39:45 Network response request: https://<redacted>/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(222 bytes)
2022-10-30 17:39:48 Network request started: SEARCH https://<redacted>/remote.php/dav
2022-10-30 17:39:48 Network response request: https://<redacted>/remote.php/dav, result: success(48663 bytes)
@marinofaggiana - it seems like there are quite a few similar tickets regarding auto upload not working recently. It’s not super clear (to me!) whether the cause was a change to the app (there are mentions of removal of the GPS function as it scares some people) or simply an iOS 16 problem (change to some fundamental way that photos are detected or uploaded) or a combination of both.
However the end result seems to be a complete loss of functionality of a key feature that many, including myself, rely on. For me, this is the only reason I use nextcloud - if it no longer auto uploads I would need to look for alternative photo upload solutions.
I have a few questions, if you may?
- are you going to roll these tickets into one to make it simpler to track and comment/follow?
- are you in agreement on the loss of feature (ie you can replicate this)?
- do you know the true cause?
- are you actively planning / developing a fix to bring back the functionality in the way it used to work? I appreciate this might mean a fundamental change to the way the app works (if something has changed in iOS 16).
- any idea of an ETA?
Understanding this will assist whether I should wait or look for alternatives.
thanks for all your help, we all appreciate the work that goes into making these apps!
In my case the auto upload has stopped again after the app reset. I made a new photo today, the app created a folder named "11" but did not upload anything to it. Manual upload to the "auto upload" folder worked just fine.
Didn’t help for me. After these steps, you still see “-Auto upload” ending in UI?
@pokaalinkanssayohon I still see the "- Auto Upload" in the app UI but not on the web UI.
Please try: Version 4.5.4 build 6 in TestFlight
Please try: Version 4.5.4 build 6 in TestFlight
Just tested it with one photo and it worked. Will keep an eye on it.
I started seeing this issue as well. I was using nextcloud server on an older server machine (my old 32-bit ubuntu) and recently moved the server to a new machine (running 64-bit Ubuntu 22.04). Both were using snap installations of nextcloud. After this swap, the auto-uploads stopped working on all my devices, I don't know how relevant the server is about the cause of this issue, but I can share more info if it's relevant.
Same issue for me, using Nextcloud server 23.0.9 with the Nextcloud iOS client 4.5.3.
It started with "spontaneously" (i.e. no change in the client config by me) in IOS version 16.0 on iPhone 12 three days ago. I have just updated to IOS 16.1 but no change. Tried the above suggestions (with/without subfolders, using Wifi only and with Mobile Net, etc.), with no joy.
Please try: Version 4.5.4 build 6 in TestFlight
This seems (single photo, quick test) to work @marinofaggiana . Will keep watching it. Many thanks!
Build 6 fixes the issue for me too.