Nextcloud instance quietly stopped syncing five days ago

Hi folks,

I’ve been running Nextcloud very happily for over a year and updating semi-regularly. I noticed an error on a mobile device (via DAVx^5) when creating a contact that the server threw an error while trying to create the contact. This kept happening so I chalked it up to a bad client and went into the web interface to try and create it; I can create the contact but it doesn’t save there and I get the following message displayed on screen when hovering over a ! icon:

This contact is not yet synced. Edit it to save it to the server

And it just hangs like that forever. As expected when I navigate away from the page the contact is not saved.

While on the web client I also noticed that the “latest” updated files were around 5 days old, and confirmed that files that I’ve been adding today and yesterday were not on the server. My desktop client (Xubuntu 20.04) didn’t show any visual errors, but when I looked at the Activity tab it gave the following message:

An error occured while opening a folder Server stopped accepting new streams

I also get some more recent messages in the format of:

Error transferring https://my.nextcloud.server/remote.php/dav/files/path/to/failed/files.file

I have confirmed that I can create folders and text files via the web interface and they become available on the web and mobile versions. If I try to upload a small text file of around 530 bytes via the Android client (v 3.15.0) then I get an error of:

Malformed server configuration

I have checked my server configuration via the web client and nothing has changed, although I have historically gotten warnings:

  • The PHP memory limit is below the recommended value of 512MB.
  • The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips :arrow_upper_right:.

But I don’t suspect these are to blame as these have always been present.

Has anyone experienced anything similar? I’m hosting on a shared hosting box via Dreamhost with unlimited file storage and running Nextcloud 20.0.08 with php 7.3 fastCGI


This could be an answer, somebody changed PHP configuration. Could you check it first?