Can't log in to web interface. Win client struggling

Hi Folks.

Hope someone can help. New to Rasbperry Pi and Nextcloud. fresh install yesterday. Syncing data today now:


Nextcloud version (eg, 10.0.2): 12.0.1.5
Operating system and version (eg, Ubuntu 16.04): Rasbrian Jessie
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.10
PHP version (eg, 5.6): PHP 7.0.19-1
Is this the first time you’ve seen this error?: yup

Can you reliably replicate it? (If so, please outline steps):
I visit myserver.com/nextcloud
I’m presented with the login screen
I input username and password for any user including the admin user and hit login
The page refreshes to the empty login screen

The issue you are facing:
Er … - can’t log in
also: getting lots of Connection Closed and Operation Cancelled in the windows client.
I see from the apache error (below) that it is saying there is no space on the device.
Data is stored on a 2TB external drive and:

/media/GoFlex2TB# du -sh * | sort -nr | head
560K    nextcloud.log
260K    files_external
37M     appdata_oc2u3brmb77k
7.9G    UserA
6.7M    Useradmin
5.0M    UserB
0       index.html

So - I can’t see that that is full.

For the whole system:

/media/GoFlex2TB# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        14G   13G     0 100% /
devtmpfs        481M     0  481M   0% /dev
tmpfs           486M     0  486M   0% /dev/shm
tmpfs           486M   13M  473M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           486M     0  486M   0% /sys/fs/cgroup
/dev/mmcblk0p6   65M   21M   44M  33% /boot
tmpfs            98M     0   98M   0% /run/user/1001

Is my 32GB SD card full? if so - how come?

The output of your Nextcloud log in Admin > Logging:
Can’t log in to see that - but here’s the tail of my nextcloud.log

