ios icon indicating copy to clipboard operation
ios copied to clipboard

“No files” on large smb/samba shares

Open moraus opened this issue 3 years ago • 3 comments

Steps to reproduce

  1. “Mount” a large SMB drive to Nextcloud
  2. Open this shared drive in the Nextcloud app
  3. The app displays “Request to server in progress”4. After about 30-45 seconds the app displays “No files here”

Expected behaviour

Expect the app to list/display the files in the shared folder

Actual behaviour

After about 30-45 seconds the app displays “No files here”

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?

Environment data

iOS version: e.g. iOS 14.4.1

Nextcloud iOS app version: 4.4.0

Server operating system: Ubuntu 20.04 LTS

Web server: Apache, nginx

Database:

PHP version:

Nextcloud version: 24.0.4

moraus avatar Aug 18 '22 17:08 moraus

I'm experiencing the same when mounting a B2 bucket with lots of folders worth about 70GB.

iOS: 16.0.3 iOS app version: 4.5.2.0 Server version: 25.0.0

Log extract:

2022-10-22 22:57:16 Network response request: https://(server_url)/remote.php/dav/files/hubadmin/People/, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x282558390 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F2F313CC-47ED-4A38-9334-1A843297D343>.<126>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <F2F313CC-47ED-4A38-9334-1A843297D343>.<126>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://(server_url)/remote.php/dav/files/hubadmin/People/, NSErrorFailingURLKey=https://(server_url)/remote.php/dav/files/hubadmin/People/, _kCFStreamErrorDomainKey=4}))

fm avatar Oct 22 '22 21:10 fm

Seems like I have a similar issue, yet not the exact same:

Folder is about 50GB with ~10,000 photo files. All good in the web app, but iOS shows only one file in the folder.

Edit: iOS App log Shows the following when actively updating the SMB folder by swiping down:

2025-03-29 10:28:34 Network response request: https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "Zeitüberschreitung bei der Anforderung." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x303422e80 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <33478366-677C-4EDE-936C-20AAA8F97C61>.<74>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <33478366-677C-4EDE-936C-20AAA8F97C61>.<74>"
), NSLocalizedDescription=Zeitüberschreitung bei der Anforderung., NSErrorFailingURLStringKey=https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, NSErrorFailingURLKey=https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, _kCFStreamErrorDomainKey=4}))
2025-03-29 10:28:34 Network response request: https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "Zeitüberschreitung bei der Anforderung." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x303422370 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <23DDEFF2-DFBB-4CF5-9335-BB81C208140C>.<76>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <23DDEFF2-DFBB-4CF5-9335-BB81C208140C>.<76>"
), NSLocalizedDescription=Zeitüberschreitung bei der Anforderung., NSErrorFailingURLStringKey=https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, NSErrorFailingURLKey=https://cloud.domain.com/remote.php/dav/files/Joe/Joes%20Fotos, _kCFStreamErrorDomainKey=4}))

iOS: 18.3.2 iOS app version: 6.5.0.5 Server version: 31.0.2

DaCHack avatar Mar 29 '25 09:03 DaCHack

This PR might solve the issue. Maintainer Review required.

DaCHack avatar Mar 30 '25 11:03 DaCHack