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:
03-18 06:36:43:712 _csync_propagation_file_visitor: FAIL NEW: Documents/stuff.tgz 03-18 06:36:43:712 csync_propagate: Propagation for remote replica took 15.26 seconds visiting 497 files. 03-18 06:36:43:712 #### ERROR during cysnc_reconcile : "CSync processing step propagate failed.
Backend Message: Could not read response body: connection was closed by server"
After some digging, I discovered:
- It only happens with Apache, and not with Nginx.
- It happens with Csync 1.2.0 and up, but not Csync 1.1.x.
- It happens after upgrading to ownCloud 4.5, and may not affect ownCloud 4.1.
- 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.
- Disable Archive support
- Login to the ownCloud web interface
- Click “Settings” -> “Apps”
- Select “Archive support”
- Press “Disable”
- Force ownCloud to regenerate the file cache
- In ownCloud, click “Files”
- In Firefox, go to the Firefox or Tools Menu
- Type “scanFiles(true)” and hit Enter
After that, Csync should synchronise your compressed files correctly.