IOS app 7.2.2.4 update is not registering new photos/videos in Photo library - no sync when VPN is not reachable
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Have new photos or videos is galerry
- Open NC app but only when VPN cant reach its host
Expected behaviour
It should remember that theres no route to host and NOT to mark those pictured/videos synced
Actual behaviour
It simply stays open and never sync, but it seems mark all item synced
Logs
025-12-01 07:05:03 [START] Start session with level normal Nextcloud Matheria for iOS 7.2.2.4 © 2025
2025-12-01 07:05:06 [DEBUG] Account active ha11oga11o https://192.168.1.214
2025-12-01 07:05:06 [BGT] Start refresh task
2025-12-01 07:05:07 [BGSYNC] Auto upload found 0 new items
2025-12-01 07:18:12 [BGT] Start refresh task
2025-12-01 07:18:12 [INFO] Request started: No request created yet.
2025-12-01 07:18:12 [BGSYNC] Auto upload found 0 new items
2025-12-01 07:18:20 [PUSH NOTIFICATION] Subscribed to Push Notification Server https://192.168.1.214 with error Could not connect to the server.
2025-12-01 07:18:20 [INFO] Network response request: https://192.168.1.214/ocs/v2.php/apps/notifications/api/v2/push, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x10be489f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: pdp_ip0[gsm], ipv4, dns, expensive, uses cell, _kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <E8D9BA1D-6ABD-4DC6-997B-1D92FCD51684>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <E8D9BA1D-6ABD-4DC6-997B-1D92FCD51684>.<1>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://192.168.1.214/ocs/v2.php/apps/notifications/api/v2/push, NSErrorFailingURLKey=https://192.168.1.214/ocs/v2.php/apps/notifications/api/v2/push, _kCFStreamErrorDomainKey=1}))
2025-12-01 07:26:59 [BGT] Start refresh task
2025-12-01 07:26:59 [BGSYNC] Auto upload found 0 new items
2025-12-01 07:37:20 [BGT] Start refresh task
2025-12-01 07:37:21 [BGSYNC] Auto upload found 0 new items
2025-12-01 07:47:10 [BGT] Start refresh task
2025-12-01 07:47:10 [BGSYNC] Auto upload found 0 new items
2025-12-01 08:36:30 [DEBUG] Application will enter in foreground
2025-12-01 08:36:30 [INFO] Inside metadata folder __NC_ROOT__ with permissions: GDNVCK
2025-12-01 08:36:30 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o
2025-12-01 08:36:30 [INFO] Request started: GET https://192.168.1.214/ocs/v2.php/apps/recommendations/api/v1/recommendations
2025-12-01 08:36:30 [DEBUG] Application did become active
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/ocs/v2.php/apps/recommendations/api/v1/recommendations, result: success(2349 bytes)
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-43-42%202050.jpg
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-43-42%202050.jpg, result: success(3414 bytes)
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-43-52%202051.jpg
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-43-52%202051.jpg, result: success(3414 bytes)
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/remote.php/dav/files/ha11oga11o, result: success(78213 bytes)
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-31-23%202049.jpg
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2015-31-23%202049.jpg, result: success(3414 bytes)
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2011-33-57%202048.jpg
2025-12-01 08:36:31 [INFO] Network response request: https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/25-11-30%2011-33-57%202048.jpg, result: success(3414 bytes)
2025-12-01 08:36:31 [INFO] Request started: PROPFIND https://192.168.1.214/remote.php/dav/files/ha11oga11o/Photos/2025/11/IMG_2046.MOV
Reasoning or why should it be changed/implemented?
Environment data
iOS version: e.g. iOS 18.7.1
Nextcloud iOS app version: 7.2.2.4
Server operating system: Debian 13
Web server: Apache
Database:
Type: mysql
Version: 10.11.14 Size: 267,9 MB
PHP version: Version: 8.2.29
Memory limit: 2 GB Max execution time: 3600 Upload max size: 999 GB
Nextcloud version: see Nextcloud admin page
Nextcloud Hub 25 Autumn (32.0.2)
Hello,
I just notice weird bug with recent iOS app on iPhone 13. It seems if you mistakenly open Nextcloud app and if there is not valid route to server at that instance it simply forget what need to sync.
I have Nextcloud app on iOS which point to 192.168.x.x IP and it works totally fine. It is behind VPN tunnel directly to 192.168.X.X network. BUT, if in any reason VPN is not reachable, and if i open Nextcloud app to sync - upload tab stays blank, no new files found, i waited some time i got no timeout error either, but files never synced.
Next step, when VPN is reachable, i want to do that sync again nothing happens, it behave like theres no files to sync. I think it registered those files already synced without double-checking. Then i need to select them manually in photo library, so it uploads them fine.
Any chance when connection is not reachable that app actually remember that files are not synced at all?
Thanky you!