INSTRUCTION_CONFLICT trigger command: sendfile, error: Unknown error: 10013 from errno 10013
Owncloud 4.5.6 Owncloud client 1.2.0 Mac OS X Mountain Lion 10.8.2
Csync process restart from scratch when encountering Unknown error: 10013. No PHP errors appears in servers logs.
The file source of the error has a conflict :
01-30 07:25:35:170 _csync_merge_algorithm_visitor: INSTRUCTION_CONFLICT file: foobar/default/BaseColorProfile.html
The conflict trigger a error that cause the csync process to restart the tree walk:
01-30 07:25:35:664 csync_reconcile: Reconciliation for remote replica took 0,49 seconds visiting 31463 files.
01-30 07:25:35:703 _csync_propagation_dir_visitor: directory attributes different
01-30 07:25:35:703 oc_module: Add a time delta to modtime 1359524406: 18446744073709551612
01-30 07:25:35:703 oc_module: Setting LastModified of /remote.php/foobar/web/js/tiny_mce/plugins/template/langs to 1359524402
01-30 07:25:36:418 _store_id_update: SYNCED remember dir: foobar/web/js/tiny_mce/plugins/template/langs
01-30 07:25:36:418 _csync_sync_dir: SYNCED dir: ownclouds://cloud.biapy.fr/remote.php/webdav/clientsync/foobar/web/js/tiny_mce/plugins/template/langs
01-30 07:25:36:420 csync_propagate: Propagation for local replica took 0,72 seconds visiting 31461 files.
01-30 07:25:36:420 _csync_propagation_file_visitor: case CSYNC_INSTRUCTION_CONFLICT: foobar/default/BaseColorProfile.html
01-30 07:25:36:420 _csync_backup_file: CSYNC_INSTRUCTION_CONFLICT
01-30 07:25:36:420 _backup_path: directory: foobar/default/
01-30 07:25:36:420 _backup_path: filename : BaseColorProfile
01-30 07:25:36:420 _backup_path: extension: .html
01-30 07:25:36:420 _csync_backup_file: suri: /Users/pierre-yves/ownCloud/foobar/default/BaseColorProfile.html
01-30 07:25:36:420 _csync_backup_file: duri: /Users/pierre-yves/ownCloud/foobar/default/BaseColorProfile_conflict-20130130-072536.html
01-30 07:25:36:459 _csync_backup_file: BACKUP file: /Users/pierre-yves/ownCloud/foobar/default/BaseColorProfile_conflict-20130130-072536.html
01-30 07:25:36:460 oc_module: => open called for ownclouds://cloud.biapy.fr/remote.php/webdav/clientsync/foobar/default/BaseColorProfile.html
01-30 07:25:36:460 oc_module: GET request on /remote.php/webdav/clientsync/foobar/default/BaseColorProfile.html
01-30 07:25:36:460 oc_module: Sendfile handling request type GET.
01-30 07:25:36:460 oc_module: -- GET on ownclouds://cloud.biapy.fr/remote.php/webdav/clientsync/foobar/default/BaseColorProfile.html
01-30 07:25:36:470 FolderWatcherPrivate::callback by OS X
01-30 07:25:36:470 FolderWatcher::changeDetected when eventsEnabled() -> ignore
01-30 07:25:36:828 oc_module: Content encoding ist
Message sous-jacent :Could not read response body: connection was closed by server"
01-30 07:25:41:856 FolderWatcherPrivate::callback by OS X
01-30 07:25:41:856 FolderWatcher::changeDetected when eventsEnabled() -> ignore
01-30 07:25:41:882 csync_lock_remove: Removing lock file: /Users/pierre-yves/Library/Application Support/ownCloud//lock
01-30 07:25:41:933 CSync run took 1640171 Milliseconds
01-30 07:25:41:934 -> CSync Finished slot with error true
01-30 07:25:41:934 ** error Strings: ("Erreur CSync lors de l'opération de propagation
Message sous-jacent :Could not read response body: connection was closed by server")
01-30 07:25:41:934 * owncloud csync thread finished with error
01-30 07:25:41:934 Starting Event logging again in 2000 milliseconds
01-30 07:25:41:934 OO folder slotSyncFinished: result: 4 local: false
01-30 07:25:41:934 ==> load folder icon "owncloud-framed"
01-30 07:25:41:934 Returning configured owncloud url: "https://cloud.biapy.fr/remote.php/webdav/"
01-30 07:25:41:934 Folder in overallStatus Message: Mirall::ownCloudFolder(0x107112c90) with name "ownCloud"
01-30 07:25:41:935 Sync state changed for folder "ownCloud" : "Error"
01-30 07:25:41:935 * "ownCloud" Poll timer enabled with 28023 milliseconds
01-30 07:25:41:935 <===================================== sync finished for "ownCloud"
01-30 07:25:42:135 XX slotScheduleFolderSync: folderQueue size: 0
01-30 07:25:43:934 * event notification enabled
01-30 07:26:09:958 * Polling "ownCloud" for changes. Ignoring all pending events until now
01-30 07:26:09:958 * "ownCloud" Poll timer disabled
01-30 07:26:09:958 Schedule folder "ownCloud" to sync!
01-30 07:26:09:958 XX slotScheduleFolderSync: folderQueue size: 1
01-30 07:26:09:959 ==> load folder icon "owncloud-framed"
01-30 07:26:09:960 Returning configured owncloud url: "https://cloud.biapy.fr/remote.php/webdav/"
01-30 07:26:09:960 Folder in overallStatus Message: Mirall::ownCloudFolder(0x107112c90) with name "ownCloud"
01-30 07:26:09:960 Sync state changed for folder "ownCloud" : "Sync Running"
01-30 07:26:09:960 *** Start syncing url to ownCloud: "ownclouds://cloud.biapy.fr/remote.php/webdav/clientsync"
01-30 07:26:09:960 Returning configured owncloud url: "https://cloud.biapy.fr/"
01-30 07:26:09:961 starting to sync QThread(0x102101370) QThread(0x10e0000a0)
01-30 07:26:09:961 ==> returning exclude file path: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-30 07:26:09:961 ==== added CSync exclude List: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-30 07:26:09:961 * csync thread started
01-30 07:26:09:961 * event notification disabled
01-30 07:26:09:961 >===================================== sync started for "ownCloud"
01-30 07:26:09:963 #### Update start #################################################### >>
01-30 07:26:09:963 csync_ftw: Incoming read_from_db-Flag for /Users/pierre-yves/ownCloud: 0
01-30 07:26:09:963 csync_ftw: .csync_journal.db excluded
01-30 07:26:09:963 csync_ftw: .csync_journal.db.ctmp excluded
01-30 07:26:09:963 csync_ftw: .DS_Store excluded
01-30 07:26:09:963 csync_ftw: Uniq ID read from Database: Biapy ->
Same problem here with: Owncloud 4.5.6 on ArchLinux Owncloud client 1.2.0 on ArchLinux
01-31 20:42:32:980 #============# Status dialog starting #=============#
01-31 20:42:32:980 Folder: Mirall::ownCloudFolder(0x2aa8d30)
01-31 20:42:32:980 ==> load folder icon "owncloud-framed"
01-31 20:42:32:980 Returning configured owncloud url: "http://cloud.danielecanciani.it/remote.php/webdav/"
01-31 20:42:44:182 Check status.php from statusdialog.
01-31 20:42:44:182 Get Request to "status.php"
01-31 20:42:44:182 Returning configured owncloud url: "http://cloud.danielecanciani.it/"
01-31 20:42:44:182 Returning configured owncloud url: "http://cloud.danielecanciani.it/"
01-31 20:42:44:182 Setting up host header: "cloud.danielecanciani.it"
01-31 20:42:44:278 status.php returns: "{"installed":"true","version":"4.90.7","versionstring":"4.5.6","edition":""}" 0 Reply: QNetworkReplyImpl(0x28abf10)
01-31 20:42:44:278 Unknown info from ownCloud status.php: "installed" = "true"
01-31 20:42:44:278 #-------# oC found on "http://cloud.danielecanciani.it"
01-31 20:42:51:355 oc_module: Neon error code was 1
01-31 20:42:51:356 oc_module: Error GET: Neon: 1, errno 10013
01-31 20:42:51:356 _csync_push_file: file: owncloud://cloud.danielecanciani.it/remote.php/webdav/Documenti/Varie/archivi vari/old.danielecanciani.it.zip, command: sendfile, error: Errore sconosciuto 10013 from errno 10013
01-31 20:42:51:356 _csync_propagation_file_visitor: FAIL NEW: Varie/archivi vari/old.danielecanciani.it.zip
01-31 20:42:51:356 csync_propagate: Propagation for remote replica took 30,83 seconds visiting 258 files.
01-31 20:42:51:356 #### ERROR csync_propagate: "La fase di propagazione di CSync non è riuscita.
Messaggio del motore: Could not read response body: connection timed out"
01-31 20:42:51:357 csync_lock_remove: Removing lock file: /home/daniele/.local/share/data//ownCloud//lock
01-31 20:42:51:359 CSync run took 35426 Milliseconds
01-31 20:42:51:361 -> CSync Finished slot with error true
01-31 20:42:51:361 ** error Strings: ("La fase di propagazione di CSync non è riuscita.
Messaggio del motore: Could not read response body: connection timed out")
01-31 20:42:51:361 * owncloud csync thread finished with error
01-31 20:42:51:361 Starting Event logging again in 2000 milliseconds
01-31 20:42:51:361 OO folder slotSyncFinished: result: 4 local: false
01-31 20:42:51:361 ==> load folder icon "owncloud-framed"
01-31 20:42:51:361 Returning configured owncloud url: "http://cloud.danielecanciani.it/remote.php/webdav/"
01-31 20:42:51:361 Folder in overallStatus Message: Mirall::ownCloudFolder(0x2aa8d30) with name "documenti"
01-31 20:42:51:361 Sync state changed for folder "documenti" : "Error"
01-31 20:42:51:361 * "documenti" Poll timer enabled with 28825 milliseconds
01-31 20:42:51:361 <===================================== sync finished for "documenti"
Same error here with Owncloud client 1.2.0 (final).
02-02 16:13:06:585 status.php returns: "{"installed":"true","version":"4.90.7","versionstring":"4.5.6","edition":""}" 0 Reply: QNetworkReplyImpl(0x10153c560)
Typical error log:
02-02 16:33:04:295 oc_module: => open called for ownclouds://fricloud.ch/remote.php/webdav/Observatoire/icons/Weather7_3_0_by_mohitg.zip
02-02 16:33:04:295 oc_module: GET request on /remote.php/webdav/Observatoire/icons/Weather7_3_0_by_mohitg.zip
02-02 16:33:04:295 oc_module: Sendfile handling request type GET.
02-02 16:33:04:295 oc_module: -- GET on ownclouds://fricloud.ch/remote.php/webdav/Observatoire/icons/Weather7_3_0_by_mohitg.zip
02-02 16:33:04:306 FolderWatcherPrivate::callback by OS X
02-02 16:33:04:306 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-02 16:33:24:557 oc_module: Neon error code was 1
02-02 16:33:24:557 oc_module: Error GET: Neon: 1, errno 10013
02-02 16:33:24:557 _csync_push_file: file: ownclouds://fricloud.ch/remote.php/webdav/Observatoire/icons/Weather7_3_0_by_mohitg.zip, command: sendfile, error: Unknown error: 10013 from errno 10013
02-02 16:33:24:645 _csync_propagation_file_visitor: FAIL NEW: Observatoire/icons/Weather7_3_0_by_mohitg.zip
02-02 16:33:24:645 csync_propagate: Propagation for remote replica took 887,70 seconds visiting 4662 files.
02-02 16:33:24:646 #### ERROR csync_propagate: "Erreur CSync lors de l'opération de propagation
Message sous-jacent :Could not read response body: connection was closed by server"
02-02 16:33:24:646 FolderWatcherPrivate::callback by OS X
02-02 16:33:24:646 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-02 16:33:24:714 FolderWatcherPrivate::callback by OS X
02-02 16:33:24:714 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-02 16:33:24:725 FolderWatcherPrivate::callback by OS X
02-02 16:33:24:725 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-02 16:33:24:759 CSync run took 1215776 Milliseconds
02-02 16:33:24:759 -> CSync Finished slot with error true
02-02 16:33:24:759 ** error Strings: ("Erreur CSync lors de l'opération de propagation
Message sous-jacent :Could not read response body: connection was closed by server")
02-02 16:33:24:759 * owncloud csync thread finished with error
02-02 16:33:24:759 Starting Event logging again in 2000 milliseconds
02-02 16:33:24:759 OO folder slotSyncFinished: result: 4 local: false
02-02 16:33:24:759 ==> load folder icon "owncloud-framed"
02-02 16:33:24:760 Returning configured owncloud url: "https://fricloud.ch/remote.php/webdav/"
02-02 16:33:24:760 Folder in overallStatus Message: Mirall::ownCloudFolder(0x1015d9570) with name "ownCloud"
02-02 16:33:24:760 Sync state changed for folder "ownCloud" : "Error"
02-02 16:33:24:760 * "ownCloud" Poll timer enabled with 28030 milliseconds
02-02 16:33:24:760 <===================================== sync finished for "ownCloud"
Do you have an antivirus suite running? It's suspicious that only .zip and .html are failing. Can you try to do a sync run with the antivirus completely disabled?
@danimo Hi, no antivirus suite on my computer. The ownCloud data was previously partialy uploaded by ownCloud client v1.1.4.
Same here, no antivirus and no problems with the old version of the client.
I can confirm this as well, same setup as in post 1. Sync is stuck at .zip files. Renaming them to .zip.old does not change anything.
02-18 19:28:30:244 oc_module: -- GET on ownclouds://blablabla/remote.php/webdav/folder/xxx.zip.old
02-18 19:28:30:255 FolderWatcherPrivate::callback by OS X
02-18 19:28:30:255 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-18 19:28:30:437 oc_module: Content encoding ist
The error messages here are either "Connection timed out" or "Connection was closed by server". Both could also be subject to apache configuration values, such as max execution time and such. Have you verified that?
I'll check my nginx configuration, but with the old owncloud client all works fine.
Same problem here with latest Owncloud 4.5.7 and 1.2.0 sync client. Also fails on a zip file and will not continue syncing the rest (which a.t.m. makes it unusable!).
02-21 10:34:26:653 oc_module: -- GET on ownclouds://domain/owncloud/remote.php/webdav/Dropbox/Opleiding/Projecten/Strooistralenrooster/beelden (jpg)/Bucky beelden met en zonder rooster.zip
02-21 10:34:26:653 virtual void Mirall::WatcherThread::run() Change detected in "D:/CloudStore" from Mirall::WatcherThread(0xe5d660)
02-21 10:34:26:716 oc_module: Content encoding ist
Backend Message: Could not read response body: connection was closed by server"
02-21 10:34:32:138 virtual void Mirall::WatcherThread::run() Change detected in "D:/CloudStore" from Mirall::WatcherThread(0xe5d660)
02-21 10:34:32:138 virtual void Mirall::WatcherThread::run() Change detected in "D:/CloudStore" from Mirall::WatcherThread(0xe5d660)
02-21 10:34:32:153 CSync run took 136105 Milliseconds
02-21 10:34:37:294 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-21 10:34:37:403 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-21 10:34:37:403 FolderWatcher::changeDetected when eventsEnabled() -> ignore
02-21 10:34:37:419 -> CSync Finished slot with error true
02-21 10:34:37:419 ** error Strings: ("CSync processing step propagate failed.
Backend Message: Could not read response body: connection was closed by server")
02-21 10:34:37:419 * owncloud csync thread finished with error
02-21 10:34:37:419 Starting Event logging again in 2000 milliseconds
Just got the same error again with a ZIP file (on OS X).
After renaming the file directly on the server, i.e. with root access (!):
cd /path/to/owncloud/accountname/files/
mv oldfilename.zip newfilename.zip
the error doesn't occur anymore and the sync continues (until the same error occurs again with another file :-()
BUT: owncloud still "syncs" a zero byte file with old file name!
I had this problem in the past with OC 4.5 and Linux clients up to 1.2.0.
I tried to search what could cause the problem, but no way; then I cleared the OC_FSCACHE table in OC database, rebuilt it with ReScan Directory command and the problem disappeared.
Maybe it is related to filename storing and handling in OC_FSCACHE.
Wagner
Il 25/02/2013 10:22, Nicolas Martignoni ha scritto:
Just got the same error again with a ZIP file.
After renaming the directly on the server, i.e. with root access (!):
cd /path/to/owncloud/accountname/files/ mv oldfilename.zip newfilename.zip
the error doesn't occur anymore and the sync continues (until the same error occurs again with another file :-()
— Reply to this email directly or view it on GitHub https://github.com/owncloud/mirall/issues/293#issuecomment-14031946.
Wagner Gobbi [email protected]
"La cosa più bella degli standard è che c'è ne molti fra cui puoi scegliere." (Andrew S. Tannenbaum)
I have the same problem with several different zip files. Server Version 4.5.7 (Debian 6 Apache) Client Version 1.2.1 (Ubuntu 12.10)
Do zip files get a special treatment? Does csync compress the data? Might a zip file interfere with this compression? I will test with different types of compressed files. If its a token that zipfiles contain it should not depend on the file extension, so renaming wouldnt help.
Can reproduce the error with ".tar.gz" file :/
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)
Thank you!
Please reopen it again,
i have the same problem with the actual version 1.3 Client and 5.0.10 Server version.
I can't checkout my files from the server.
Thanks a lot. krikit
What’s the plan of action here @dragotin @danimo?
@krikit- Please also provide your log and describe exactly the problem. The previous logs in this bug report show a connection timeout. Perhaps the server has a bad configured timeout and it fails because the file to transfer is too big?
In 1.5 the progagator has been completely rewritten, so this issue does not apply any longer. Whatever causes this will most likely manifest itself differently, especially if it's a setup error, or might go away completely. Please reopen a new bug if you encounter errors with 1.5.