You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading a ZIP-File with more than 2 GB in size directly from the nextcloud webinterface or the Windows Desktop Client results in an abort of the download. The downloaded size is always 1,9GB. The log shows the following error:
PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:797\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2054): OC\Files\Filesystem::normalizePath('/path/toFile...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1180): OC\Files\View->unlockFile('/pathToFile...', 1)\n#2 [internal function]: OC\Files\View->OC\Files\{closure}()\n#3 /var/www/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 797
The issue does not occure when using another file format.
Steps to reproduce
Upload a ZIP-File bigger 2 GB (2,2GB was used for test purposes)
Download via nextcloud web interface
Expected behaviour
The file should be downloaded with the correct size and content without errors in the log.
Actual behaviour
see above
Server configuration
Operating system: Debian 9 64 Bit (latest version)
Web server: Apache 2.4.25 (latest version)
Database: MySQL 10.1.26
PHP version: 7.0.30 as Apache module
Nextcloud version: 14.0.3.0
Where did you install Nextcloud from: Direct Download from nextCloud / installation through experienced Service Provider
GitMate.io thinks possibly related issues are #5473 (Logging stops when log file size exceeds 2 GB), #3613 (Shared folder download issues), #2349 (Files in the zip sent when downloading a folder should not have their date modified), #1755 (Bigger zips are not downloaded correctly), and #8798 (Download shared link as ZIP sends file with damaged header).
Downloading a ZIP-File with more than 2 GB in size directly from the nextcloud webinterface or the Windows Desktop Client results in an abort of the download. The downloaded size is always 1,9GB. The log shows the following error:
PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:797\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2054): OC\Files\Filesystem::normalizePath('/path/toFile...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1180): OC\Files\View->unlockFile('/pathToFile...', 1)\n#2 [internal function]: OC\Files\View->OC\Files\{closure}()\n#3 /var/www/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 797
The issue does not occure when using another file format.
Steps to reproduce
Expected behaviour
The file should be downloaded with the correct size and content without errors in the log.
Actual behaviour
see above
Server configuration
Operating system: Debian 9 64 Bit (latest version)
Web server: Apache 2.4.25 (latest version)
Database: MySQL 10.1.26
PHP version: 7.0.30 as Apache module
Nextcloud version: 14.0.3.0
Where did you install Nextcloud from: Direct Download from nextCloud / installation through experienced Service Provider
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
Disabled:
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE",
"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https:// REMOVED SENSITIVE VALUE",
",
"dbtype": "mysql",
"version": "14.0.3.0",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"maintenance": false,
"mail_smtpmode": "sendmail",
"mail_smtpauthtype": "LOGIN",
"mail_smtpsecure": "ssl",
"theme": "",
"loglevel": 2,
"updater.release.channel": "stable",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE"
}
}
Are you using external storage, if yes which one: no
Are you using encryption: yes
Client configuration
Browser: Firefox 62.0.3 (64-Bit) & Edge 42.17134.1.0 & Internet Explorer 11.2312.14393.0
Operating system: Win 10 / Windows Server 2016
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:797\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2054): OC\Files\Filesystem::normalizePath('/path/toFile...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1180): OC\Files\View->unlockFile('/pathToFile...', 1)\n#2 [internal function]: OC\Files\View->OC\Files\{closure}()\n#3 /var/www/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 797
The text was updated successfully, but these errors were encountered: