nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.89k stars 862 forks source link

App refuses to upload automatically and has a "ghost upload count" in the red indicator #2641

Open UweKeim opened 8 months ago

UweKeim commented 8 months ago

Since today, my iOS client refuses to upload files.

Steps to reproduce

Case 1:

  1. Start the iOS Nextcloud client
  2. Switch to the Transfers page ("Übertragungen" in German)
  3. See that there are pending uploads but no progress

Then, optional, case 2:

  1. Manually enforce an upload by long-pressing each entry and click the "enforce upload" button.
  2. Repeat for all uploads.

Expected behaviour

Case 1:

The uploads should be transfered to my Nextcloud server.

Case 2:

The empty list should match the red indicator.

Actual behaviour

Case 1:

Nothing is transferred, all files are pending ("Warte auf das Hochladen")..

Case 2:

If I long-press a file entry, a menu "force upload" ("Start erzwingen" in German) appears.

When clicking this, the file is transferred.

Even after all files are enforced uploaded, Nextcloud show the new "Do not close Nextcloud to finish the transfer" message on top.

The list is then empty but the red notify icon on the bottom left shows "1".

Screenshots

WhatsApp Bild 2023-10-18 um 18 11 42_8993efd7

WhatsApp Bild 2023-10-18 um 18 23 38_6c45f311

Logs

2023-10-18 17:10:16 [INFO] Clear log with level 1 Nextcloud Liquid for iOS 4.9.1.0 © 2023
2023-10-18 17:10:29 [INFO] Application will resign active
2023-10-18 17:10:30 [INFO] Application did enter in background
2023-10-18 17:10:31 [INFO] Start session with level 1 Nextcloud Liquid for iOS 4.9.1.0 © 2023
2023-10-18 17:10:31 DATABASE FOUND in /private/var/mobile/Containers/Shared/AppGroup/719CB7DC-8B09-4EC9-B3BB-06918E5EFDC8/Library/Application Support/Nextcloud/nextcloud.realm
2023-10-18 17:10:31 Account active admin https://example.org
2023-10-18 17:10:31 [INFO] Reload data source network files forced false
2023-10-18 17:10:31 Network request started: PROPFIND https://example.org/remote.php/dav/files/admin
2023-10-18 17:10:31 Network request started: HEAD https://push-notifications.nextcloud.com
2023-10-18 17:10:31 Network response request: https://example.org/remote.php/dav/files/admin, result: success(1727 bytes)
2023-10-18 17:10:33 [INFO] Application will enter in foreground
2023-10-18 17:10:33 [INFO] Application did become active
2023-10-18 17:10:33 Network request started: GET https://example.org/status.php
2023-10-18 17:10:33 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2023-10-18 17:10:33 [INFO] Initialize Auto upload with 0 uploads
2023-10-18 17:10:33 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 17:10:33 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 17:10:33 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 17:10:33 [INFO] start synchronize Favorite
2023-10-18 17:10:33 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 17:10:33 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 17:10:33 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 17:10:33 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 17:10:33 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 17:10:33 [INFO] end synchronize Favorite
2023-10-18 17:10:33 [INFO] start synchronize Offline
2023-10-18 17:10:33 [INFO] end synchronize offline
2023-10-18 17:10:33 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 17:10:33 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 17:10:33 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 17:10:33 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 17:10:33 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 17:10:33 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 17:10:33 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 17:10:33 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 17:10:38 [INFO] PROCESS-UPLOAD find 10 items
2023-10-18 17:10:38 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 17:10:38 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/ED620C68-16FA-4200-9DC3-17DBCA32CB1D
2023-10-18 17:10:38 Network response request: https://example.org/remote.php/dav/uploads/admin/ED620C68-16FA-4200-9DC3-17DBCA32CB1D, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 17:10:38 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/ED620C68-16FA-4200-9DC3-17DBCA32CB1D
2023-10-18 17:11:44 [INFO] Reload data source network files forced false
2023-10-18 17:11:44 Network request started: PROPFIND https://example.org/remote.php/dav/files/admin
2023-10-18 17:11:45 Network response request: https://example.org/remote.php/dav/files/admin, result: success(1708 bytes)
2023-10-18 17:16:50 [INFO] Application will resign active
2023-10-18 17:16:50 [INFO] Application did enter in background
2023-10-18 18:11:14 [INFO] Application will enter in foreground
2023-10-18 18:11:14 [INFO] Application did become active
2023-10-18 18:11:14 Network request started: GET https://example.org/status.php
2023-10-18 18:11:14 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2023-10-18 18:11:14 [INFO] Initialize Auto upload with 0 uploads
2023-10-18 18:11:14 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:11:14 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:11:15 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:11:15 [INFO] start synchronize Favorite
2023-10-18 18:11:15 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:11:15 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:11:15 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 18:11:15 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:11:15 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:11:15 [INFO] end synchronize Favorite
2023-10-18 18:11:15 [INFO] start synchronize Offline
2023-10-18 18:11:15 [INFO] end synchronize offline
2023-10-18 18:11:15 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:11:15 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:11:15 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:11:15 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 18:11:15 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:11:15 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:11:15 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:11:15 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:11:20 [INFO] PROCESS-UPLOAD find 10 items
2023-10-18 18:11:20 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 18:11:20 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/512D1F28-A258-4E01-A01B-BCBF773125ED
2023-10-18 18:11:21 Network response request: https://example.org/remote.php/dav/uploads/admin/512D1F28-A258-4E01-A01B-BCBF773125ED, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 18:11:21 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/512D1F28-A258-4E01-A01B-BCBF773125ED
2023-10-18 18:11:26 [INFO] Application will resign active
2023-10-18 18:11:27 [INFO] Application did enter in background
2023-10-18 18:16:03 [INFO] Application will enter in foreground
2023-10-18 18:16:04 [INFO] Application did become active
2023-10-18 18:16:04 Network request started: GET https://example.org/status.php
2023-10-18 18:16:04 [INFO] Automatic upload, new 2 assets found [Init Auto Upload]
2023-10-18 18:16:04 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos
2023-10-18 18:16:04 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:16:04 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:16:04 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos/2023
2023-10-18 18:16:04 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:16:04 [INFO] start synchronize Favorite
2023-10-18 18:16:04 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:16:04 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:16:04 Network request started: No request created yet.
2023-10-18 18:16:04 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:16:04 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos/2023/10
2023-10-18 18:16:04 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:16:04 [INFO] end synchronize Favorite
2023-10-18 18:16:04 [INFO] start synchronize Offline
2023-10-18 18:16:04 [INFO] end synchronize offline
2023-10-18 18:16:04 [INFO] Automatic upload added 23-10-18 18-11-22 8849.png with Identifier 35BBDD96-9695-4797-A7F2-B16B5A219663/L0/001
2023-10-18 18:16:04 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:16:04 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 18:16:04 [INFO] Automatic upload added 23-10-18 17-13-16 52c5.jpg with Identifier 711069A1-6A06-4CFD-BB58-40A4ADFE0B49/L0/001
2023-10-18 18:16:04 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:16:04 [INFO] Start createProcessUploads
2023-10-18 18:16:04 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:16:04 [INFO] Initialize Auto upload with 2 uploads
2023-10-18 18:16:04 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:16:04 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:16:04 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:16:04 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:16:09 [INFO] PROCESS-UPLOAD find 10 items
2023-10-18 18:16:09 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 18:16:09 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/E1E2857D-46B0-47A2-92ED-E7A67D120497
2023-10-18 18:16:10 Network response request: https://example.org/remote.php/dav/uploads/admin/E1E2857D-46B0-47A2-92ED-E7A67D120497, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 18:16:10 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/E1E2857D-46B0-47A2-92ED-E7A67D120497
2023-10-18 18:18:42 [INFO] Application will resign active
2023-10-18 18:18:43 [INFO] Application did enter in background
2023-10-18 18:19:02 [INFO] Application will enter in foreground
2023-10-18 18:19:03 [INFO] Application did become active
2023-10-18 18:19:03 Network request started: GET https://example.org/status.php
2023-10-18 18:19:03 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2023-10-18 18:19:03 [INFO] Initialize Auto upload with 0 uploads
2023-10-18 18:19:03 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:19:03 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:19:03 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:19:03 [INFO] start synchronize Favorite
2023-10-18 18:19:03 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:19:03 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:19:03 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 18:19:03 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:19:03 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:19:03 [INFO] end synchronize Favorite
2023-10-18 18:19:03 [INFO] start synchronize Offline
2023-10-18 18:19:03 [INFO] end synchronize offline
2023-10-18 18:19:04 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:19:04 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:19:04 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:19:04 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:19:04 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:19:04 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:19:04 Network request started: No request created yet.
2023-10-18 18:19:04 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:19:09 [INFO] PROCESS-UPLOAD find 10 items
2023-10-18 18:19:09 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 18:19:09 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/756DD58F-2C23-4078-BB2C-827EA72787B8
2023-10-18 18:19:09 Network response request: https://example.org/remote.php/dav/uploads/admin/756DD58F-2C23-4078-BB2C-827EA72787B8, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 18:19:09 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/756DD58F-2C23-4078-BB2C-827EA72787B8
2023-10-18 18:19:34 [INFO] Upload file 23-10-18 12-21-48 8837.png with Identifier FC124CDA-020C-4E13-BE63-748E233FB136/L0/001 with size 118930 [CHUNK 0, E2EE false]
2023-10-18 18:19:34 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 12-21-48 8837.png
2023-10-18 18:19:34 [INFO] Upload file 23-10-18 12-21-48 8837.png with task with taskIdentifier 1
2023-10-18 18:19:36 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 12-21-48 8837.png, result: success(118930 bytes)
2023-10-18 18:19:36 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 12-21-48 8837.png
2023-10-18 18:20:27 [INFO] Upload file 23-10-18 15-18-52 8838.jpg with Identifier 7D6A1C02-6643-493E-A170-A4940B3F57D7/L0/001 with size 3610236 [CHUNK 0, E2EE false]
2023-10-18 18:20:27 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-52 8838.jpg
2023-10-18 18:20:27 [INFO] Upload file 23-10-18 15-18-52 8838.jpg with task with taskIdentifier 2
2023-10-18 18:20:29 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-52 8838.jpg, result: success(3610236 bytes)
2023-10-18 18:20:29 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-52 8838.jpg
2023-10-18 18:20:32 [INFO] Upload file 23-10-18 15-18-56 8839.jpg with Identifier 70596AD9-1CCC-42BD-B4D6-B98C3CD6ED91/L0/001 with size 3521202 [CHUNK 0, E2EE false]
2023-10-18 18:20:32 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-56 8839.jpg
2023-10-18 18:20:32 [INFO] Upload file 23-10-18 15-18-56 8839.jpg with task with taskIdentifier 3
2023-10-18 18:20:34 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-56 8839.jpg, result: success(3521202 bytes)
2023-10-18 18:20:34 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-18-56 8839.jpg
2023-10-18 18:20:37 [INFO] Upload file 23-10-18 15-19-05 8840.jpg with Identifier 3A10C53B-17EA-4B9D-AF71-5A0A6590A7DB/L0/001 with size 4537099 [CHUNK 0, E2EE false]
2023-10-18 18:20:37 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-05 8840.jpg
2023-10-18 18:20:37 [INFO] Upload file 23-10-18 15-19-05 8840.jpg with task with taskIdentifier 4
2023-10-18 18:20:40 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-05 8840.jpg, result: success(4537099 bytes)
2023-10-18 18:20:40 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-05 8840.jpg
2023-10-18 18:20:42 [INFO] Upload file 23-10-18 15-19-07 8841.jpg with Identifier CD03FCFD-973C-4386-8D3B-DA6E3D2BD755/L0/001 with size 4656791 [CHUNK 0, E2EE false]
2023-10-18 18:20:42 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-07 8841.jpg
2023-10-18 18:20:42 [INFO] Upload file 23-10-18 15-19-07 8841.jpg with task with taskIdentifier 5
2023-10-18 18:20:48 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-07 8841.jpg, result: success(4656791 bytes)
2023-10-18 18:20:48 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-07 8841.jpg
2023-10-18 18:20:50 [INFO] Upload file 23-10-18 15-19-08 8842.jpg with Identifier B62D2B55-8E3E-49BD-BBEF-A45EC27398B9/L0/001 with size 4724087 [CHUNK 0, E2EE false]
2023-10-18 18:20:50 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-08 8842.jpg
2023-10-18 18:20:50 [INFO] Upload file 23-10-18 15-19-08 8842.jpg with task with taskIdentifier 6
2023-10-18 18:20:54 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-08 8842.jpg, result: success(4724087 bytes)
2023-10-18 18:20:54 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 15-19-08 8842.jpg
2023-10-18 18:20:56 [INFO] Upload file 23-10-18 14-20-57 9ae5.jpg with Identifier A7317A0D-56FE-473B-ACCC-F1C1C05C0D6D/L0/001 with size 145596 [CHUNK 0, E2EE false]
2023-10-18 18:20:56 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-57 9ae5.jpg
2023-10-18 18:20:56 [INFO] Upload file 23-10-18 14-20-57 9ae5.jpg with task with taskIdentifier 7
2023-10-18 18:20:57 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-57 9ae5.jpg, result: success(145596 bytes)
2023-10-18 18:20:57 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-57 9ae5.jpg
2023-10-18 18:21:01 [INFO] Upload file 23-10-18 14-20-56 bf05.jpg with Identifier F27F191B-25B0-41A0-A012-F795C738DE21/L0/001 with size 219635 [CHUNK 0, E2EE false]
2023-10-18 18:21:01 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-56 bf05.jpg
2023-10-18 18:21:01 [INFO] Upload file 23-10-18 14-20-56 bf05.jpg with task with taskIdentifier 8
2023-10-18 18:21:02 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-56 bf05.jpg, result: success(219635 bytes)
2023-10-18 18:21:02 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 14-20-56 bf05.jpg
2023-10-18 18:21:05 [INFO] Upload file 23-10-18 16-02-44 0350.jpg with Identifier 9AD09DF7-120E-40CD-B24E-B829CCBFA3BB/L0/001 with size 142979 [CHUNK 0, E2EE false]
2023-10-18 18:21:05 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-02-44 0350.jpg
2023-10-18 18:21:05 [INFO] Upload file 23-10-18 16-02-44 0350.jpg with task with taskIdentifier 9
2023-10-18 18:21:06 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-02-44 0350.jpg, result: success(142979 bytes)
2023-10-18 18:21:06 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-02-44 0350.jpg
2023-10-18 18:21:09 [INFO] Upload file 23-10-18 16-04-22 0c0b.jpg with Identifier 7D0B91A3-36D5-4263-B5F8-7FBA1742D5AD/L0/001 with size 122228 [CHUNK 0, E2EE false]
2023-10-18 18:21:09 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-04-22 0c0b.jpg
2023-10-18 18:21:09 [INFO] Upload file 23-10-18 16-04-22 0c0b.jpg with task with taskIdentifier 10
2023-10-18 18:21:10 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-04-22 0c0b.jpg, result: success(122228 bytes)
2023-10-18 18:21:10 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-04-22 0c0b.jpg
2023-10-18 18:21:12 [INFO] Upload file 23-10-18 17-13-16 52c5.jpg with Identifier 711069A1-6A06-4CFD-BB58-40A4ADFE0B49/L0/001 with size 182947 [CHUNK 0, E2EE false]
2023-10-18 18:21:12 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 17-13-16 52c5.jpg
2023-10-18 18:21:12 [INFO] Upload file 23-10-18 17-13-16 52c5.jpg with task with taskIdentifier 11
2023-10-18 18:21:13 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 17-13-16 52c5.jpg, result: success(182947 bytes)
2023-10-18 18:21:13 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 17-13-16 52c5.jpg
2023-10-18 18:21:16 [INFO] Upload file 23-10-18 16-59-24 8847.jpg with Identifier 2C06C696-F228-42F9-A83C-6E82EBC689D6/L0/001 with size 2416594 [CHUNK 0, E2EE false]
2023-10-18 18:21:16 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-24 8847.jpg
2023-10-18 18:21:16 [INFO] Upload file 23-10-18 16-59-24 8847.jpg with task with taskIdentifier 12
2023-10-18 18:21:18 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-24 8847.jpg, result: success(2416594 bytes)
2023-10-18 18:21:18 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-24 8847.jpg
2023-10-18 18:21:20 [INFO] Upload file 23-10-18 16-59-30 8848.jpg with Identifier 42D7641C-1B17-41E4-83F0-C08BFDB398E4/L0/001 with size 2469886 [CHUNK 0, E2EE false]
2023-10-18 18:21:20 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-30 8848.jpg
2023-10-18 18:21:20 [INFO] Upload file 23-10-18 16-59-30 8848.jpg with task with taskIdentifier 13
2023-10-18 18:21:21 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-30 8848.jpg, result: success(2469886 bytes)
2023-10-18 18:21:21 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 16-59-30 8848.jpg
2023-10-18 18:21:23 [INFO] Upload file 23-10-18 18-11-22 8849.png with Identifier 35BBDD96-9695-4797-A7F2-B16B5A219663/L0/001 with size 206883 [CHUNK 0, E2EE false]
2023-10-18 18:21:23 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-11-22 8849.png
2023-10-18 18:21:23 [INFO] Upload file 23-10-18 18-11-22 8849.png with task with taskIdentifier 14
2023-10-18 18:21:24 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-11-22 8849.png, result: success(206883 bytes)
2023-10-18 18:21:24 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-11-22 8849.png
2023-10-18 18:21:55 [INFO] Application will resign active
2023-10-18 18:21:56 [INFO] Application did enter in background
2023-10-18 18:21:57 [INFO] Application will enter in foreground
2023-10-18 18:21:57 [INFO] Application did become active
2023-10-18 18:21:57 Network request started: GET https://example.org/status.php
2023-10-18 18:21:58 [INFO] Automatic upload, new 1 assets found [Init Auto Upload]
2023-10-18 18:21:58 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos
2023-10-18 18:21:58 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:21:58 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:21:58 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos/2023
2023-10-18 18:21:58 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:21:58 [INFO] start synchronize Favorite
2023-10-18 18:21:58 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:21:58 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:21:58 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 18:21:58 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:21:58 Network request started: MKCOL https://example.org/remote.php/dav/files/admin/Photos/2023/10
2023-10-18 18:21:58 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:21:58 [INFO] end synchronize Favorite
2023-10-18 18:21:58 [INFO] start synchronize Offline
2023-10-18 18:21:58 [INFO] end synchronize offline
2023-10-18 18:21:58 [INFO] Automatic upload added 23-10-18 18-21-27 8851.png with Identifier 2F00864A-279E-4708-A20E-C413172B00DB/L0/001
2023-10-18 18:21:58 [INFO] Start createProcessUploads
2023-10-18 18:21:58 [INFO] Initialize Auto upload with 1 uploads
2023-10-18 18:21:58 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:21:58 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 18:21:58 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:21:58 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:21:58 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:21:58 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:21:58 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:21:58 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:22:03 [INFO] PROCESS-UPLOAD find 2 items
2023-10-18 18:22:03 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 18:22:03 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/AD06FB0A-4A90-469D-96AC-2A9D6F3848B4
2023-10-18 18:22:03 Network response request: https://example.org/remote.php/dav/uploads/admin/AD06FB0A-4A90-469D-96AC-2A9D6F3848B4, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 18:22:03 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/AD06FB0A-4A90-469D-96AC-2A9D6F3848B4
2023-10-18 18:22:08 [INFO] Upload file 23-10-18 18-21-27 8851.png with Identifier 2F00864A-279E-4708-A20E-C413172B00DB/L0/001 with size 136092 [CHUNK 0, E2EE false]
2023-10-18 18:22:08 Network start upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-21-27 8851.png
2023-10-18 18:22:08 [INFO] Upload file 23-10-18 18-21-27 8851.png with task with taskIdentifier 15
2023-10-18 18:22:09 [SUCCESS] Upload complete https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-21-27 8851.png, result: success(136092 bytes)
2023-10-18 18:22:09 Network completed upload file: https://example.org/remote.php/dav/files/admin/Photos/2023/10/23-10-18 18-21-27 8851.png
2023-10-18 18:23:21 [INFO] Application will resign active
2023-10-18 18:23:23 [INFO] Application did become active
2023-10-18 18:23:23 Network request started: GET https://example.org/status.php
2023-10-18 18:23:23 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2023-10-18 18:23:23 [INFO] Initialize Auto upload with 0 uploads
2023-10-18 18:23:23 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:23:23 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:23:23 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:23:23 [INFO] start synchronize Favorite
2023-10-18 18:23:23 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:23:23 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:23:23 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 18:23:23 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:23:23 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:23:23 [INFO] end synchronize Favorite
2023-10-18 18:23:23 [INFO] start synchronize Offline
2023-10-18 18:23:23 [INFO] end synchronize offline
2023-10-18 18:23:23 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:23:23 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:23:24 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:23:24 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:23:24 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 18:23:24 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:23:24 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:23:24 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:23:24 [INFO] Application will resign active
2023-10-18 18:23:25 [INFO] Application did enter in background
2023-10-18 18:23:42 [INFO] Application will enter in foreground
2023-10-18 18:23:42 [INFO] Application did become active
2023-10-18 18:23:42 Network request started: GET https://example.org/status.php
2023-10-18 18:23:42 [INFO] Automatic upload, no new assets found [Init Auto Upload]
2023-10-18 18:23:42 [INFO] Initialize Auto upload with 0 uploads
2023-10-18 18:23:42 Network response request: https://example.org/status.php, result: success(170 bytes)
2023-10-18 18:23:42 Network request started: GET https://example.org/ocs/v2.php/cloud/user
2023-10-18 18:23:42 Network response request: https://example.org/ocs/v2.php/cloud/user, result: success(1167 bytes)
2023-10-18 18:23:42 [INFO] start synchronize Favorite
2023-10-18 18:23:42 Network request started: REPORT https://example.org/remote.php/dav/files/admin
2023-10-18 18:23:42 Network request started: GET https://example.org/index.php/avatar/admin/384
2023-10-18 18:23:42 Network request started: GET https://example.org/ocs/v1.php/cloud/capabilities
2023-10-18 18:23:42 Network request started: GET https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets
2023-10-18 18:23:42 Network response request: https://example.org/remote.php/dav/files/admin, result: success(156 bytes)
2023-10-18 18:23:42 [INFO] end synchronize Favorite
2023-10-18 18:23:42 [INFO] start synchronize Offline
2023-10-18 18:23:42 [INFO] end synchronize offline
2023-10-18 18:23:43 Network response request: https://example.org/ocs/v2.php/apps/dashboard/api/v1/widgets, result: success(1049 bytes)
2023-10-18 18:23:43 Network request started: GET https://example.org/ocs/v2.php/apps/files/api/v1/directEditing
2023-10-18 18:23:43 Network request started: GET https://example.org/apps/files/img/app.svg
2023-10-18 18:23:43 Network request started: GET https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status
2023-10-18 18:23:43 Network response request: https://example.org/ocs/v2.php/apps/files/api/v1/directEditing, result: success(752 bytes)
2023-10-18 18:23:43 Network response request: https://example.org/ocs/v2.php/apps/user_status/api/v1/user_status, result: success(230 bytes)
2023-10-18 18:23:43 Network request started: GET https://example.org/apps/activity/img/activity-dark.svg
2023-10-18 18:23:43 Network request started: GET https://example.org/apps/user_status/img/app-dark.svg
2023-10-18 18:23:48 [INFO] PROCESS-UPLOAD find 1 items
2023-10-18 18:23:48 [INFO] Upload file 23-10-16 08-50-09 5655.mov with Identifier B14466CD-4744-4B62-9CA4-E83F6D4024E1/L0/001 with size 63844426 [CHUNK 10000000, E2EE false]
2023-10-18 18:23:48 Network request started: PROPFIND https://example.org/remote.php/dav/uploads/admin/00320461-161D-4615-A97F-C6223CB463FA
2023-10-18 18:23:48 Network response request: https://example.org/remote.php/dav/uploads/admin/00320461-161D-4615-A97F-C6223CB463FA, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2023-10-18 18:23:48 Network request started: MKCOL https://example.org/remote.php/dav/uploads/admin/00320461-161D-4615-A97F-C6223CB463FA

