-
Notifications
You must be signed in to change notification settings - Fork 793
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
[Bug]: Error in Log, while syncing empty files #5758
Comments
Description regarding similar issues changed |
Also, everytime i creat a text file and save it i get an error Anything that can be done here for a quick fix? Running Windows 11 Pro, Desktop Cleint Version 3.9.0, Nextcloud Server 27.0.0 Then in the server logs you see
|
from server nextcloud.log, there is this error when trying to bulk-upload an empty file, while there is no error when using the normal upload {"reqId":"27YK0QqrnJXGVs2kKJ71","level":3,"time":"2023-06-22T08:52:30+00:00","remoteAddr":"172.18.0.1","user":"newuser","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.9.50git (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"26.0.1.1","exception":{"Exception":"Sabre\DAV\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/var/www/html/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\DAV\BulkUpload\MultipartRequestParser","type":"->","args":["--boundary_.oOo._8AcCLalcOaQxs0pKkjTCKKFREvAPcy1T--\r\n"]},{"file":"/var/www/html/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\DAV\BulkUpload\MultipartRequestParser","type":"->","args":[]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\DAV\BulkUpload\BulkUploadPlugin","type":"->","args":[["Sabre\HTTP\Request"],["Sabre\HTTP\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\DAV\Server","type":"->","args":["method:POST",[["Sabre\HTTP\Request"],["Sabre\HTTP\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\DAV\Server","type":"->","args":[["Sabre\HTTP\Request"],["Sabre\HTTP\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\DAV\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":366,"function":"exec","class":"Sabre\DAV\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\DAV\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}} |
On the client side, I am getting (with another file): #########BulkUpload - FAILS ########## #########Normal Upload - SUCCEEDS ########## So far, it is hard to tell if this should be fixed on the client or server side. On the client side, the fastest solution is to always use normal upload for empty files, but this is just masking the root cause. Probably needs a fix on the server. |
Yea, I agree with you! Masking the root cause is not a fix, just a bandaid. Hopefully, it'll be an easy fix on the server side. Thanks for your feedback. |
@Tlohmueller i think they have a fix please see #5871 im waiting for @mgallien to confirm |
fixed by #5871 |
Bug description
After upgrading from Nextcloud 25 to Nextcloud 26.0.2 I noticed some errors produced in the nextcloud server log.
Upon inspection, this error happens when using the Version 3.8.2 Ubuntu-Client and trying to sync empty files and also throws an error on the client side "Document could not be synced due to a error. See logs for detail".
I found no other way to reproduce the error. Other clients have not been tested.
Although the error gets reported server and client side, the file gets uploaded to the cloud.
Also I'm not sure if this error may effect the functionality of the client or the server.
Regarding similar Issues:
Unlike Issue nextcloud/server#30626 the client does not freeze, where the same error occurs.
Also unlike Issue nextcloud/server#30424 this Error did not happen with Nextcloud Version 23 and happened the first time right after upgrading from Version 25 to Version 26. The mentioned workaround, 'bulkupload.enabled' => false", did also not work.
Steps to reproduce
Expected behavior
No errors thrown on both client and server side.
Installation method
Community Manual installation with Archive
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated to a major version (25 to 26.02)
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Nextcloud Client Version 3.8.2 (Ubuntu)
The text was updated successfully, but these errors were encountered: