Sorry if I made mistakes in the new issue form. I had some trouble figuring out how to properly format the form. Hopefully it's not too bad.
Not sure if relevant. I updated to PHP 7.2.0 and afterwards noticed that Nextcloud didn't support it. After that, I've updated to Nextcloud 13 beta 2. During this period, unbeknownst to me, PHP started using a LOT of memory and basically thrashing the system. In subsequent updates (to later betas of Nextcloud and PHP 7.2.1), things got better, but some files now refuse to upload correctly.
If chunks don't sum up, retry upload. If they do, successfully combine chunks to file in server.
Server claims chunks don't sum up, but they do (apparently)
Operating system: Archlinux ARM (on an Odroid U2) - kernel 4.14.13
Web server: nginx 1.13.7
Database: mariab 10.1.30
PHP version: 7.2.1
Nextcloud version: 13.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install: updated from previous version (I think all the way to from owncloud 9)
Where did you install Nextcloud from: Downloaded from nextcloud and manually installed.
Signing status:No errors have been found.
List of activated apps:
App list
- admin_audit: 1.3.0
- bookmarks: 0.10.1
- bruteforcesettings: 1.0.3
- comments: 1.3.0
- dav: 1.4.6
- federatedfilesharing: 1.3.1
- federation: 1.3.0
- files: 1.8.0
- files_pdfviewer: 1.2.0
- files_sharing: 1.5.0
- files_texteditor: 2.5.1
- files_trashbin: 1.3.0
- files_versions: 1.6.0
- files_videoplayer: 1.2.0
- firstrunwizard: 2.2.1
- gallery: 18.0.0
- logreader: 2.0.0
- lookup_server_connector: 1.1.0
- music: 0.5.5
- nextcloud_announcements: 1.2.0
- notifications: 2.1.2
- oauth2: 1.1.0
- password_policy: 1.3.0
- previewgenerator: 1.0.9
- provisioning_api: 1.3.0
- serverinfo: 1.3.0
- sharebymail: 1.3.0
- spreed: 3.0.1
- survey_client: 1.1.0
- systemtags: 1.3.0
- theming: 1.4.1
- twofactor_backupcodes: 1.2.3
- unsplash: 1.0.5
- updatenotification: 1.3.0
- workflowengine: 1.3.0
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"mycloud.undo.it"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"version": "13.0.0.10",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"theme": "",
"maintenance": false,
"forcessl": true,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"secret": "***REMOVED SENSITIVE VALUE***",
"asset-pipeline.enabled": true,
"assetdirectory": "\/srv\/http\/nextcloud",
"trashbin_retention_obligation": "auto",
"appstoreenabled": true,
"filelocking.enabled": "true",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"filesystem_check_changes": 0,
"overwrite.cli.url": "https:\/\/mycloud.undo.it",
"loglevel": 2,
"updater.release.channel": "stable",
"mysql.utf8mb4": true
},
"apps": {
"activity": {
"enabled": "no",
"installed_version": "2.6.1",
"types": "filesystem"
},
"admin_audit": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "logging"
},
"backgroundjob": {
"lastjob": "236"
},
"bookmarks": {
"enabled": "yes",
"installed_version": "0.10.1",
"types": ""
},
"bruteforcesettings": {
"enabled": "yes",
"installed_version": "1.0.3",
"types": ""
},
"calendar": {
"enabled": "no",
"installed_version": "1.5.5",
"types": ""
},
"comments": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "logging"
},
"contacts": {
"enabled": "no",
"installed_version": "1.5.3",
"types": ""
},
"core": {
"backgroundjobs_mode": "cron",
"installed.bundles": "[\"CoreBundle\"]",
"installedat": "1502745826.9598",
"lastcron": "1516299390",
"lastupdateResult": "[]",
"lastupdatedat": "1516239083",
"moveavatarsdone": "yes",
"oc.integritycheck.checker": "[]",
"previewsCleanedUp": "1",
"public_files": "files_sharing\/public.php",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"scss.variables": "def3a709788cb02d255e48c549204afa",
"updater.secret.created": "1516048791",
"vendor": "nextcloud"
},
"dav": {
"buildCalendarSearchIndex": "yes",
"enabled": "yes",
"installed_version": "1.4.6",
"types": "filesystem"
},
"deck": {
"enabled": "no",
"installed_version": "0.2.3",
"types": ""
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "1.3.1",
"types": ""
},
"federation": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"enabled": "yes",
"installed_version": "1.8.0",
"types": "filesystem"
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "1.2.0",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"installed_version": "1.5.0",
"types": "filesystem"
},
"files_texteditor": {
"enabled": "yes",
"installed_version": "2.5.1",
"types": ""
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.6.0",
"types": "filesystem"
},
"files_videoplayer": {
"enabled": "yes",
"installed_version": "1.2.0",
"types": ""
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "2.2.1",
"types": "logging"
},
"gallery": {
"enabled": "yes",
"installed_version": "18.0.0",
"types": ""
},
"logreader": {
"enabled": "yes",
"installed_version": "2.0.0",
"ocsid": "170871",
"types": ""
},
"lookup_server_connector": {
"enabled": "yes",
"installed_version": "1.1.0",
"types": "authentication"
},
"mail": {
"enabled": "no",
"installed_version": "0.7.3",
"types": ""
},
"music": {
"enabled": "yes",
"installed_version": "0.5.5",
"ocsid": "164319",
"types": "filesystem"
},
"nextcloud_announcements": {
"enabled": "yes",
"installed_version": "1.2.0",
"pub_date": "Sat, 10 Dec 2016 00:00:00 +0100",
"types": "logging"
},
"notes": {
"enabled": "no",
"installed_version": "2.3.1",
"ocsid": "174554",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "2.1.2",
"types": "logging"
},
"oauth2": {
"enabled": "yes",
"installed_version": "1.1.0",
"types": "authentication"
},
"password_policy": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": ""
},
"previewgenerator": {
"enabled": "yes",
"installed_version": "1.0.9",
"types": "filesystem"
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "prevent_group_restriction"
},
"serverinfo": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": ""
},
"sharebymail": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"spreed": {
"enabled": "yes",
"installed_version": "3.0.1",
"stun_servers": "[\"stun.nextcloud.com:443\"]",
"types": "prevent_group_restriction"
},
"survey_client": {
"enabled": "yes",
"installed_version": "1.1.0",
"last_report": "{\"id\":\"oc77c6b5d905\",\"items\":[[\"server\",\"version\",\"12.0.3.3\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"yes\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"7.1.11\"],[\"php\",\"memory_limit\",134217728],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",1073741824],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.1.28\"],[\"database\",\"size\",286343168],[\"apps\",\"activity\",\"2.5.2\"],[\"apps\",\"bookmarks\",\"0.10.1\"],[\"apps\",\"bruteforcesettings\",\"1.0.2\"],[\"apps\",\"calendar\",\"disabled\"],[\"apps\",\"comments\",\"1.2.0\"],[\"apps\",\"contacts\",\"disabled\"],[\"apps\",\"dav\",\"1.3.0\"],[\"apps\",\"deck\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.2.0\"],[\"apps\",\"federation\",\"1.2.0\"],[\"apps\",\"files\",\"1.7.2\"],[\"apps\",\"files_pdfviewer\",\"1.1.1\"],[\"apps\",\"files_sharing\",\"1.4.0\"],[\"apps\",\"files_texteditor\",\"2.4.1\"],[\"apps\",\"files_trashbin\",\"1.2.0\"],[\"apps\",\"files_versions\",\"1.5.0\"],[\"apps\",\"files_videoplayer\",\"1.1.0\"],[\"apps\",\"firstrunwizard\",\"2.1\"],[\"apps\",\"gallery\",\"17.0.0\"],[\"apps\",\"logreader\",\"2.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.0.0\"],[\"apps\",\"mail\",\"disabled\"],[\"apps\",\"music\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"1.1\"],[\"apps\",\"notes\",\"disabled\"],[\"apps\",\"notifications\",\"2.0.0\"],[\"apps\",\"oauth2\",\"1.0.5\"],[\"apps\",\"password_policy\",\"1.2.2\"],[\"apps\",\"previewgenerator\",\"1.0.7\"],[\"apps\",\"provisioning_api\",\"1.2.0\"],[\"apps\",\"serverinfo\",\"1.2.0\"],[\"apps\",\"sharebymail\",\"1.2.0\"],[\"apps\",\"spreed\",\"disabled\"],[\"apps\",\"survey_client\",\"1.0.0\"],[\"apps\",\"systemtags\",\"1.2.0\"],[\"apps\",\"tasks\",\"disabled\"],[\"apps\",\"theming\",\"1.3.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.1.1\"],[\"apps\",\"updatenotification\",\"1.2.0\"],[\"apps\",\"workflowengine\",\"1.2.0\"],[\"stats\",\"num_files\",535015],[\"stats\",\"num_users\",1],[\"stats\",\"num_storages\",3],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",2],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",0],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",0],[\"files_sharing\",\"num_shares_link_no_password\",0],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
"last_sent": "1510057769",
"types": ""
},
"systemtags": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "logging"
},
"tasks": {
"enabled": "no",
"installed_version": "0.9.5",
"ocsid": "164356",
"types": ""
},
"theming": {
"cachebuster": "1",
"enabled": "yes",
"installed_version": "1.4.1",
"name": "Nariyoshi MyCloud",
"types": "logging"
},
"twofactor_backupcodes": {
"enabled": "yes",
"installed_version": "1.2.3",
"types": ""
},
"unsplash": {
"enabled": "yes",
"installed_version": "1.0.5",
"types": "authentication"
},
"updatenotification": {
"bookmarks": "0.10.1",
"bruteforcesettings": "1.0.3",
"core": "12.0.4.3",
"enabled": "yes",
"installed_version": "1.3.0",
"mail": "0.7.2",
"previewgenerator": "1.0.9",
"types": "",
"update_check_errors": "0"
},
"workflowengine": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
}
}
}
Are you using external storage, if yes which one: NONE
Are you using encryption: NO
Are you using an external user-backend, if yes which one: No
Browser: Not using browser, but client v2.3.3
Operating system: Archlinux
Web server error log
Log was disabled at the time ):
Nextcloud log
{"reqId":"fsaBIrXdcRbnJLyklSat","level":4,"time":"2018-01-17T17:06:35+00:00","remoteAddr":"35.9.132.227","user":"pnariyoshi","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/pnariyoshi\/3633763883\/.file","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Chunks on server do not sum up to 2366986824 but to 2366986824 bytes\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php(57): OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->verifySize()\\n#1 [internal function]: OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->beforeMove('uploads\\\/pnariyo...', 'files\\\/pnariyosh...')\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(633): Sabre\\\\Event\\\\EventEmitter->emit('beforeMove', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(283): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/remote.php(164): require_once('\\\/usr\\\/share\\\/weba...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php\",\"Line\":103}","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.10"}
{"reqId":"k6kWzjwj0Ofn83CTIkN7","level":4,"time":"2018-01-17T20:15:45+00:00","remoteAddr":"35.9.132.227","user":"pnariyoshi","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/pnariyoshi\/2097380633\/.file","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Chunks on server do not sum up to 2317707613 but to 2317707613 bytes\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php(57): OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->verifySize()\\n#1 [internal function]: OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->beforeMove('uploads\\\/pnariyo...', 'files\\\/pnariyosh...')\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(633): Sabre\\\\Event\\\\EventEmitter->emit('beforeMove', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(283): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/remote.php(164): require_once('\\\/usr\\\/share\\\/weba...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php\",\"Line\":103}","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.10"}
{"reqId":"Iu0RM6uT0ZfO9Fo8BXtt","level":4,"time":"2018-01-17T23:28:07+00:00","remoteAddr":"35.9.132.227","user":"pnariyoshi","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/pnariyoshi\/920439079\/.file","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Chunks on server do not sum up to 2792926086 but to 2792926086 bytes\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php(57): OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->verifySize()\\n#1 [internal function]: OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->beforeMove('uploads\\\/pnariyo...', 'files\\\/pnariyosh...')\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(633): Sabre\\\\Event\\\\EventEmitter->emit('beforeMove', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(283): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/remote.php(164): require_once('\\\/usr\\\/share\\\/weba...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php\",\"Line\":103}","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.10"}
{"reqId":"6d7nBcSywBphyRnEiplm","level":4,"time":"2018-01-17T23:28:42+00:00","remoteAddr":"35.9.132.227","user":"pnariyoshi","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/pnariyoshi\/3025104970\/.file","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Chunks on server do not sum up to 2305313811 but to 2305313811 bytes\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php(57): OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->verifySize()\\n#1 [internal function]: OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->beforeMove('uploads\\\/pnariyo...', 'files\\\/pnariyosh...')\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(633): Sabre\\\\Event\\\\EventEmitter->emit('beforeMove', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(283): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/remote.php(164): require_once('\\\/usr\\\/share\\\/weba...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php\",\"Line\":103}","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.10"}
{"reqId":"BpJF8VLEnNOJI2Ym6tDt","level":4,"time":"2018-01-18T07:55:31+00:00","remoteAddr":"35.9.132.227","user":"pnariyoshi","app":"webdav","method":"MOVE","url":"\/remote.php\/dav\/uploads\/pnariyoshi\/2055202812\/.file","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Chunks on server do not sum up to 2274697048 but to 2274697048 bytes\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php(57): OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->verifySize()\\n#1 [internal function]: OCA\\\\DAV\\\\Upload\\\\ChunkingPlugin->beforeMove('uploads\\\/pnariyo...', 'files\\\/pnariyosh...')\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(633): Sabre\\\\Event\\\\EventEmitter->emit('beforeMove', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(283): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(35): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/remote.php(164): require_once('\\\/usr\\\/share\\\/weba...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Upload\\\/ChunkingPlugin.php\",\"Line\":103}","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.10"}
Client log
#=#=#=# Syncrun started 2018-01-18T11:59:08
#=#=#=#=# Propagation starts 2018-01-18T11:59:15 (last step: 6399 msec, total: 6399 msec)
||Research/CStability/NCs3.mat|INST_ERROR|Up|1514559300||2792926086||6|The item is not synced because of previous errors: Error transferring https://mycloud.undo.it/remote.php/dav/uploads/pnariyoshi/920439079/.file - server replied: Bad Request (Chunks on server do not sum up to 2792926086 but to 2792926086 bytes)|0|0|0|||INST_NONE|
||Research/CStability/NCs4.mat|INST_ERROR|Up|1514559367||2305313811||6|The item is not synced because of previous errors: Error transferring https://mycloud.undo.it/remote.php/dav/uploads/pnariyoshi/3025104970/.file - server replied: Bad Request (Chunks on server do not sum up to 2305313811 but to 2305313811 bytes)|0|0|0|||INST_NONE|
||Research/CStability/NCsaltQ12.mat|INST_ERROR|Up|1516170000||2366986824||6|The item is not synced because of previous errors: Error transferring https://mycloud.undo.it/remote.php/dav/uploads/pnariyoshi/3633763883/.file - server replied: Bad Request (Chunks on server do not sum up to 2366986824 but to 2366986824 bytes)|0|0|0|||INST_NONE|
||Research/CStability/NCsaltQ3.mat|INST_ERROR|Up|1516133215||2274697048||6|The item is not synced because of previous errors: Error transferring https://mycloud.undo.it/remote.php/dav/uploads/pnariyoshi/2055202812/.file - server replied: Bad Request (Chunks on server do not sum up to 2274697048 but to 2274697048 bytes)|0|0|0|||INST_NONE|
||Research/CStability/NCsaltQ6.mat|INST_ERROR|Up|1516113820||2317707613||6|The item is not synced because of previous errors: Error transferring https://mycloud.undo.it/remote.php/dav/uploads/pnariyoshi/2097380633/.file - server replied: Bad Request (Chunks on server do not sum up to 2317707613 but to 2317707613 bytes)|0|0|0|||INST_NONE|
#=#=#=# Syncrun finished 2018-01-18T11:59:15 (last step: 522 msec, total: 6921 msec)
Looks like we have a solution in https://github.com/nextcloud/server/pull/8109#issuecomment-361565581
cc @icewind1991 @rullzer
Duplicate of #8112
Not yet. Leave it open until it is fully fixed ;)
Hi,
I don't know if this is the correct place, please correct me if i'm wrong.
I got the same(ish) error:

It is on a Pi 3 running NextCloudPi with NextCloud 13.0.0 (which runs flawless otherwise). The file being uploaded is the Nextcloudpi.img, which is about 2.8 GB. Desktop client 2.3.3 on Windows 10.
I read something about fixes in the related problems with the #'s, so I do not know if this is a different problem or that the fix has not been released yet?
Hope you can help me out!
Fixed it with
changing the file /var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php
Line 102: if ((int)$expectedSize !== $actualSize) {
With this: if ($expectedSize !== (string)$actualSize) {
as mentioned in the other post, apparently it was not included in the 13.0.0 release.
Tested it with a few >2 GB files, works good so far. Even uploading and downloading a 2.7 GB file through the web-interface worked perfectly smooth :)
One problem with uploading though: if you upload more then 1 file, after the first file the status bar disappears, but the uploads continue in the background, you just don't know it.
@maanloper ,
Fixed it with
I can confirm it too that it works.
Thank you very much!
I have this bug on nextcloud 13 production with odroid-xu4 (ARM 32bit)

Potential fix is in #8112
i have this issue in version 19.03. with a ~80MB file
Also, i have this issue in version 19.03. with a ~40MB file
Most helpful comment
Fixed it with
as mentioned in the other post, apparently it was not included in the 13.0.0 release.
Tested it with a few >2 GB files, works good so far. Even uploading and downloading a 2.7 GB file through the web-interface worked perfectly smooth :)
One problem with uploading though: if you upload more then 1 file, after the first file the status bar disappears, but the uploads continue in the background, you just don't know it.