Reasoning or why should it be changed/implemented?

To make the app work again 😊

Environment data

image
pjft commented 8 months ago

This is likely related to chunking having become mandatory and automatic, as described in #2648. You can likely tell by the bar on top saying not to go to sleep. It's probably got a large file stuck to upload, or it's just taking a large time to prepare them.

UweKeim commented 8 months ago

So what do you suggest? I actually have no pending uploads and this no large files, too.

pjft commented 8 months ago

I do not have a suggestion here, apologies, I'm also suffering from similar issues. I was submitting an issue today and looking for similar ones and suggesting the root cause. But does your Transfer area have the "Nextcloud nicht schließen" message, it is trying to prepare a file to upload and it's stuck there.

If it's not, then please ignore my remark.

UweKeim commented 8 months ago

Thanks, @pjft Probably we will have to wait until someone from the developers looks at the issue.

Maybe reinstalling the App also might help.

pjft commented 8 months ago

Thanks. But do you confirm that you have the message on your transfers section still? Yes, in the Settings > Advanced, I believe, you have the option to Reset the Application, but that's probably a last resort.

UweKeim commented 8 months ago

Yes, @pjft, the message on top of the transfer section persists forever:

image

I found no way, no matter how long I wait, to get rid of that message.

pjft commented 8 months ago

Thanks. Let's then leave it at that - I believe this is related to a recent change that made chunking uploads mandatory and automatic, rather than optional. That's what's causing the issues I'm also reporting separately. Let's wait and see.

If you do need to move past it, I'd probably suggest pressing that icon there and see if it stops the process or, worst case scenario, Reset the Application.

UweKeim commented 8 months ago

I now have completely wiped the Nextcloud iOS app from my iPhone, then reinstalled and logged in to my account again.

Now uploading images works again.

So as a workaround, until the issue is resolved, I hope this fixes it permanently.

pjft commented 8 months ago

Thanks. I suppose the issue is that this will only work until there is a large enough upload that breaks things again.

UweKeim commented 8 months ago

Unfortunately, you were right, @pjft.

After having multiple larger files (videos), the error now appeared again 😢.

pjft commented 8 months ago

Thanks. You can try to install the Testflight beta (version 4.9.2 (7) ) and see if anything improves, but I submitted two similar issues in #2648 and #2647 with more details on the root cause, so let's see how those develop as well.

UweKeim commented 8 months ago

Since recently there is also a red popup sometimes in the iOS app (the production, non-Testflight one):

image

Text:

Datei hochladen

Missing metadata for chunked upload -9993

The "-9993" seems always to be that very number.

pjft commented 8 months ago

Thanks. This seems related to #2647 . Let's hope this information helps.

pjft commented 8 months ago

@UweKeim the most recent TestFlight update seems to have mitigated the issue of the uploads failing, so you can test that out.

Do see if it also helps with the remaining issues you have and report back if you can.