-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot download large folder with lots of small files #8489
Comments
Hi, My first guess on this issue: you reach the maximum file size on a 32 bit system. At least 4 GB pretty much sound like that. 2^32 = 4096 MB What filesystem are you using? Is there a limit to your temp directory (defined in php.ini)? |
Not related to your issue, but you should remove your public shares/links as soon as possible! It is better to use the "issue template" app, which can generate all the information and removes the sensitive information. |
@Nils160988 there shouldnt be any email password anywhere. just an app password for gmail that i already changed |
@Schmuuu i have a 32 bit processor with 64 bit instruction set extension. i deffinitely have bigger files than 496MB on the server just fine, besides, the download is 4.11GB. There is no activated option containing the word "temp" in my php.ini they are all commented out. the files are in a smb share that lives on a mdadm raid5 array with ext4. the root of the server is on a partition on a hardware raid array, 250GB in size, of wich 200GB are free.... updated description with issue template app information |
.... no other ideas? |
Just to exclude external storage and SMB, I'd try the same with data on a local folder (there is a reported bug on larger files with external storage: #1655). NC13 was supposed to come with some improvements regarding the large file handling in 32-bit systems. Not sure if anything was applied at all. |
i tried uploading the entire folder structure through the web client in my account root folder, by dragging and dropping. didnt work, the folder structure that was uploaded was only 1 level deep. any files in this folder, and any folders were succesfully updated, but the subfolders were empty. so i manually transferred the folder i wanted to test to the appropriate /data folder in the nextcloud installation, and then ran occ files:scan on that particular folder. when it was finished, downloading it behaved exactly like from the SMB share. the resulting zip file is 4.15GB big, does not open with windows explorer, and opening it with 7zip yields an incomplete folder structure, with one single file in the last sub-sub-sub-sub.....sub-folder |
Is this related to McNetic/PHPZipStreamer#38 ? |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Steps to reproduce
1.mount external smb share (happens to be on the very same computer. its the only way i could figure to add external storage to the server without actually uploading all the files again. plus, when i am at home, i have direct access without the web interface, which is important, since the following bug happens:)
2.in said share, i have a folder. about 9GB, but none of the files inside are really big, they shouldnt trip any 2GB limit of integers in php. i hope. anyway... moving on
3.share that folder with a public link. this public link: https://cociubaandrei.ddns.net/nextcloud/index.php/s/ke7YsxkLrDjZRZx
its some ham radio stuff.
Expected behaviour
I expect to have an archive that, unpacked, would have around 9GB,
Actual behaviour
i get an archive about 4.11GB in size, that cannot be opened with windows explorer. 7zip can open it, but theres a single folder with a single file it can see inside
Server configuration
Server configuration detail
Operating system: Linux 4.13.0-19-lowlatency #22-Ubuntu SMP PREEMPT Mon Dec 4 12:49:12 UTC 2017 i686
Webserver: Apache/2.4.27 (Ubuntu) (apache2handler)
Database: mysql 5.7.21
PHP version: 7.1.11-0ubuntu0.17.10.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, smbclient, mysqlnd, PDO, xml, apcu, apc, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache, xdebug
Nextcloud version: 13.0.0 Build:2018-02-16T23:01:27+00:00 964b511 - 13.0.0.14
Updated from an older Nextcloud/ownCloud or fresh install:
updated from 12.something....
Where did you install Nextcloud from:
github
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: smb
Are you using encryption: no
**Are you using an external user-backend, if yes which one:**no
Client configuration
Browser: CHrome
Operating system: Windows 10
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: