Skip to content

WebDAV: stream_get_contents() expects parameter 2 to be long, string given #680

@flobeier

Description

@flobeier

Steps to reproduce

  1. Install Nextcloud 9.0.53
  2. Use WebDAV to sync files from Synology Diskstation to Nextcloud (URL: cloud.example.com/remote.php/dav/files/Username)

Expected behaviour

No error shows up.

Actual behaviour

Files get uploaded but log gets filled with the following error:

stream_get_contents() expects parameter 2 to be long, string given at /var/www/cloud/3rdparty/sabre/http/lib/Message.php#81

Server configuration

Operating system: Debian 8.5

Web server: nginx/1.6.2

Database: MySQL 10.0.25-MariaDB

PHP version: PHP 5.6.24

Nextcloud version: 9.0.53

Updated from an older Nextcloud/ownCloud or fresh install: Updated from ownCloud 9.0.2

Where did you install Nextcloud from: Tarball from official website

The same error seems to be present in ownCloud, see here: https://central.owncloud.org/t/after-migration-to-a-new-server/1185/6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions