Cannot upload large files
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Thanks a lot for the great app! We discovered a problem uploading large files via the Nextcloud app:
Steps to reproduce
- Open Nextcloud app (iphone, ipad)
- Enable Chunking in settings to 10 MB
- Upload 2GB file
Expected behaviour
- Upload starts
Actual behaviour
Error Message "Could not read the file" (read_file_error)
Tested on ipad and iphone with two nextcloud installations, installed by different admins.
BUT: If I copy the file within the Apple "Files" Application to the Nextcloud-Location it is working. It's also working with small files (so it seems to be no permission problem). It's also working from Android app. It's also working using Safari.
Logs
No log output in app even with highest log level
Reasoning or why should it be changed/implemented?
Seems to be a bug
Environment data
iOS 14.4.2 (ipad)
iOS 14.6 (iphone)
Nextcloud iOS app version: see More > Settings
4.0.5.8
Server operating system:
Ubuntu 20.04.2 LTS
Web server: Apache, nginx
nginx 1.18.0
Database:
MariaDB 10.3.30
PHP version:
7.4.3
Nextcloud version: see Nextcloud admin page
21.0.3
19.x
20.x
If we can contribute with any further information we are glad to assist, also we can do debugging server-side. In our eyes it seems to be a problem with the application (though uploading large files with the mobile application seems to be not the most common use case ;) We also found #221 but it's not clear if it's a related problem.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure in the iOS app with 10 MB chunking and a 2 GB file, then compare it with small files and the working Files, Android, and Safari uploads. Done means large uploads start successfully without the “Could not read the file” error, with coverage for the listed iPhone and iPad environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100