The Wayback Machine - https://web.archive.org/web/20220111070512/https://github.com/nextcloud/server/issues/30424
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

Bulk upload - Unspecific upload error upload leads to client freeze #30424

Open
lars-becker opened this issue Dec 28, 2021 · 5 comments
Open

Bulk upload - Unspecific upload error upload leads to client freeze #30424

lars-becker opened this issue Dec 28, 2021 · 5 comments

Comments

@lars-becker
Copy link

@lars-becker lars-becker commented Dec 28, 2021

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Installed Nextcloud Hub II and Desktop Client 3.4.1
  2. The client freezes when trying to upload a changed file.
  3. Currently not clear which condidition triggers the error. The log message is unspecific.

Expected behaviour

The client should sync the file with the server.

Actual behaviour

The client freezes. See this related issue: nextcloud/desktop#4106

Server configuration

Operating system: Ubuntu 18.04.6 LTS (Bionic Beaver)
Nextcloud version: (see Nextcloud admin page) version: 23.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install: Upgraded since OwnCloud 5 or 6 1�7

Logs

Web server error log

Web server error log
Dez 28 17:09:43 jarvis Nextcloud[21403]: {"reqId":"0hgEj8EYAmtZMK2RzNhl","level":4,"time":"2021-12-28T17:09:43+01:00","remoteAddr":"IP_ADDRESS_REDACTED","user":"lars","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"{\"Exce
ption\":\"Sabre\\\\DAV\\\\Exception\",\"Message\":\"Unknown error while seeking content\",\"Code\":500,\"Trace\":[{\"file\":\"/var/www/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php\",\"line\":129,\"function\":\"isAt\",\"cl
ass\":\"OCA\\\\DAV\\\\BulkUpload\\\\MultipartRequestParser\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/apps/dav/lib/BulkUpload/BulkUploadPlugin.php\",\"line\":69,\"function\":\"isAtLastBoundary\",\"class\":\"OCA\\\\DAV\\\\BulkUploa
d\\\\MultipartRequestParser\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"httpPost\",\"class\":\"OCA\\\\DAV\\\\BulkUpload\\\\BulkUploadPlugin\",\"type\":\
"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":472,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\"
,\"line\":253,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":321,\"function\":\"start\",\"class\":\"Sabre\\\\DAV\\\\Serv
er\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/apps/dav/lib/Server.php\",\"line\":339,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php\",\"lin
e\":35,\"function\":\"exec\",\"class\":\"OCA\\\\DAV\\\\Server\",\"type\":\"->\"},{\"file\":\"/var/www/nextcloud/remote.php\",\"line\":166,\"args\":[\"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php\"],\"function\":\"require_once\"}],\"
File\":\"/var/www/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php\",\"Line\":111,\"CustomMessage\":\"--\"}","userAgent":"Mozilla/5.0 (Linux) mirall/3.4.1git (Nextcloud, arch-5.15.11-arch2-1 ClientArchitecture: x86_64 OsArchi
tecture: x86_64)","version":"23.0.0.10"}
@lars-becker lars-becker changed the title Unspecific upload error with new bulk upload leads to client freezes Unspecific upload error with new bulk upload leads to client freeze Dec 28, 2021
@acsfer acsfer changed the title Unspecific upload error with new bulk upload leads to client freeze Bulk upload - Unspecific upload error upload leads to client freeze Dec 30, 2021
@acsfer acsfer mentioned this issue Dec 30, 2021
2 tasks
@cbcoutinho
Copy link

@cbcoutinho cbcoutinho commented Jan 4, 2022

I am also suffering from the same problem. I found this issue after noticing that the Windows Desktop client is no longer syncing after a recent update (nextcloud help #129862)

I see the following in my server logs

{
  "reqId": "U0mhUkrh947JoXn2fn91",
  "level": 4,
  "time": "2022-01-04T08:23:03+00:00",
  "remoteAddr": "redacted",
  "user": "redacted",
  "app": "webdav",
  "method": "POST",
  "url": "/remote.php/dav/bulk",
  "message": "Unknown error while seeking content",
  "userAgent": "Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)",
  "version": "23.0.0.10",
  "exception": {
    "Exception": "Sabre\\DAV\\Exception",
    "Message": "Unknown error while seeking content",
    "Code": 500,
    "Trace": [
      {
        "file": "/var/www/html/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php",
        "line": 129,
        "function": "isAt",
        "class": "OCA\\DAV\\BulkUpload\\MultipartRequestParser",
        "type": "->",
        "args": [
          "--boundary_.oOo._fYSlcaj4VeLLbjrfOnsBCIlAcPzhiaz/--\r\n"
        ]
      },
      {
        "file": "/var/www/html/nextcloud/apps/dav/lib/BulkUpload/BulkUploadPlugin.php",
        "line": 69,
        "function": "isAtLastBoundary",
        "class": "OCA\\DAV\\BulkUpload\\MultipartRequestParser",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
        "line": 89,
        "function": "httpPost",
        "class": "OCA\\DAV\\BulkUpload\\BulkUploadPlugin",
        "type": "->",
        "args": [
          {
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 472,
        "function": "emit",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          "method:POST",
          [
            {
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        ]
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 253,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          {
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 321,
        "function": "start",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/nextcloud/apps/dav/lib/Server.php",
        "line": 339,
        "function": "exec",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",
        "line": 35,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/nextcloud/remote.php",
        "line": 166,
        "args": [
          "/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php",
    "Line": 111,
    "CustomMessage": "--"
  }
}
@timbrd
Copy link

@timbrd timbrd commented Jan 4, 2022

Same problem here after upgrading to 3.4.0/3.4.1.
I am running the client on MacOS arm64, so it seems that all operating systems and architectures are affected.

@Cysioland
Copy link

@Cysioland Cysioland commented Jan 4, 2022

Same here with Nextcloud on Ubuntu 20.04.3, PHP 7.4, desktop 3.4.1 on Arch Linux.

@sigreer
Copy link

@sigreer sigreer commented Jan 9, 2022

I've been scratching my head with this one for days now. Arch Linux 3.4.1. Nextcloud on TrueNAS k3s w/ php 8.0.

Any workarounds or anything? I've literally got half of all users' files available.

@bananer
Copy link

@bananer bananer commented Jan 10, 2022

See nextcloud/desktop#4106

Downgrading the client to 3.3.6 seems to work around the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment