ownCloud client fails to sync compressed files

I recently added a few new files (.tar.gz archives) to the ownCloud folder on my desktop PC. The next morning I discovered that my laptop couldn’t sync them. The ownCloud client (Csync) displayed:

Csync processing step propagate failed

Starting the client with “owncloud --logwindow” produced this message:

After some digging, I discovered:

  1. It only happens with Apache, and not with Nginx.
  2. It happens with Csync 1.2.0 and up, but not Csync 1.1.x.
  3. It happens after upgrading to ownCloud 4.5, and may not affect ownCloud 4.1.
  4. It only happens if you add compressed files, including at least zip and tar.gz.

Possible solutions include downgrading Csync or switching web servers, but you don’t really want to do that. The easy workaround is to disable the “Archive support” plugin and force ownCloud to recalculate the file cache.

  1. Disable Archive support
    1. Login to the ownCloud web interface
    2. Click “Settings” -> “Apps”
    3. Select “Archive support”
    4. Press “Disable”
  2. Force ownCloud to regenerate the file cache
    1. In ownCloud, click “Files”
    2. In Firefox, go to the Firefox or Tools Menu
    3. Select “Web Developer” -> “Web Console” to open a Javascript console
    4. Type “scanFiles(true)” and hit Enter

After that, Csync should synchronise your compressed files correctly.

Tags:

Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">