After migration to a new server

Hello I have migrated the owncloud installation to a new virtual server:

The new server has the following specs:

  • Ubuntu 16.04
  • Web Server: nginx 1.10
  • PHP v7.08
  • MariaDB 10.0.25
  • oC 9.1.0
  • 2 GB RAM
  • 2 vCPU on VMware vSphere 6.0

Since the migration the clients which connects through web dav to our cloud server generate the following error on the server. {"reqId":"3odHhhXav1aSTD8SjxeF","remoteAddr":"77.59.128.126","app":"PHP","message":"stream_get_contents() expects parameter 2 to be integer, string given at \/var\/www\/html\/owncloud\/3rdparty\/sabre\/http\/lib\/Message.php#81.

What does this mean?

The webDAV clients are Synlogy Disk Station which have the application Cloud Sync installed. This webDAV connections create a high load average on the server too. When I stop this connections the load average goes between 1 and 2. As soon as I start the webDAV connections again, load average starts to goes up.

Best Regards

Gennaro Piano

Did you upgrade from 9.0?
I found this issue with the same error message: https://github.com/owncloud/core/issues/24320

On the admin-page the code-integrity check shows no errors?

Yes I did upgrade from 9.0.3.
The strange Thing is that the hole synchronization between the ownCloud Servers and the WEBDAV clients works.

The issue has not the exactly error message. The error message on the issue is "stream_get_contents() expects parameter 2 to be long".

My error message is "stream_get_contents() expects parameter 2 to be integer".

Best Regards

Let's say it's a similar problem with the same function. So it was not properly fixed. Can you connect to demo.owncloud.org (user/pw: test/test)?

I think, this error can be reported to the bugtracker https://github.com/owncloud/core/issues

OK thank you.

I can connect to demo.owncloud.org. But what does this matter with my issue?

Best Regards

If there was a general bug in owncloud, it would fail as well. Now, you need to figure out what makes your setup special (setup environment, apps used, ..).

Because the initial error shouldn't show up at all, it's the best to open an issue on the bugtracker and to fill out the issue template: https://github.com/owncloud/core/issues