-
-
Notifications
You must be signed in to change notification settings - Fork 950
Open
Labels
Description
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
- open whatsapp chat
- take a picture and send
- nextclous see the picture and trying to send to the server
- open the activity list and see 404 Errors
Tha same happens sometimes also when take a picture from the Photo app
Expected behaviour
Upload images to nextcloud server
Actual behaviour
404 errors and media not uploaded
Logs
In the log you see a message that say that the file not exists, but the file is still there into the Gallery.
2025-08-16 16:21:42 [BGT] Start refresh task
2025-08-16 16:21:42 [START] Realm is located at: /private/var/mobile/Containers/Shared/AppGroup/2F629398-8974-45F9-A351-32972D421D42/Library/Application Support/Nextcloud/nextcloud.realm
2025-08-16 16:21:42 [DEBUG] Automatic upload, new 7 assets found
2025-08-16 16:21:42 [BGSYNC] Auto upload with 7 new photo for vale https://nextcloud.wisepingui.org
2025-08-16 16:21:42 [BGSYNC] Auto upload create folder /remote.php/dav/files//Photos with error: -1000
2025-08-16 16:21:55 [DEBUG] Application will enter in foreground
2025-08-16 16:21:55 [DEBUG] Application did become active
2025-08-16 16:21:56 [START] Auto upload with 0 photo
2025-08-16 16:21:57 [INFO] Request started: GET https://nextcloud.mydns/status.php
2025-08-16 16:21:57 [INFO] Network response request: https://nextcloud.mydns/status.php, result: success(170 bytes)
2025-08-16 16:21:57 [INFO] Request started: No request created yet.
2025-08-16 16:21:58 [DEBUG] PROCESS (UPLOAD) find 3 items
2025-08-16 16:21:58 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/cloud/users/vale, result: success(1234 bytes)
2025-08-16 16:21:58 [INFO] Request started: No request created yet.
2025-08-16 16:21:59 [DEBUG] Upload file Foto 25-08-16 12-47-03 63EB.jpg with task with taskIdentifier 1
2025-08-16 16:21:59 [DEBUG] Upload file Foto 25-08-16 12-47-13 C082.jpg with task with taskIdentifier 2
2025-08-16 16:21:59 [DEBUG] Upload file Foto 25-08-16 12-47-18 7CA2.jpg with task with taskIdentifier 3
2025-08-16 16:21:59 [INFO] Network response request: https://nextcloud.mydns/ocs/v1.php/cloud/capabilities, result: success(5997 bytes)
2025-08-16 16:21:59 [INFO] Request started: No request created yet.
2025-08-16 16:21:59 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-47-03 63EB.jpg, result: error 404
2025-08-16 16:21:59 [DEBUG] Scene will resign active
2025-08-16 16:22:00 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-47-13 C082.jpg, result: error 404
2025-08-16 16:22:00 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/files/api/v1/directEditing, result: success(776 bytes)
2025-08-16 16:22:00 [INFO] Request started: No request created yet.
2025-08-16 16:22:00 [INFO] Request started: No request created yet.
2025-08-16 16:22:00 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-47-18 7CA2.jpg, result: error 404
2025-08-16 16:22:00 [INFO] Network response request: https://nextcloud.mydns/index.php/avatar/myuserid/384, result: success(52397 bytes)
2025-08-16 16:22:00 [SYNC] Synchronize favorite for account: vale https://nextcloud.wisepingui.org
2025-08-16 16:22:00 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/notifications/api/v2/notifications, result: success(74 bytes)
2025-08-16 16:22:01 [DEBUG] PROCESS (UPLOAD) find 3 items
2025-08-16 16:22:01 [INFO] Request started: REPORT https://nextcloud.mydns/remote.php/dav/files/vale
2025-08-16 16:22:01 [DEBUG] Upload file Foto 25-08-16 12-47-23 438A.jpg with task with taskIdentifier 4
2025-08-16 16:22:01 [DEBUG] Upload file Foto 25-08-16 12-47-41 1373.jpg with task with taskIdentifier 5
2025-08-16 16:22:01 [DEBUG] Upload file Foto 25-08-16 12-49-37 3F05.jpg with task with taskIdentifier 6
2025-08-16 16:22:01 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-47-23 438A.jpg, result: error 404
2025-08-16 16:22:01 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-47-41 1373.jpg, result: error 404
2025-08-16 16:22:01 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-49-37 3F05.jpg, result: error 404
2025-08-16 16:22:02 [DEBUG] PROCESS (UPLOAD) find 1 items
2025-08-16 16:22:02 [DEBUG] Application did enter in background
2025-08-16 16:22:02 [ERROR] Error during extraction: Asset not found, of filename: Foto 25-08-16 12-49-58 3237.jpg
2025-08-16 16:22:02 [INFO] Update in background: true
2025-08-16 16:22:02 [INFO] Auto upload in background: true
2025-08-16 16:22:02 [STOP] Location monitoring stopped
2025-08-16 16:23:08 [DEBUG] Application will enter in foreground
2025-08-16 16:23:08 [INFO] Network response request: https://nextcloud.mydns/remote.php/dav/files/vale, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "Tempo di richiesta scaduto." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x1321aca50 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <5CC16D3B-3C2E-4995-ADF7-6657FFF02AB7>.<291>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <5CC16D3B-3C2E-4995-ADF7-6657FFF02AB7>.<291>"
), NSLocalizedDescription=Tempo di richiesta scaduto., NSErrorFailingURLStringKey=https://nextcloud.mydns/remote.php/dav/files/vale, NSErrorFailingURLKey=https://nextcloud.mydns/remote.php/dav/files/vale, _kCFStreamErrorDomainKey=4}))
2025-08-16 16:23:08 [INFO] Request started: GET https://nextcloud.mydns/ocs/v2.php/apps/dashboard/api/v1/widgets
2025-08-16 16:23:08 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/dashboard/api/v1/widgets, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2025-08-16 16:23:08 [DEBUG] Application did become active
2025-08-16 16:23:09 [START] Auto upload with 0 photo
2025-08-16 16:23:09 [INFO] Request started: GET https://nextcloud.mydns/status.php
2025-08-16 16:23:10 [INFO] Network response request: https://nextcloud.mydns/status.php, result: success(170 bytes)
2025-08-16 16:23:10 [INFO] Request started: No request created yet.
2025-08-16 16:23:10 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/cloud/users/vale, result: success(1234 bytes)
2025-08-16 16:23:10 [INFO] Request started: No request created yet.
2025-08-16 16:23:10 [INFO] Inside metadata folder 2025 with permissions: RGDNVCK
2025-08-16 16:23:10 [INFO] Network response request: https://nextcloud.mydns/ocs/v1.php/cloud/capabilities, result: success(5997 bytes)
2025-08-16 16:23:10 [INFO] Request started: No request created yet.
2025-08-16 16:23:10 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/files/api/v1/directEditing, result: success(776 bytes)
2025-08-16 16:23:10 [INFO] Request started: No request created yet.
2025-08-16 16:23:10 [INFO] Request started: No request created yet.
2025-08-16 16:23:10 [INFO] Network response request: https://nextcloud.mydns/index.php/avatar/myuserid/384, result: success(52397 bytes)
2025-08-16 16:23:10 [SYNC] Synchronize favorite for account: vale https://nextcloud.wisepingui.org
2025-08-16 16:23:11 [INFO] Request started: PROPFIND https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025
2025-08-16 16:23:11 [INFO] Request started: REPORT https://nextcloud.mydns/remote.php/dav/files/vale
2025-08-16 16:23:11 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/notifications/api/v2/notifications, result: success(74 bytes)
2025-08-16 16:23:11 [DEBUG] PROCESS (UPLOAD) find 1 items
2025-08-16 16:23:11 [DEBUG] Upload file Foto 25-08-16 12-49-58 3237.jpg with task with taskIdentifier 7
2025-08-16 16:23:11 [INFO] Network response request: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025, result: success(1992 bytes)
2025-08-16 16:23:12 [ERROR] Upload file: https://nextcloud.mydns/remote.php/dav/files/myuserid/Photos/2025/08/16/Foto 25-08-16 12-49-58 3237.jpg, result: error 404
2025-08-16 16:23:14 [INFO] Network response request: https://nextcloud.mydns/remote.php/dav/files/vale, result: success(30508 bytes)
2025-08-16 16:23:15 [INFO] Request started: GET https://nextcloud.mydns/ocs/v2.php/apps/dashboard/api/v1/widgets
2025-08-16 16:23:15 [INFO] Network response request: https://nextcloud.mydns/ocs/v2.php/apps/dashboard/api/v1/widgets, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2025-08-16 16:23:15 [INFO] Request started: GET https://nextcloud.mydns/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0&etag=AE0852F7-93B8-4F24-BC73-5D4783066C7A
2025-08-16 16:23:15 [INFO] Request started: GET https://nextcloud.mydns/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0&etag=4078849B-1593-406A-8731-DA58449AF4FA
2025-08-16 16:23:15 [INFO] Request started: No request created yet.
2025-08-16 16:23:15 [INFO] Network response request: htt
Reasoning or why should it be changed/implemented?
Media Files are not uploaded to te server
Environment data
iOS version: iOS 18.6
Nextcloud iOS app version: 7.1.1.0
Server operating system: Debian
Web server: nginx
Database: PostgreSQL 17
PHP version: 8.2
Nextcloud version: 31.0.8