Skip to content
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

Can't upload files larger than 2Gb on Odroid HC2 #948

Closed
F1orian opened this issue Jul 15, 2019 · 10 comments
Closed

Can't upload files larger than 2Gb on Odroid HC2 #948

F1orian opened this issue Jul 15, 2019 · 10 comments
Assignees
Labels

Comments

@F1orian
Copy link

F1orian commented Jul 15, 2019

Issue:
I had Nextcloud set up on OMV with MariaDB but wasn't able to upload files larger than 2GB. I was unable to fix the issue so I installed the pre-configured nextcloudpi image instead. However I'm still not able to upload files larger than 2Gb. I've tested WebDav and Firefox.

The last 2 entries in the log are after I tried implementing this fix nextcloud/server#1707 (comment), so they should probably be disregarded. Before that the system was a fresh install.

System information

NextCloudPi diagnostics

NextCloudPi version  v1.14.3
NextCloudPi image    NextCloudPi_03-09-19
distribution         Debian GNU/Linux 9 \n \l
automount            yes
USB devices          sda 
datadir              /media/USBdrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      4.4G/5.5T
rootfs usage         3.8G/58G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    16.0.2.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        closed
port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            enx001e063684d3
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               28min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "2a02:908:1587:19e0:235c:95b8:51a9:45c0",
            "1": "192.168.178.116",
            "22": "192.168.178.116"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "16.0.2.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file",
        "jpeg_quality": "60",
        "preview_max_x": "2048",
        "preview_max_y": "2048"
    }
}

HTTPd logs

[Mon Jul 15 19:43:37.266677 2019] [proxy_fcgi:error] [pid 1403:tid 2765898800] [client 192.168.178.104:41934] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238\nPHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244\n'
[Mon Jul 15 19:52:53.916913 2019] [mpm_event:notice] [pid 1191:tid 3069557904] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Jul 15 19:52:53.963334 2019] [ssl:warn] [pid 1191:tid 3069557904] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 15 19:52:53.963549 2019] [ssl:error] [pid 1191:tid 3069557904] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=9c7057e28c42 / issuer: CN=9c7057e28c42 / serial: CAD5CD9762013DF9 / notbefore: Mar  9 19:30:48 2019 GMT / notafter: Mar  6 19:30:48 2029 GMT]
[Mon Jul 15 19:52:53.963572 2019] [ssl:error] [pid 1191:tid 3069557904] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jul 15 19:52:54.000219 2019] [mpm_event:notice] [pid 1191:tid 3069557904] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2r configured -- resuming normal operations
[Mon Jul 15 19:52:54.000260 2019] [core:notice] [pid 1191:tid 3069557904] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 15 20:29:32.621223 2019] [proxy_fcgi:error] [pid 5083:tid 2900255792] [client 192.168.178.104:51350] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238\nPHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244\n'
[Mon Jul 15 20:30:44.650471 2019] [proxy_fcgi:error] [pid 5083:tid 2849899568] [client 192.168.178.104:51350] AH01067: Failed to read FastCGI header
[Mon Jul 15 20:30:44.650643 2019] [proxy_fcgi:error] [pid 5083:tid 2849899568] (104)Connection reset by peer: [client 192.168.178.104:51350] AH01075: Error dispatching request to :4443: 
[Mon Jul 15 20:30:44.906813 2019] [mpm_event:notice] [pid 1191:tid 3069557904] AH00491: caught SIGTERM, shutting down
[Mon Jul 15 20:31:23.127857 2019] [ssl:warn] [pid 808:tid 3069815952] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 15 20:31:23.128124 2019] [ssl:error] [pid 808:tid 3069815952] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=9c7057e28c42 / issuer: CN=9c7057e28c42 / serial: CAD5CD9762013DF9 / notbefore: Mar  9 19:30:48 2019 GMT / notafter: Mar  6 19:30:48 2029 GMT]
[Mon Jul 15 20:31:23.128179 2019] [ssl:error] [pid 808:tid 3069815952] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jul 15 20:31:24.045371 2019] [ssl:warn] [pid 1267:tid 3069815952] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 15 20:31:24.045653 2019] [ssl:error] [pid 1267:tid 3069815952] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=9c7057e28c42 / issuer: CN=9c7057e28c42 / serial: CAD5CD9762013DF9 / notbefore: Mar  9 19:30:48 2019 GMT / notafter: Mar  6 19:30:48 2029 GMT]
[Mon Jul 15 20:31:24.045677 2019] [ssl:error] [pid 1267:tid 3069815952] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jul 15 20:31:25.011544 2019] [mpm_event:notice] [pid 1267:tid 3069815952] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2r configured -- resuming normal operations
[Mon Jul 15 20:31:25.011948 2019] [core:notice] [pid 1267:tid 3069815952] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 15 20:32:52.783139 2019] [proxy_fcgi:error] [pid 1445:tid 2774557744] [client 192.168.178.104:51406] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238\nPHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244\n'

Database logs

2019-07-15 20:30:47 3044033344 [Note] /usr/sbin/mysqld: Shutdown complete

2019-07-15 20:31:43 3070057264 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-07-15 20:31:43 3070057264 [Note] InnoDB: The InnoDB memory heap is disabled
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-07-15 20:31:43 3070057264 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Using Linux native AIO
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Using generic crc32 instructions
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Initializing buffer pool, size = 798.0M
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Completed initialization of buffer pool
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Highest supported file format is Barracuda.
2019-07-15 20:31:43 3070057264 [Note] InnoDB: 128 rollback segment(s) are active.
2019-07-15 20:31:43 3070057264 [Note] InnoDB: Waiting for purge to start
2019-07-15 20:31:43 3070057264 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.41-84.1 started; log sequence number 9751426
2019-07-15 20:31:43 1715467072 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-07-15 20:31:43 3070057264 [Note] Plugin 'FEEDBACK' is disabled.
2019-07-15 20:31:43 3070057264 [Note] Server socket created on IP: '127.0.0.1'.
2019-07-15 20:31:43 3070057264 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.37-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Debian 9.6

Nextcloud logs

{"reqId":"XSzZ5X8AAQEAABPbmF4AAACI","level":2,"time":"2019-07-15T19:54:38+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzZ5X8AAQEAABL8rxgAAABJ","level":2,"time":"2019-07-15T19:55:04+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzZ-38AAQEAABPbmHQAAACP","level":2,"time":"2019-07-15T19:55:04+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzZ5X8AAQEAABPbmGAAAACK","level":2,"time":"2019-07-15T19:55:29+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzaGH8AAQEAABL8rxwAAABN","level":2,"time":"2019-07-15T19:55:29+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzaGH8AAQEAABL8rx0AAABO","level":2,"time":"2019-07-15T19:55:54+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'rpi' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzefH8AAQEAABPbmSYAAACT","level":3,"time":"2019-07-15T20:14:04+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"PHP","method":"PUT","url":"\/remote.php\/webdav\/Lightroom.7z.part","message":"filesize(): stat failed for \/media\/USBdrive\/ncdata\/ncp\/files\/Lightroom.7z.part at \/var\/www\/nextcloud\/lib\/private\/LargeFileHelper.php#171","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzefH8AAQEAABPbmSYAAACT","level":3,"time":"2019-07-15T20:21:16+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"PHP","method":"PUT","url":"\/remote.php\/webdav\/Lightroom.7z.part","message":"filesize(): stat failed for \/media\/USBdrive\/ncdata\/ncp\/files\/Lightroom.7z.part at \/var\/www\/nextcloud\/lib\/private\/LargeFileHelper.php#171","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzefH8AAQEAABPbmSYAAACT","level":3,"time":"2019-07-15T20:21:16+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"PHP","method":"PUT","url":"\/remote.php\/webdav\/Lightroom.7z.part","message":"filesize(): stat failed for \/media\/USBdrive\/ncdata\/ncp\/files\/Lightroom.7z.part at \/var\/www\/nextcloud\/lib\/private\/LargeFileHelper.php#171","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzefH8AAQEAABPbmSYAAACT","level":3,"time":"2019-07-15T20:21:16+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"no app in context","method":"PUT","url":"\/remote.php\/webdav\/Lightroom.7z.part","message":{"Exception":"Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException","Message":"An exception occurred while executing 'INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)' with params [\"ncp\", null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'file_id' cannot be null","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php","line":184,"function":"convertException","class":"Doctrine\\DBAL\\Driver\\AbstractMySQLDriver","type":"->","args":["An exception occurred while executing 'INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)' with params [\"ncp\", null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'file_id' cannot be null",{"errorInfo":["23000",1048,"Column 'file_id' cannot be null"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php","line":158,"function":"wrapException","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["23000",1048,"Column 'file_id' cannot be null"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"An exception occurred while executing 'INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)' with params [\"ncp\", null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'file_id' cannot be null"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1088,"function":"driverExceptionDuringQuery","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["23000",1048,"Column 'file_id' cannot be null"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)",{"1":"ncp","2":null}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)",["ncp",null],[2,2]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/QueryBuilder.php","line":222,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(:dcValue1, :dcValue2)",{"dcValue1":"ncp","dcValue2":null},{"dcValue1":2,"dcValue2":2}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/QueryBuilder\/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/Watcher.php","line":75,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/AppInfo\/Application.php","line":49,"function":"postWrite","class":"OCA\\PreviewGenerator\\Watcher","type":"->","args":["*** sensitive parameter replaced ***"]},{"function":"OCA\\PreviewGenerator\\AppInfo\\{closure}","class":"OCA\\PreviewGenerator\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/EmitterTrait.php","line":99,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/PublicEmitter.php","line":36,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":136,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/HookConnector.php","line":86,"function":"emit","class":"OC\\Files\\Node\\Root","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":359,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_write",{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":283,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[false]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["Lightroom.7z.part",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["Lightroom.7z.part",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":122,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDOException","Message":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'file_id' cannot be null","Code":"23000","Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1079,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)",["ncp",null],[2,2]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/QueryBuilder.php","line":222,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(:dcValue1, :dcValue2)",{"dcValue1":"ncp","dcValue2":null},{"dcValue1":2,"dcValue2":2}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/QueryBuilder\/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/Watcher.php","line":75,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/AppInfo\/Application.php","line":49,"function":"postWrite","class":"OCA\\PreviewGenerator\\Watcher","type":"->","args":["*** sensitive parameter replaced ***"]},{"function":"OCA\\PreviewGenerator\\AppInfo\\{closure}","class":"OCA\\PreviewGenerator\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/EmitterTrait.php","line":99,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/PublicEmitter.php","line":36,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":136,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/HookConnector.php","line":86,"function":"emit","class":"OC\\Files\\Node\\Root","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":359,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_write",{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":283,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[false]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["Lightroom.7z.part",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["Lightroom.7z.part",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":143,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'file_id' cannot be null","Code":"23000","Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","line":141,"function":"execute","class":"PDOStatement","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1079,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(?, ?)",["ncp",null],[2,2]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/QueryBuilder.php","line":222,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_preview_generation` (`uid`, `file_id`) VALUES(:dcValue1, :dcValue2)",{"dcValue1":"ncp","dcValue2":null},{"dcValue1":2,"dcValue2":2}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/QueryBuilder\/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/Watcher.php","line":75,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/previewgenerator\/lib\/AppInfo\/Application.php","line":49,"function":"postWrite","class":"OCA\\PreviewGenerator\\Watcher","type":"->","args":["*** sensitive parameter replaced ***"]},{"function":"OCA\\PreviewGenerator\\AppInfo\\{closure}","class":"OCA\\PreviewGenerator\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/EmitterTrait.php","line":99,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Hooks\/PublicEmitter.php","line":36,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","line":136,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/HookConnector.php","line":86,"function":"emit","class":"OC\\Files\\Node\\Root","type":"->","args":["\\OC\\Files","postWrite",["*** sensitive parameter replaced ***"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":359,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_write",{"path":"\/\/Lightroom.7z.part"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":283,"function":"emitPostHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[false]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["Lightroom.7z.part",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["Lightroom.7z.part",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/webdav\/Lightroom.7z.part","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php","line":80,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":141}},"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzefH8AAQEAABPbmSYAAACT","level":3,"time":"2019-07-15T20:21:16+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"PHP","method":"PUT","url":"\/remote.php\/webdav\/Lightroom.7z.part","message":"Undefined index: checksum at \/var\/www\/nextcloud\/lib\/private\/Files\/FileInfo.php#403","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjPX8AAQEAAAWlPIUAAABQ","level":2,"time":"2019-07-15T20:34:31+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjPX8AAQEAAAWlPIYAAABO","level":2,"time":"2019-07-15T20:34:56+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjV38AAQEAAAWlPIsAAABU","level":2,"time":"2019-07-15T20:34:56+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjPX8AAQEAAAWcJeMAAAAH","level":2,"time":"2019-07-15T20:35:21+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjcH8AAQEAAAWlPI8AAABY","level":2,"time":"2019-07-15T20:35:21+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjPX8AAQEAAAWcJeQAAAAG","level":2,"time":"2019-07-15T20:35:46+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzjPX8AAQEAAAWlPIcAAABP","level":2,"time":"2019-07-15T20:36:11+00:00","remoteAddr":"192.168.178.104","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'ncp' (Remote IP: '192.168.178.104')","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.59.0 (like Gecko) Konqueror\/5 KIO\/5.59","version":"16.0.2.1"}
{"reqId":"XSzkFX8AAQEAAAWlPOUAAEsB","level":3,"time":"2019-07-15T20:38:01+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"expected filesize 10485760 got 8118272","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":45,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["20971520",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["20971520",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php","line":316,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":222,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:67.0) Gecko\/20100101 Firefox\/67.0","version":"16.0.2.1"}
{"reqId":"XSzkFX8AAQEAAAWlPOUAAEsB","level":4,"time":"2019-07-15T20:38:01+00:00","remoteAddr":"192.168.178.23","user":"ncp","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"expected filesize 10485760 got 8118272","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":45,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["20971520",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["20971520",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/192.168.178.116\/remote.php\/dav\/uploads\/ncp\/web-file-upload-0ee539deafeed25398d25a417c15269f-1563222761526\/20971520","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php","line":316,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/remote.php","line":163,"args":["\/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":222,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:67.0) Gecko\/20100101 Firefox\/67.0","version":"16.0.2.1"}

@nachoparker
Copy link
Member

nachoparker commented Jul 16, 2019

Thanks for reporting.

I just uploaded a 5GiB file. NC13.0.3, NCP1.15.0 (HC2)

That fix you mention is no longer needed since NC13

@nachoparker
Copy link
Member

Actually I spoke too soon. When it looked like it was copied it failed with

Screenshot_2019-07-16 Settings - NextCloudPi

This should be reported to the Nextcloud team

@nachoparker
Copy link
Member

Reported nextcloud/server#16431

@F1orian
Copy link
Author

F1orian commented Jul 17, 2019

Thanks a lot!

@nachoparker
Copy link
Member

Screenshot_2019-07-17 Settings - NextCloudPi
Screenshot_2019-07-17 Files - NextCloudPi

@F1orian
Copy link
Author

F1orian commented Jul 17, 2019

This is a different error message I get when uploading through the web client.

grafik

@delfer
Copy link

delfer commented Oct 24, 2019

Fixed by docker-library/php#901
Tested in Docker image nextcloud:17-apache (nextcloud@sha256:58836d449406b396c1c119c2661577fd7d8284ff41a7d181a0e2be232d2757fc, 2019-10-24T05:04:49.946856094Z) Not Pi

@dony71
Copy link

dony71 commented Aug 25, 2021

Issue still there on nextcloudpi docker with nextcloud 20.0.12.1
My platform ARM64
File upload via webdav protocol and file size only ~64MB
I already delete reqtimeout.conf and reqtimeout.load under /etc/apache2/mods-enabled/ and restart apache2 inside docker container, but problem still persist

{"reqId":"YSbXYAgPd@vmld1qbobQlQAAAFc","level":3,"time":"2021-08-25T16:51:22-07:00","remoteAddr": "10.168.1.40","user":"ncp","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/ ncp/ipa/Spotify_8.4.28_008.ipa","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Messa ge":"Expected filesize of 63958052 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 43868160 bytes. Could either be a network problem on the sending side or a problem writ ing to the storage on the server side.","Code":0,"Trace":[{"file":"/data/nextcloud/apps/dav/lib/C onnector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\Fi le","type":"->","args":[null]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","l ine":1104,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","ar gs":["Spotify_8.4.28_008.ipa",null]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlug in.php","line":527,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["file s/ncp/ipa/Spotify_8.4.28_008.ipa",null,null]},{"file":"/data/nextcloud/3rdparty/sabre/event/lib/W ildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":" ->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file": "/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sab re\\DAV\\Server","type":"->","args":["method:PUT",[{"__class__":"Sabre\\HTTP\\Request"},{"__class __":"Sabre\\HTTP\\Response"}]]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php"," line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__" :"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/data/nextcloud/3rdpart y/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type" :"->","args":[]},{"file":"/data/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec"," class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/apps/dav/appinfo/v2/r emote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file": "/data/nextcloud/remote.php","line":167,"args":["/data/nextcloud/apps/dav/appinfo/v2/remote.php"] ,"function":"require_once"}],"File":"/data/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line ":246,"CustomMessage":"--"},"userAgent":"davfs2/1.5.5 neon/0.30.2","version":"20.0.12.1"} {"reqId":"YSbXYAgPd@vmld1qbobQlQAAAFc","level":3,"time":"2021-08-25T16:51:26-07:00","remoteAddr": "10.168.1.40","user":"ncp","app":"PHP","method":"PUT","url":"/remote.php/dav/files/ncp/ipa/Spotif y_8.4.28_008.ipa","message":{"Exception":"Error","Message":"Cannot modify header information - he aders already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /data/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691","Code":0,"Trace":[{"function":"onErro r","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - head ers already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132)","/d ata/nextcloud/apps/dav/lib/Connector/Sabre/File.php",691,{"string":"X-Hash-SHA256: e9c0cfc8f24cb6 215c8df5cad7c918a4450ddc7959e4a58f27c93d1feae56ba9"}]},{"file":"/data/nextcloud/apps/dav/lib/Conn ector/Sabre/File.php","line":691,"function":"header","args":["X-Hash-SHA256: e9c0cfc8f24cb6215c8d f5cad7c918a4450ddc7959e4a58f27c93d1feae56ba9"]},{"file":"/data/nextcloud/apps/dav/lib/Connector/S abre/File.php","line":195,"function":"header","class":"OCA\\DAV\\Connector\\Sabre\\File","type":" ->","args":["X-Hash-SHA256: e9c0cfc8f24cb6215c8df5cad7c918a4450ddc7959e4a58f27c93d1feae56ba9"]},{ "function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\File","ty pe":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/F iles/Stream/HashWrapper.php","line":71,"function":"call_user_func","args":[{"__class__":"Closure" },"*** sensitive parameter replaced ***"]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Se rver.php","line":310,"function":"stream_close","class":"OC\\Files\\Stream\\HashWrapper","type":"- >","args":[]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"functio n":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/apps/dav/ lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]}, {"file":"/data/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA \\DAV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/remote.php","line":167,"args":["/d ata/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/data/nextclou d/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"davfs2/1.5.5 neo n/0.30.2","version":"20.0.12.1"} {"reqId":"YSbXYAgPd@vmld1qbobQlQAAAFc","level":3,"time":"2021-08-25T16:51:26-07:00","remoteAddr": "10.168.1.40","user":"ncp","app":"PHP","method":"PUT","url":"/remote.php/dav/files/ncp/ipa/Spotif y_8.4.28_008.ipa","message":{"Exception":"Error","Message":"Cannot modify header information - he aders already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /data/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691","Code":0,"Trace":[{"function":"onErro r","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - head ers already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132)","/d ata/nextcloud/apps/dav/lib/Connector/Sabre/File.php",691,{"string":"X-Hash-SHA1: adfd898a33212752 98554af23a6c628f3d461387"}]},{"file":"/data/nextcloud/apps/dav/lib/Connector/Sabre/File.php","lin e":691,"function":"header","args":["X-Hash-SHA1: adfd898a3321275298554af23a6c628f3d461387"]},{"fi le":"/data/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":192,"function":"header","class ":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["X-Hash-SHA1: adfd898a3321275298554af23a 6c628f3d461387"]},{"function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connecto r\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/next cloud/lib/private/Files/Stream/HashWrapper.php","line":71,"function":"call_user_func","args":[{"_ _class__":"Closure"},"*** sensitive parameter replaced ***"]},{"function":"stream_close","class": "OC\\Files\\Stream\\HashWrapper","type":"->","args":[]},{"file":"/data/nextcloud/3rdparty/icewind /streams/src/Wrapper.php","line":132,"function":"fclose","args":[null]},{"file":"/data/nextcloud/ lib/private/Files/Stream/HashWrapper.php","line":75,"function":"stream_close","class":"Icewind\\S treams\\Wrapper","type":"->","args":[]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Serve r.php","line":310,"function":"stream_close","class":"OC\\Files\\Stream\\HashWrapper","type":"->", "args":[]},{"file":"/data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function": "start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/apps/dav/lib /Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"f ile":"/data/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\D AV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/remote.php","line":167,"args":["/data /nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/data/nextcloud/l ib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"davfs2/1.5.5 neon/0 .30.2","version":"20.0.12.1"} {"reqId":"YSbXYAgPd@vmld1qbobQlQAAAFc","level":3,"time":"2021-08-25T16:51:26-07:00","remoteAddr": "10.168.1.40","user":"ncp","app":"PHP","method":"PUT","url":"/remote.php/dav/files/ncp/ipa/Spotif y_8.4.28_008.ipa","message":{"Exception":"Error","Message":"Cannot modify header information - he aders already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /data/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691","Code":0,"Trace":[{"function":"onErro r","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - head ers already sent by (output started at /data/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132)","/d ata/nextcloud/apps/dav/lib/Connector/Sabre/File.php",691,{"string":"X-Hash-MD5: 9770ae79ee0919ee4 b741d18bd8dcb61"}]},{"file":"/data/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":691,"f unction":"header","args":["X-Hash-MD5: 9770ae79ee0919ee4b741d18bd8dcb61"]},{"file":"/data/nextclo ud/apps/dav/lib/Connector/Sabre/File.php","line":189,"function":"header","class":"OCA\\DAV\\Conne ctor\\Sabre\\File","type":"->","args":["X-Hash-MD5: 9770ae79ee0919ee4b741d18bd8dcb61"]},{"functio n":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->" ,"args":["*** sensitive parameters replaced ***"]},{"file":"/data/nextcloud/lib/private/Files/Str eam/HashWrapper.php","line":71,"function":"call_user_func","args":[{"__class__":"Closure"},"*** s ensitive parameter replaced ***"]},{"function":"stream_close","class":"OC\\Files\\Stream\\HashWra pper","type":"->","args":[]},{"file":"/data/nextcloud/3rdparty/icewind/streams/src/Wrapper.php"," line":132,"function":"fclose","args":[null]},{"file":"/data/nextcloud/lib/private/Files/Stream/Ha shWrapper.php","line":75,"function":"stream_close","class":"Icewind\\Streams\\Wrapper","type":"-> ","args":[]},{"function":"stream_close","class":"OC\\Files\\Stream\\HashWrapper","type":"->","arg s":[]},{"file":"/data/nextcloud/3rdparty/icewind/streams/src/Wrapper.php","line":132,"function":" fclose","args":[null]},{"file":"/data/nextcloud/lib/private/Files/Stream/HashWrapper.php","line": 75,"function":"stream_close","class":"Icewind\\Streams\\Wrapper","type":"->","args":[]},{"file":" /data/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":310,"function":"stream_close","clas s":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[]},{"file":"/data/nextcloud/3rdparty/sabr e/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->", "args":[]},{"file":"/data/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class" :"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/data/nextcloud/apps/dav/appinfo/v2/remote. php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/data /nextcloud/remote.php","line":167,"args":["/data/nextcloud/apps/dav/appinfo/v2/remote.php"],"func tion":"require_once"}],"File":"/data/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"Custo mMessage":"--"},"userAgent":"davfs2/1.5.5 neon/0.30.2","version":"20.0.12.1"}

@dony71
Copy link

dony71 commented Aug 26, 2021

I found also this below and check sys_temp_dir already unmark in /etc/php/7.3/fpm/php.ini
https://help.nextcloud.com/t/error-on-upload-badrequest-any-suggestions/89900/4

@dony71
Copy link

dony71 commented Aug 26, 2021

Upload file has no problem via web browser, but upload via iphone nextcloud app has same issue. Smaller file has no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants