Nach dem Update auf NC 21.0.1, Fehler:nextcloud (smb/cifS) sabre dav exception
Nach dem Update auf 21.0.1 können wir keine Dateien mehr auf die gemounteten samba Freigaben hochladen:
Fehler: Could not rename part file to final file
Log-Meldung:
[webdav] Fatal: Sabre\DAV\Exception: Could not rename part file to final file at <>
- /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 156
OCA\DAV\Connector\Sabre\File->put(null) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1098
OCA\DAV\Connector\Sabre\Directory->createFile(“Zugangsdaten-auth-hofmann.docx”, null) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 504
Sabre\DAV\Server->createFile(“Test1/Zugangsdaten-auth-hofmann.docx”, null, null) - /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {}) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
Sabre\DAV\Server->emit(“method:PUT”, [Sabre\HTTP\Requ … }]) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {}) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start() - /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec() - /var/www/html/nextcloud/remote.php line 167
require_once("/var/www/html/n … p")
PUT /nextcloud/remote.php/webdav/Test1/Zugangsdaten-xxxx-xxxx.docx
from 192.168.xxx.14 by 125132FC-FA1C-4780-A280-DE9458AAFA8E at 2021-04-15T11:47:53+00:00
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691 at <>
- <>
OC\Log\ErrorHandler::onError(2, “Cannot modify h … )”, “/var/www/html/n … p”, 691, {string: "X-Hash … "}) - /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 691
header(“X-Hash-SHA256: … 5”) - /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 195
OCA\DAV\Connector\Sabre\File->header(“X-Hash-SHA256: … 5”) - <>
OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***") - /var/www/html/nextcloud/lib/private/Files/Stream/HashWrapper.php line 71
call_user_func(Closure {}, “*** sensitive parameter replaced ***”) - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 310
OC\Files\Stream\HashWrapper->stream_close() - /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start() - /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec() - /var/www/html/nextcloud/remote.php line 167
require_once("/var/www/html/n … p")
PUT /nextcloud/remote.php/webdav/Test1/Zugangsdaten-xxx-xxxx.docx
from 192.168.xx.14 by 125132FC-FA1C-4780-A280-DE9458AAFA8E at 2021-04-15T11:47:53+00:00
Gleichzeitig tritt noch ein weiterer Fehler auf, der nur ONLYOFFICE /Datein betrifft und nur auf den smb mounts. Dateien die sich vorher problemlos öffnen liesen sind nun komplett unlesbar und fragen nach der Zeichenkodierung:
{“reqId”:“YHgppQGZH6AG9QUS9jpDsgAAARM”,“level”:3,“time”:“2021-04-15T11:55:18+00:00”,“remoteAddr”:“192.168.135.14”,“user”:“125132FC-FA1C-4780-A280-DE9458AAFA8E”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/apps/onlyoffice/download?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJkb3dubG9hZCIsImZpbGVJZCI6MzY4OTI4NywidXNlcklkIjoiMTI1MTMyRkMtRkExQy00NzgwLUEyODAtREU5NDU4QUFGQThFIn0.UuMb4Ek-AwHVo77hiZZVzztkpf57541pAbTZKgZdD44",“message”:{“Exception”:“Error”,“Message”:“stream_get_contents(): Icewind\SMB\Native\NativeReadStream::stream_read - read 57344 bytes more data than requested (65536 read, 8192 max) - excess data will be lost at /var/www/html/nextcloud/lib/private/Files/Storage/Common.php#200”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:"::",“args”:[2,“stream_get_contents(): Icewind\SMB\Native\NativeReadStream::stream_read - read 57344 bytes more data than requested (65536 read, 8192 max) - excess data will be lost”,"/var/www/html/nextcloud/lib/private/Files/Storage/Common.php",200,{“path”:“Schutzmaßnahmen bei Bautätigkeiten.docx”,“handle”:null}]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Common.php",“line”:200,“function”:“stream_get_contents”,“args”:[null]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:248,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Common”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:248,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php",“line”:265,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:248,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Availability”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/apps/files_lock/lib/Storage/LockWrapper.php",“line”:218,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php",“line”:228,“function”:“file_get_contents”,“class”:“OCA\FilesLock\Storage\LockWrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:248,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Encryption”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php",“line”:170,“function”:“file_get_contents”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/View.php",“line”:1168,“function”:“file_get_contents”,“class”:“OCA\FilesAccessControl\StorageWrapper”,“type”:"->",“args”:[“Schutzmaßnahmen bei Bautätigkeiten.docx”]},{“file”:"/var/www/html/nextcloud/lib/private/Files/View.php",“line”:598,“function”:“basicOperation”,“class”:“OC\Files\View”,“type”:"->",“args”:[“file_get_contents”,"/125132FC-FA1C-4780-A280-DE9458AAFA8E/files/Test1/Schutzmaßnahmen bei Bautätigkeiten.docx",[“read”]]},{“file”:"/var/www/html/nextcloud/lib/private/Files/Node/File.php",“line”:57,“function”:“file_get_contents”,“class”:“OC\Files\View”,“type”:"->",“args”:["/125132FC-FA1C-4780-A280-DE9458AAFA8E/files/Test1/Schutzmaßnahmen bei Bautätigkeiten.docx"]},{“file”:"/var/www/html/nextcloud/apps/onlyoffice/controller/callbackcontroller.php",“line”:295,“function”:“getContent”,“class”:“OC\Files\Node\File”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:218,“function”:“download”,“class”:“OCA\Onlyoffice\Controller\CallbackController”,“type”:"->",“args”:[“eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJkb3dubG9hZCIsImZpbGVJZCI6MzY4OTI4NywidXNlcklkIjoiMTI1MTMyRkMtRkExQy00NzgwLUEyODAtREU5NDU4QUFGQThFIn0.UuMb4Ek-AwHVo77hiZZVzztkpf57541pAbTZKgZdD44”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:127,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Onlyoffice\Controller\CallbackController”},“download”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:157,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Onlyoffice\Controller\CallbackController”},“download”]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:302,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Onlyoffice\Controller\CallbackController”,“download”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“onlyoffice.callback.download”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:993,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/onlyoffice/download"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php",“Line”:92,“CustomMessage”:"–"},“userAgent”:“Node.js/6.13”,“version”:“21.0.1.1”,“id”:“60782a1e355bd”}
Betrifft: Betriebsystem Centos 7 php 7.3.1, Apache/2.4.43 , External Storage 1.12