{"reqId":"8cmzEeCc1RokI6ez2JKp","level":4,"time":"2017-08-10T13:43:57+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"Sophie","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/English\/Home%20Work\/Safari%20leaflet.pub","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Error while copying file to target location (copied bytes: 139264, expected filesize: 176128 )\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('Safari leaflet....', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":142}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"pGQ41Dt5ZbMCpd9vqCWc","level":4,"time":"2017-08-10T13:43:59+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/Geography\/Milliards%20Map.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 153452 got 57344\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('Milliards Map.d...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":151}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"OXiikQH6pL2bB0WXsgTM","level":4,"time":"2017-08-10T13:44:00+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/Geography\/Pic%20Chaussy.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Error while copying file to target location (copied bytes: 49152, expected filesize: 95735 )\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('Pic Chaussy.doc...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":142}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"tlzqIjegfhojSBpSBGeO","level":4,"time":"2017-08-10T13:44:00+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/Geography\/The%20Slave%20Trade%20Triangel.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 52848 got 24576\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('The Slave Trade...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":151}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"AYpNRPRqg4DzdjlFC9RX","level":4,"time":"2017-08-10T13:44:00+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/Geography\/Typically%20English.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Error while copying file to target location (copied bytes: 49152, expected filesize: 474018 )\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('Typically Engli...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":142}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"NuFGj6h666obrPEhphKF","level":4,"time":"2017-08-10T13:44:00+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/Geography\/rainforest%20des.pptx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Error while copying file to target location (copied bytes: 49152, expected filesize: 1892175 )\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('rainforest des....', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":142}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"SZnSHV54IdQudvM2ofL7","level":4,"time":"2017-08-10T13:44:02+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/History\/yr%208\/Industrial%20Revolution%20Video%20Worksheet.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 17040 got 8192\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('Industrial Revo...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":151}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"whbaWTGk9iy6ZZCiaGoG","level":4,"time":"2017-08-10T13:44:03+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/History\/2016%20Spring%20Term\/King%20Richard%20and%20King%20John.docx","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 19182 got 8192\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('King Richard an...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":151}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"3ygLor8nEmdEobQJbXuo","level":4,"time":"2017-08-10T13:44:03+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/German\/Year%207\/Autumn%20term%202015\/German%20items%20in%20my%20bag%20recording.mp3","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Error while copying file to target location (copied bytes: 4096, expected filesize: 2953298 )\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #69)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('German items in...', Resource id #69)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/USERNAME\\\/BC...', Resource id #69, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":142}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"12.0.1.5"}
{"reqId":"UvFG3uXKf46Y1hyMO0DL","level":4,"time":"2017-08-10T13:44:04+00:00","remoteAddr":"MY.IP.ADD.RESS","user":"USERNAME","app":"webdav","method":"PUT","url":"\/nextcloud\/remote.php\/dav\/files\/USERNAME\/BCCS\/IT\/Autumn%20term%202015\/not%20good%20pp%20p

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'asd',
  'passwordsalt' => 'asdasd',
  'secret' => 'asdasdasdasd',
  'trusted_domains' =>
  array (
    0 => 'my.domain.com',
    1 => 'pi.ip.add.ress',
  ),
  'datadirectory' => '/media/GoFlex2TB',
  'overwrite.cli.url' => 'https://my.domain.com/nextcloud',
  'dbtype' => 'mysql',
  'version' => '12.0.1.5',
  'dbname' => 'cloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'mydbuser',
  'dbpassword' => 'mydbpassword',
  'installed' => true,
  'mail_domain' => 'my.domain',
  'mail_from_address' => 'nextcloudserver',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
);

The output of your Apache/nginx/system log in /var/log/____:
access.log:

31.49.12.180 - - [10/Aug/2017:13:44:03 +0000] "MKCOL /nextcloud/remote.php/dav/files/USERNAME/BCCS/Maths/2015%20Autumn%20Term HTTP/1.1" 201 611 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
31.49.12.180 - - [10/Aug/2017:13:44:04 +0000] "PUT /nextcloud/remote.php/dav/files/USERNAME/BCCS/Kit%20list/YR%207/YEAR%207%20CAMP%20BASIC%20KIT%20LIST%202015-1.docx HTTP/1.1" 500 1083 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
31.49.12.180 - - [10/Aug/2017:13:44:04 +0000] "PUT /nextcloud/remote.php/dav/files/USERNAME/BCCS/Maths/2015%20Autumn%20Term/Giant%20Hand%20Investigation%20data%20-%20COH%202015.xls HTTP/1.1" 500 941 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
31.49.12.180 - - [10/Aug/2017:13:44:05 +0000] "PUT /nextcloud/remote.php/dav/files/USERNAME/BCCS/Maths/2015%20Autumn%20Term/Probability%20HW.pdf HTTP/1.1" 500 1083 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
::1 - - [10/Aug/2017:13:44:07 +0000] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dummy connection)"
31.49.12.180 - - [10/Aug/2017:13:44:04 +0000] "MKCOL /nextcloud/remote.php/dav/uploads/USERNAME/3777445273 HTTP/1.1" 500 6312 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
::1 - - [10/Aug/2017:13:44:11 +0000] "OPTIONS * HTTP/1.0" 200 128 "-" "Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t (internal dummy connection)"
31.49.12.180 - - [10/Aug/2017:13:44:19 +0000] "PROPFIND /nextcloud/remote.php/dav/files/USERNAME/ HTTP/1.1" 207 1678 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
31.49.12.180 - - [10/Aug/2017:13:44:23 +0000] "PROPFIND /nextcloud/remote.php/dav/files/USERNAME/ HTTP/1.1" 207 3104 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (build 1) (Nextcloud)"
31.49.12.180 - - [10/Aug/2017:13:44:23 +0000] "PROPFIND /nextcloud/remote.php/dav/files/USERNAME/BCCS HTTP/1.1" 207 7286 "-" "Mozilla/5.0 (Windows) mirall/2.3.2 (bui

error.log:

[Thu Aug 10 13:44:25.278232 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:25.319311 2017] [log_config:warn] [pid 29105] (28)No space left on device: [client 31.49.12.180:58915] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:25.442140 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:25.598996 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:25.758292 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:25.916329 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:26.079653 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:26.279931 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:26.437385 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing to /var/log/apache2/access.log
[Thu Aug 10 13:44:26.592211 2017] [log_config:warn] [pid 29728] (28)No space left on device: [client 31.49.12.180:51693] AH00646: Error writing

You see there your SD-Card is full and it needs some storage. It is important for running mysql and apache for writing into logs e.g. So it´s neccessery to be a little bit storage for the primary partition.
If you restart your pi (don´t do it) your pi won´t get started, because it can´t start any service referable to no storage.

Try to > sudo apt-get clean
or even with sudo apt-get autoclean. It should remove old archives. Then try to flush some logs with higher storage.

Until you have checked df -h for enough storage you can try a restart of the pi and all services should run perfectly again.

Thanks STrike.

oops - got your note just after restarting :frowning: pi is not happy.
I did the two apt-get commands and it didn’t clean much.
apache log is biggest in /var/log/ but only 4MB
ncdu -x shows:
7.9GiB [##########] /media (This is my external Hard Drive)
2.7GiB [### ] /usr
867.3MiB [# ] /opt
832.9MiB [# ] /var
312.0MiB [ ] /lib
41.4MiB [ ] /root
31.0MiB [ ] /etc

None of that adds up to 32GB (which is I think what my SD card is.
Any clues how I find out what the big file is?
Cheers
David

Well, do you forgot to expand your filesystem?
You can try with sudo raspi-config (more information)

Another Option: I was running the Cloud only on the SD-Card and it was getting out of storage. Then I have installed Pihole (DNS-Service) and i got a problem with the pi. I surfed all day in the www and with every request I did the pihole flooded his logs with all requests. The log was over 1 GB. :wink:

What else do you run on the pi?

Cheer STrike

I tried the expand filesystem thing and it said it wasn’t supported because I was probably using noobs and so it was expanded anyway.

I have not added anything else to the pi except what is needed for nextcloud. I’m running it headless since about 10 mintues after first setup

need to find the large files!!

Right I’ve done a bit more digging (after unintsalling a load of stuff to free up some space. Then I thought I’d better copy a huge movie on to the SD card so that I can delete it again if I get full and need some space!)

Please can someone explain the discrepancy between this:

Which shows that my card (think it’s 16GB not 32! has a file system partions that has 12GB used (I still don’t know how though)
and this:

Which says that it’s only got 3.7GB of data on it.

Cheers

David

umph, I think you´re using NOOBS as a bootloader. So I think the Bootloader needs some storage to keep the NOOBS (at startup of the system) running and with NOOBS it´s possible to start with other operating systems on the same SD-Card. I think it´s reserving some storage for another OS.
Which OS you´re using depends on what you want to do with your pi. Firstly I started also with NOOBs, but finally I changed the os to raspian.

I think I worked it out (a bit)
I don’t think my external drive was mounted properly (see there is no /media/GoFlex2TB in the df output)
So everything nextcloud that I thought was going external was going to the /media/GoFlex2TB mointpoint folder rather than to the drive that was supposed to be mounted.

When you cd in to the mount point, is there an easy way to know if you’re looking at files in the mount point folder of files on the drive.

Cheers
David

Well, I don’t know how you move your data directory to save files on an external device,
but maybe this brings you to a solution:

I use the second version and it works great with an usb storage.
If you want to list the directory try ls -l

the mounted device has to be listed in df -h.
blkid shows you the UUID which you have to enter in /etc/fstab
cheers