Problem with ownCloud and Synology DSM - Cloud Sync

nas

#1

Hello owncloud-community,

I have a Synology NAS (DS214se with DSM 6.0.2-8451 Update 5) and the package Cloud Sync.

I want to synchronize via WebDAV folder bidirectionally, so I can access the data at home in the LAN.

Unfortunately the NAS breaks the process after a short time and shows the following error:
"The quota of the public cloud is not big enough"

In the settings of the ownCloud the users but all have no limit and the webspace is also unlimited size.

Where is the error?

Thank you for your answers!

regards
Lernbereit


#2

Actual disk sizes are not infinite. So ownCloud used to show min(quota_set_in_OC, remaining disk space). You can actually check the available storage shown via webdav manually on a Linux terminal:
curl --user 'user:password' -i -X PROPFIND https://example.com/owncloud/remote.php/webdav/ -H "Depth: 1" <<end

this opens a connection and you can pass a query:

  <?xml version="1.0" ?>
  <D:propfind xmlns:D="DAV:">
    <D:prop>
      <D:quota-available-bytes/>
      <D:quota-used-bytes/>
    </D:prop>
  </D:propfind>

In the answer you should get a file listing and the used and available bytes for each folder, e.g.

 <d:response>
  <d:href>/owncloud/remote.php/webdav/</d:href>
  <d:propstat>
   <d:prop>
    <d:getlastmodified>Mon, 19 Dec 2016 09:57:36 GMT</d:getlastmodified>
    <d:resourcetype>
     <d:collection/>
    </d:resourcetype>
    <d:quota-used-bytes>108069642057</d:quota-used-bytes>
    <d:quota-available-bytes>6821768181</d:quota-available-bytes>
    <d:getetag>&quot;36f38bcf56b8efaca5c198d5e2893f2a&quot;</d:getetag>
   </d:prop>
   <d:status>HTTP/1.1 200 OK</d:status>
  </d:propstat>
 </d:response>

In this case about 6.8 GB are available on this storage. Check how much storage is available on your disk and if there are large variations.

References where I got the commands from:
http://uwiki.org/uwiki/curl_dav.html
http://www.webdav.org/specs/rfc4331.html#example-propfind