owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
213 stars 121 forks source link

[BUG] Uploads not proceeding - spinning forever #1323

Closed rmk-ch closed 2 months ago

rmk-ch commented 8 months ago

Hi I am having issues with the owncloud IOS app and uploading many files to an OCIS server.

Steps to reproduce

  1. Selecting many files (e.g. 50) in the Iphone Photo app or in the owncloud client (select upload files)
  2. Wait
  3. Few files are uploaded
  4. Upload stops, all files left (under status) are just spinning and show "ausstehend" in the German app (probably something like awaiting in English)
  5. Restart app, .... nothing helps

Expected behavior

Upload would not stop, all files will be uploaded eventually

Actual behavior

Upload stops, files are not uploaded. No idea, how to continue.

Client

iOS version: 17.2.1 ownCloud_29.01.2024__21_24_02.log.txt

ownCloud app version: Release 12.0.3 Build 282

Device model: Iphone 13 mini

Server configuration

ownCloud version: OCIS 4.0.5 Dockerized under Linux

Storage backend (external storage): Local

Client log highlight

2024-01-29 21:24:53.470000+0100 ownCloud[62527:3809818] [dbug] | [CORE, SyncEngine] processing sync records on lane <OCSyncLane: 0x281b66140, identifier: 1744, tags: {(\n B4EDA4B131A7428F8390A18DC612E83D,\n "/Natelbilder/folder/IMG_6188.JPG"\n)}> [OCCore+SyncEngine.m:722|FULL] 2024-01-29 21:24:53.471000+0100 ownCloud[62527:3809818] [dbug] | [CORE, SyncEngine] Budget limit of 3 reached for action category: upload [OCCore+SyncEngine.m:691|FULL] 2024-01-29 21:24:53.471000+0100 ownCloud[62527:3809818] [dbug] | [CORE, SyncEngine] Skipping processing sync record 2068 due to lack of available budget in (\n all,\n transfer,\n upload,\n "upload-cellular-and-wifi"\n) [OCCore+SyncEngine.m:771|FULL]

What does this mean? Where is this budget limit coming from?

rmk-ch commented 6 months ago

Hi Any chance for a comment or a fix? What does this upload budget limit mean and how can I change it?

rmk-ch commented 2 months ago

@felix-schwarz It seems you have been working on this. Is this expecting to fix the issue? Can we expect the release any time soon? BTW. the bug also happens with OC10 server (10.7.0). Welcoming any response! Thanks a lot

felix-schwarz commented 2 months ago

@rmk-ch You can check if it fixes your issue by running the latest TestFlight build containing these changes.

Feedback welcome!

felix-schwarz commented 2 months ago

@rmk-ch Did you try the TestFlight build? If yes, did it fix your issue?

rmk-ch commented 2 months ago

@felix-schwarz thanks a lot. I have just installed the test flight app on my colleagues device. Testing will follow soon. I'll let you know!

felix-schwarz commented 2 months ago

@rmk-ch Thanks!

rmk-ch commented 2 months ago

Hey @felix-schwarz . First tests were successful! Hundrets of files were uploaded without any issues. Thank you so much for fixing this! BR

felix-schwarz commented 1 month ago

@rmk-ch Thanks for taking the time to test this build and provide feedback!