ERROR during csync_update
After a few hours of syncing, I get a crossed over symbol in the status bar. The log file shows the following messages repeated every 20 seconds (until I quit):
03-21 19:59:40:963 #### Update start #################################################### >>
03-21 19:59:40:963 csync_memstat_check: Memory: 1186548K total size, 28652K resident, 15176K shared
03-21 19:59:40:963 csync_ftw: Incoming read_from_db-Flag for /home/homann/Dokument: 0
03-21 19:59:40:963 csync_ftw: IMAP-setup~ excluded
03-21 19:59:40:964 csync_ftw: Uniq ID read from Database: VärvellBrev-120920.pdf ->
03-21 19:59:40:964 csync_ftw: walk: /home/homann/Dokument/VärvellBrev-120920.pdf
03-21 19:59:40:964 csync_walker: file: /home/homann/Dokument/VärvellBrev-120920.pdf
03-21 19:59:40:964 _csync_detect_update: file: VärvellBrev-120920.pdf - hash 2698930351905360654, mtime: 1350475150
03-21 19:59:40:964 _csync_detect_update: time compare: 1350475150 <-> 1350475150, md5: <->
03-21 19:59:40:964 _csync_detect_update: file: VärvellBrev-120920.pdf, instruction: INSTRUCTION_NONE
.
(several files as above)
.
03-21 19:59:40:991 csync_ftw: Incoming read_from_db-Flag for /home/homann/Dokument/Bank/PayEx/2012: 0
03-21 19:59:41:047 csync_ftw: opendir failed for /home/homann/Dokument/Bank/PayEx/2012 - (errno 24)
03-21 19:59:41:047 csync_update: Update detection for local replica took 0,08 seconds walking 74 files.
03-21 19:59:41:048 csync_memstat_check: Memory: 1186548K total size, 28664K resident, 15184K shared
03-21 19:59:41:089 #### ERROR during csync_update : "CSync processteg update misslyckades."
03-21 19:59:41:090 csync_lock_remove: Removing lock file: /home/homann/.local/share/data//ownCloud//lock
03-21 19:59:41:090 CSync run took 276 Milliseconds
03-21 19:59:41:127 -> CSync Finished slot with error true
03-21 19:59:41:127 ** error Strings: ("CSync processteg update misslyckades.")
03-21 19:59:41:127 * owncloud csync thread finished with error
03-21 19:59:41:127 Starting Event logging again in 2000 milliseconds
03-21 19:59:41:127 OO folder slotSyncFinished: result: 5 local: false
03-21 19:59:41:127 ==> load folder icon "owncloud-framed"
03-21 19:59:41:127 Returning configured owncloud url: "http://localhost/owncloud/remote.php/webdav/"
03-21 19:59:41:171 Check status.php from statusdialog.
03-21 19:59:41:171 Get Request to "status.php"
03-21 19:59:41:171 Returning configured owncloud url: "http://localhost/owncloud/"
03-21 19:59:41:171 Returning configured owncloud url: "http://localhost/owncloud/"
03-21 19:59:41:171 Setting up host header: "localhost"
03-21 19:59:41:171 Folder in overallStatus Message: Mirall::ownCloudFolder(0x11d1a20) with name "Dokument"
03-21 19:59:41:171 Sync state changed for folder "Dokument" : "Error"
03-21 19:59:41:171 * "Dokument" Poll timer enabled with 31420 milliseconds
03-21 19:59:41:172 <===================================== sync finished for "Dokument"
03-21 19:59:41:199 status.php returns: "{"installed":"true","version":"5.0.0","versionstring":"5.0","edition":""}" 0 Reply: QNetworkReplyImpl(0x11d0f70)
03-21 19:59:41:200 Unknown info from ownCloud status.php: "installed" = "true"
03-21 19:59:41:200 #-------# oC found on "http://localhost/owncloud"
03-21 19:59:41:372 XX slotScheduleFolderSync: folderQueue size: 0
03-21 19:59:43:128 * event notification enabled
"CSync processteg update misslyckades." means "csync process step failed"
Server 5.0.0, client 1.2.1-1, ubuntu 12.04 amd64
I didn't find any identical issue. Quitting and restarting, it works for a while before entering this error state.
I believe I've seen the same problem. I'll see if I can get a log file.
I downloaded mirall/ocsync and built it myself, tags v1.2.1 and v0.70.4. Now it seems to work without problems. I still have the dist version on my mahcin, and that still gives me issues.
Any ideas on how I should test more?
@homann try the builds from http://download.owncloud.com/download/nightly/
Only MAC and Win files?
I just realized that I built without some libs. Output from 'cmake .' in the mirall directory:
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Could NOT find QtKeyChain (missing: QTKEYCHAIN_LIBRARY QTKEYCHAIN_INCLUDE_DIR) -- Configuring done -- Generating done -- Build files have been written to: /home/homann/MirallDevelop/mirall-build
So I guess I have avoided the issue by not incorporating the offending lib? There are three libs less from my build: libdbus, libQtDbus and libQtKeyChain.
No, remove the libgnutls dev package (which you had to install to build it yourself) and the problem will resurface. I am pretty sure it's unrelated to QtKeyChain (and sphinx is not compiled in anyway, but used for documentation).
OK, removed libgnutls-dev. Will see if my build still works tomorrow morning. ;) Shouldn't the dist build also work if libgnutls-dev is installed?
Yes, this behavior is due to a hack I added before 1.2.1 which keeps a leaking dependency from leaking. Unfortunately it only works if there is a libgnutls.so (without the so version), and that's only included in the dev package.
My build still works without the gnutls-dev library installed.
Now I'm on 5.0.3 and 1.2.3 and cannot reproduce this problem.