Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder, sub folder and files are deleted after deleting and renewed upload #1329

Closed
kwillems opened this issue Jan 3, 2014 · 2 comments
Closed
Assignees

Comments

@kwillems
Copy link

kwillems commented Jan 3, 2014

(This issue was first opened here: owncloud/core#6606)

Expected behaviour

The folder, subfolder and files should get uploaded.

Actual behaviour

The folder, subfolder and files are deleted.

Steps to reproduce

  1. Put a folder, a sub folder and three files in the ownCloud folder
  2. Delete them and wait for synchronisation
  3. Put them back immediatly after synchronisation (it's important to do this within a few seconds).
  4. Uploading produces errors, see the attached screenshot.
    screen

Server configuration

Operating system: Ubuntu 12.04 64bit 3.2.0-54-virtual
Web server: Apache 2.2.22-1ubuntu
Database: postgresql 9.1.9-0ubuntu1
PHP version: 5.3.10-1ubuntu3.8
ownCloud version: 6.0.0a (updated from an older ownCloud)
Storage backend: NFS3 share
List of activated app: Deleted files, OAuth, Share Files and Versions

Client configuration

Operating System: OS X 10.9.1
ownCloud Client: 1.5.0 build 1811

Logs

Web server error log

serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:22:59 +0100] "PROPFIND /storage/remote.php/webdav HTTP/1.1" 207 988 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:09 +0100] "PROPFIND /storage/remote.php/webdav HTTP/1.1" 207 988 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:09 +0100] "MKCOL /storage/remote.php/webdav/folder/ HTTP/1.1" 201 296 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:09 +0100] "MKCOL /storage/remote.php/webdav/folder/subfolder/ HTTP/1.1" 201 296 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:09 +0100] "PUT /storage/remote.php/webdav/folder/subfolder/document1.pdf HTTP/1.1" 201 375 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:10 +0100] "PUT /storage/remote.php/webdav/folder/subfolder/document2.pdf HTTP/1.1" 201 375 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:10 +0100] "PUT /storage/remote.php/webdav/folder/subfolder/document3.pdf HTTP/1.1" 201 375 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:18 +0100] "PROPFIND /storage/remote.php/webdav HTTP/1.1" 207 1439 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:18 +0100] "PROPFIND /storage/remote.php/webdav/folder HTTP/1.1" 207 1400 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:18 +0100] "PROPFIND /storage/remote.php/webdav/folder/subfolder HTTP/1.1" 207 2096 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:19 +0100] "DELETE /storage/remote.php/webdav/folder HTTP/1.1" 204 299 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:24 +0100] "PROPFIND /storage/remote.php/webdav HTTP/1.1" 207 988 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:24 +0100] "MKCOL /storage/remote.php/webdav/folder/subfolder/ HTTP/1.1" 409 549 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - email@adres.nl [02/Jan/2014:13:23:25 +0100] "PROPFIND /storage/remote.php/webdav/ HTTP/1.1" 207 831 "-" "Mozilla/5.0 (Macintosh) mirall/1.5.0"
serveradres.nl:80 82.173.193.138 - - [02/Jan/2014:13:23:54 +0100] "PROPFIND /storage/remote.php/webdav HTTP/1.1" 207 988 "-" "Mozilla/5.0 (Macintosh) csyncoC/0.91.4 neon/0.30.0"
serveradres.nl:80 82.173.193.138 - email@adres.nl [02/Jan/2014:13:23:55 +0100] "PROPFIND /storage/remote.php/webdav/ HTTP/1.1" 207 831 "-" "Mozilla/5.0 (Macintosh) mirall/1.5.0"

ownCloud log

Jan 2 13:23:09 web01 ownCloud[22188]: {OC\Files\Cache\Scanner} !!! Path 'files/folder' is not readable !!!
Jan 2 13:23:09 web01 ownCloud[22188]: {OC\Files\Cache\Scanner} !!! Path 'files/folder/subfolder' is not readable !!!
Jan 2 13:23:10 web01 ownCloud[22188]: {OC\Files\Cache\Scanner} !!! No reuse of etag for 'files/folder/subfolder/document1.pdf' !!! #012cache: Array#012(#12 [fileid] => 21046#012 [storage] => local::/opt/serveradres.nl/data/email@adres.nl/#12 [path] => files/folder/subfolder/document1.pdf#012 [parent] => 21045#012 [name] => document1.pdf#012 [mimetype] => application/pdf#012 [mimepart] => application#012 [size] => 35654#012 [mtime] => 1388665390#012 [storage_mtime] => 1388665390#012 [encrypted] => #12 [unencrypted_size] => 0#012 [etag] => 52c55a2e2f07e#012)#12 #012data: Array#012(#12 [mimetype] => application/pdf#012 [mtime] => 1341080895#012 [size] => 35654#012 [etag] => 52c55a2e2f770#012 [storage_mtime] => 1341080895#012)
Jan 2 13:23:10 web01 ownCloud[22188]: {OC\Files\Cache\Scanner} !!! No reuse of etag for 'files/folder/subfolder/document2.pdf' !!! #012cache: Array#012(#12 [fileid] => 21047#012 [storage] => local::/opt/serveradres.nl/data/email@adres.nl/#12 [path] => files/folder/subfolder/document2.pdf#012 [parent] => 21045#012 [name] => document2.pdf#012 [mimetype] => application/pdf#012 [mimepart] => application#012 [size] => 35654#012 [mtime] => 1388665390#012 [storage_mtime] => 1388665390#012 [encrypted] => #12 [unencrypted_size] => 0#012 [etag] => 52c55a2eac587#012)#12 #012data: Array#012(#12 [mimetype] => application/pdf#012 [mtime] => 1341080895#012 [size] => 35654#012 [etag] => 52c55a2eacc7a#012 [storage_mtime] => 1341080895#012)
Jan 2 13:23:11 web01 ownCloud[22188]: {OC\Files\Cache\Scanner} !!! No reuse of etag for 'files/folder/subfolder/document3.pdf' !!! #012cache: Array#012(#12 [fileid] => 21048#012 [storage] => local::/opt/serveradres.nl/data/email@adres.nl/#12 [path] => files/folder/subfolder/document3.pdf#012 [parent] => 21045#012 [name] => document3.pdf#012 [mimetype] => application/pdf#012 [mimepart] => application#012 [size] => 35654#012 [mtime] => 1388665391#012 [storage_mtime] => 1388665391#012 [encrypted] => #12 [unencrypted_size] => 0#012 [etag] => 52c55a2f399f2#012)#12 #012data: Array#012(#12 [mimetype] => application/pdf#012 [mtime] => 1341080895#012 [size] => 35654#012 [etag] => 52c55a2f3a03a#012 [storage_mtime] => 1341080895#012)
Jan 2 13:23:24 web01 ownCloud[22243]: {OC\Files\Cache\Scanner} !!! Path 'files/folder' is not readable !!!

Client log

01-02 13:23:16:945 FolderWatcherPrivate::callback by OS X
01-02 13:23:16:946 * Pending events for "/Users/Koen/ownCloud" will be processed after events stop for 1000 milliseconds ( "13:39:56" ). 1 events until now )
01-02 13:23:17:947 * Processing of event queue for "/Users/Koen/ownCloud"
01-02 13:23:17:947 * Notify 1 change items for "/Users/Koen/ownCloud"
01-02 13:23:17:947 * Changed was notified on ("/Users/Koen/ownCloud")
01-02 13:23:17:947 Schedule folder "ownCloud" to sync!
01-02 13:23:17:947 XX slotScheduleFolderSync: folderQueue size: 1
01-02 13:23:17:948 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:17:948 Sync state changed for folder "ownCloud" : "SyncPrepare"
01-02 13:23:17:948 SocketApi: Sync state changed
01-02 13:23:17:948 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:17:949 folder is sync enabled: true
01-02 13:23:17:949 * Start syncing
01-02 13:23:17:949 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:17:949 ==> returning exclude file path: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:17:949 ==== added system ignore list to csync: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:17:950 csync_exclude_load: Adding entry: .filepart
01-02 13:23:17:950 csync_exclude_load: Adding entry: *~
01-02 13:23:17:950 csync_exclude_load: Adding entry: *.part
01-02 13:23:17:950 csync_exclude_load: Adding entry: *.crdownload
01-02 13:23:17:950 csync_exclude_load: Adding entry: *.unison

01-02 13:23:17:950 csync_exclude_load: Adding entry: csync_timedif.ctmp
01-02 13:23:17:950 csync_exclude_load: Adding entry: csync_journal.db
01-02 13:23:17:951 csync_exclude_load: Adding entry: csync_journal.db.ctmp
01-02 13:23:17:951 csync_exclude_load: Adding entry: ..sw?
01-02 13:23:17:951 csync_exclude_load: Adding entry: .
.sw?
01-02 13:23:17:951 csync_exclude_load: Adding entry: ].csync-progressdatabase
01-02 13:23:17:951 csync_exclude_load: Adding entry: ].DS_Store
01-02 13:23:17:951 csync_exclude_load: Adding entry: ].ds_store
01-02 13:23:17:951 csync_exclude_load: Adding entry: ]Thumbs.db
01-02 13:23:17:952 csync_exclude_load: Adding entry: desktop.ini
01-02 13:23:17:952 csync_exclude_load: Adding entry: *.kate-swp
01-02 13:23:17:952 csync_exclude_load: Adding entry: *conflict-
01-02 13:23:17:952 csync_exclude_load: Adding entry: ]
.~_
01-02 13:23:17:953 csync_exclude_load: Adding entry: ].TemporaryItems
01-02 13:23:17:953 csync_exclude_load: Adding entry: ].Trashes
01-02 13:23:17:953 csync_exclude_load: Adding entry: ].DocumentRevisions-V100
01-02 13:23:17:953 csync_exclude_load: Adding entry: .fseventd
01-02 13:23:17:954 csync_exclude_load: Adding entry: .apdisk
01-02 13:23:17:954 csync_exclude_load: Adding entry: .htaccess
01-02 13:23:17:954 csync_exclude_load: Adding entry: ]Icon\r

01-02 13:23:17:954 csync_exclude_load: Adding entry: ~$

01-02 13:23:17:955 csync_exclude_load: Adding entry: .~lock.

01-02 13:23:17:955 csync_exclude_load: Adding entry: _.tmp
01-02 13:23:17:955 ==> returning exclude file path: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:17:955 ==== added user defined ignore list to csync: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:17:956 QUrl( "http://serveradres.nl/storage/remote.php/webdav/" )
01-02 13:23:17:956 * event notification disabled
01-02 13:23:17:956 >===================================== sync started for "ownCloud"
01-02 13:23:17:956 void Mirall::CSyncThread::startSync() Sync started
01-02 13:23:17:956 starting to sync QThread(0x104813b10) QThread(0x104f0a3c0)
01-02 13:23:17:956 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:17:956 No database Transaction to commit
01-02 13:23:17:956 =====sync DB has only 5 items, enable recursive PROPFIND if csync supports it
01-02 13:23:17:956 #### Update start #################################################### >>
01-02 13:23:17:956 csync_update: Journal: /Users/Koen/ownCloud/.csync_journal.db
01-02 13:23:17:958 csync_ftw: Uniq ID from Database: .DS_Store ->
01-02 13:23:17:958 csync_walker: file: /Users/Koen/ownCloud/.DS_Store
01-02 13:23:17:958 _csync_detect_update: .DS_Store excluded (2)
01-02 13:23:17:958 csync_ftw: <= Closing walk for /Users/Koen/ownCloud with read_from_db 0
01-02 13:23:17:958 csync_update: Update detection for local replica took 0,00 seconds walking 0 files.
01-02 13:23:17:958 oc_module: opendir method called on owncloud://serveradres.nl/storage/remote.php/webdav
01-02 13:23:17:958 oc_module: * scheme owncloud
01-02 13:23:17:958 oc_module: * host serveradres.nl
01-02 13:23:17:958 oc_module: * port 0
01-02 13:23:17:958 oc_module: * path /storage/remote.php/webdav
01-02 13:23:17:958 oc_module: * user
01-02 13:23:17:958 oc_module: No proxy configured.
01-02 13:23:18:024 FolderWatcherPrivate::callback by OS X
01-02 13:23:18:167 oc_module: Simple propfind result code 207.
01-02 13:23:18:167 oc_module: opendir returning handle 0x103f850e0 (count=2)
01-02 13:23:18:167 oc_module: owncloud_stat owncloud://serveradres.nl/storage/remote.php/webdav/folder called
01-02 13:23:18:167 csync_walker: directory: owncloud://serveradres.nl/storage/remote.php/webdav/folder
01-02 13:23:18:167 _csync_detect_update: ==> file: folder - hash 17547171219270089754, mtime: 1341080895, fileId: 0002104451470f0827d80
01-02 13:23:18:167 _csync_detect_update: Database entry found, compare: 1341080895 <-> 1388659818, etag: 52c55a2f3eb73 <-> , inode: 0 <-> 15739423
01-02 13:23:18:167 _csync_detect_update: file: folder, instruction: INSTRUCTION_EVAL <<=
01-02 13:23:18:167 oc_module: opendir method called on owncloud://serveradres.nl/storage/remote.php/webdav/folder
01-02 13:23:18:279 oc_module: Simple propfind result code 207.
01-02 13:23:18:279 oc_module: opendir returning handle 0x104b5ab30 (count=2)
01-02 13:23:18:279 oc_module: owncloud_stat owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder called
01-02 13:23:18:279 csync_walker: directory: owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder
01-02 13:23:18:279 _csync_detect_update: ==> file: folder/subfolder - hash 12704328363015116461, mtime: 1388665391, fileId: 0002104551470f0827d80
01-02 13:23:18:280 _csync_detect_update: Database entry found, compare: 1388665391 <-> 1388659825, etag: 52c55a2f3e5be <-> , inode: 0 <-> 15739425
01-02 13:23:18:280 _csync_detect_update: file: folder/subfolder, instruction: INSTRUCTION_EVAL <<=
01-02 13:23:18:280 oc_module: opendir method called on owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder
01-02 13:23:18:389 oc_module: Simple propfind result code 207.
01-02 13:23:18:389 oc_module: opendir returning handle 0x104f0c1c0 (count=4)
01-02 13:23:18:389 oc_module: owncloud_stat owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document3.pdf called
01-02 13:23:18:389 csync_walker: file: owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document3.pdf
01-02 13:23:18:390 _csync_detect_update: ==> file: folder/subfolder/document3.pdf - hash 14638715020772497162, mtime: 1341080895, fileId: 0002104851470f0827d80
01-02 13:23:18:390 _csync_detect_update: Database entry found, compare: 1341080895 <-> 1341080895, etag: 52c55a2f3a03a <-> 52c55a2f3a03a, inode: 0 <-> 15739428
01-02 13:23:18:390 _csync_detect_update: file: folder/subfolder/document3.pdf, instruction: INSTRUCTION_NONE <<=
01-02 13:23:18:390 oc_module: owncloud_stat owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document2.pdf called
01-02 13:23:18:390 csync_walker: file: owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document2.pdf
01-02 13:23:18:390 _csync_detect_update: ==> file: folder/subfolder/document2.pdf - hash 1569666632292606640, mtime: 1341080895, fileId: 0002104751470f0827d80
01-02 13:23:18:390 _csync_detect_update: Database entry found, compare: 1341080895 <-> 1341080895, etag: 52c55a2eacc7a <-> 52c55a2eacc7a, inode: 0 <-> 15739427
01-02 13:23:18:390 _csync_detect_update: file: folder/subfolder/document2.pdf, instruction: INSTRUCTION_NONE <<=
01-02 13:23:18:390 oc_module: owncloud_stat owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document1.pdf called
01-02 13:23:18:390 csync_walker: file: owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder/document1.pdf
01-02 13:23:18:390 _csync_detect_update: ==> file: folder/subfolder/document1.pdf - hash 8041451542641980437, mtime: 1341080895, fileId: 0002104651470f0827d80
01-02 13:23:18:390 _csync_detect_update: Database entry found, compare: 1341080895 <-> 1341080895, etag: 52c55a2e2f770 <-> 52c55a2e2f770, inode: 0 <-> 15739426
01-02 13:23:18:390 _csync_detect_update: file: folder/subfolder/document1.pdf, instruction: INSTRUCTION_NONE <<=
01-02 13:23:18:390 oc_module: closedir method called 0x104f0c1c0!
01-02 13:23:18:390 csync_ftw: <= Closing walk for owncloud://serveradres.nl/storage/remote.php/webdav/folder/subfolder with read_from_db 0
01-02 13:23:18:390 oc_module: closedir method called 0x104b5ab30!
01-02 13:23:18:390 csync_ftw: <= Closing walk for owncloud://serveradres.nl/storage/remote.php/webdav/folder with read_from_db 0
01-02 13:23:18:390 oc_module: closedir method called 0x103f850e0!
01-02 13:23:18:390 csync_ftw: <= Closing walk for owncloud://serveradres.nl/storage/remote.php/webdav with read_from_db 0
01-02 13:23:18:390 csync_update: Update detection for remote replica took 0,43 seconds walking 5 files.
01-02 13:23:18:390 <<#### Update end #################################################### 434
01-02 13:23:18:390 csync_reconcile: Reconciliation for local replica took 0,00 seconds visiting 0 files.
01-02 13:23:18:390 _csync_merge_algorithm_visitor: INSTRUCTION_REMOVE file: folder/subfolder/document2.pdf
01-02 13:23:18:390 _csync_merge_algorithm_visitor: INSTRUCTION_REMOVE file: folder/subfolder/document1.pdf
01-02 13:23:18:390 _csync_merge_algorithm_visitor: INSTRUCTION_REMOVE dir: folder/subfolder
01-02 13:23:18:390 _csync_merge_algorithm_visitor: INSTRUCTION_REMOVE file: folder/subfolder/document3.pdf
01-02 13:23:18:391 csync_merge_algorithm_visitor: INSTRUCTION_REMOVE dir: folder
01-02 13:23:18:391 csync_reconcile: Reconciliation for remote replica took 0,00 seconds visiting 5 files.
01-02 13:23:18:391 Transaction Start "checkConnect"
01-02 13:23:18:391 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
01-02 13:23:18:392 void Mirall::CSyncThread::startSync() All the files are going to be removed, asking the user
01-02 13:23:19:647 * csync thread started
01-02 13:23:19:681 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:19:681 Sync state changed for folder "ownCloud" : "Sync Running"
01-02 13:23:19:681 SocketApi: Sync state changed
01-02 13:23:19:682 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:19:682 folder is sync enabled: true
01-02 13:23:19:647 *
DELETE /storage/remote.php/webdav/folder
01-02 13:23:19:880 "DELETE FROM metadata WHERE phash=?" -899572854439461862 "folder"
01-02 13:23:19:880 "DELETE FROM metadata WHERE path LIKE(?||'/%')" "folder"
01-02 13:23:19:880 Transaction Start "Remote Remove"
01-02 13:23:19:882 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder" 4 ""
01-02 13:23:19:882 Failed to query the 'inode' for file "/Users/Koen/ownCloud/folder"
01-02 13:23:19:882 "INSERT OR REPLACE INTO metadata (phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid) VALUES ( ? , ?, ? , ? , ? , ? , ?, ? , ? , ?, ? )" -899572854439461862 6 "folder" 0 0 0 0 "1341080895" "2" "52c55a2f3eb73" "0002104451470f0827d80"
01-02 13:23:19:882 Transaction Start "All Finished."
01-02 13:23:19:883 CSync run took 1926 Milliseconds
01-02 13:23:19:897 [PROGRESS] progressed 106962 bytes in 5 files in msec 1471
01-02 13:23:19:897 -> CSync Finished slot with error false warn count 0
01-02 13:23:19:898 Starting Event logging again in 2000 milliseconds
01-02 13:23:19:898 OO folder slotSyncFinished: result: 3
01-02 13:23:19:898 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:19:899 Sync state changed for folder "ownCloud" : "Success"
01-02 13:23:19:899 SocketApi: Sync state changed
01-02 13:23:19:899 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:19:900 folder is sync enabled: true
01-02 13:23:19:900 <===================================== sync finished for "ownCloud"
01-02 13:23:19:900 FolderWatcherPrivate::callback by OS X
01-02 13:23:20:101 XX slotScheduleFolderSync: folderQueue size: 0
01-02 13:23:21:898 * event notification enabled
01-02 13:23:22:776 FolderWatcherPrivate::callback by OS X
01-02 13:23:22:777 * Pending events for "/Users/Koen/ownCloud" will be processed after events stop for 1000 milliseconds ( "13:40:02" ). 1 events until now )
01-02 13:23:22:781 FolderWatcherPrivate::callback by OS X
01-02 13:23:22:798 FolderWatcherPrivate::callback by OS X
01-02 13:23:23:814 * Processing of event queue for "/Users/Koen/ownCloud"
01-02 13:23:23:814 * Notify 1 change items for "/Users/Koen/ownCloud"
01-02 13:23:23:815 ** Changed was notified on ("/Users/Koen/ownCloud")
01-02 13:23:23:815 Schedule folder "ownCloud" to sync!
01-02 13:23:23:815 XX slotScheduleFolderSync: folderQueue size: 1
01-02 13:23:23:815 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:23:816 Sync state changed for folder "ownCloud" : "SyncPrepare"
01-02 13:23:23:816 SocketApi: Sync state changed
01-02 13:23:23:816 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:23:817 folder is sync enabled: true
01-02 13:23:23:817 *** Start syncing
01-02 13:23:23:817 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:23:818 ==> returning exclude file path: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:23:818 ==== added system ignore list to csync: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:23:818 csync_exclude_load: Adding entry: _.filepart
01-02 13:23:23:818 csync_exclude_load: Adding entry: *

01-02 13:23:23:819 csync_exclude_load: Adding entry: .part
01-02 13:23:23:819 csync_exclude_load: Adding entry: .crdownload
01-02 13:23:23:819 csync_exclude_load: Adding entry: .unison_
01-02 13:23:23:819 csync_exclude_load: Adding entry: csync_timedif.ctmp
01-02 13:23:23:820 csync_exclude_load: Adding entry: csync_journal.db
01-02 13:23:23:820 csync_exclude_load: Adding entry: csync_journal.db.ctmp
01-02 13:23:23:820 csync_exclude_load: Adding entry: ..sw?
01-02 13:23:23:820 csync_exclude_load: Adding entry: .
.sw?
01-02 13:23:23:820 csync_exclude_load: Adding entry: ].csync-progressdatabase
01-02 13:23:23:821 csync_exclude_load: Adding entry: ].DS_Store
01-02 13:23:23:821 csync_exclude_load: Adding entry: ].ds_store
01-02 13:23:23:821 csync_exclude_load: Adding entry: ]Thumbs.db
01-02 13:23:23:821 csync_exclude_load: Adding entry: desktop.ini
01-02 13:23:23:822 csync_exclude_load: Adding entry: *.kate-swp
01-02 13:23:23:822 csync_exclude_load: Adding entry: *conflict-
01-02 13:23:23:822 csync_exclude_load: Adding entry: ]
.~_
01-02 13:23:23:822 csync_exclude_load: Adding entry: ].TemporaryItems
01-02 13:23:23:823 csync_exclude_load: Adding entry: ].Trashes
01-02 13:23:23:823 csync_exclude_load: Adding entry: ].DocumentRevisions-V100
01-02 13:23:23:823 csync_exclude_load: Adding entry: .fseventd
01-02 13:23:23:823 csync_exclude_load: Adding entry: .apdisk
01-02 13:23:23:824 csync_exclude_load: Adding entry: .htaccess
01-02 13:23:23:824 csync_exclude_load: Adding entry: ]Icon\r

01-02 13:23:23:824 csync_exclude_load: Adding entry: ~$

01-02 13:23:23:824 csync_exclude_load: Adding entry: .~lock.

01-02 13:23:23:824 csync_exclude_load: Adding entry: _.tmp
01-02 13:23:23:825 ==> returning exclude file path: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:23:825 ==== added user defined ignore list to csync: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:23:825 QUrl( "http://serveradres.nl/storage/remote.php/webdav/" )
01-02 13:23:23:826 * event notification disabled
01-02 13:23:23:826 >===================================== sync started for "ownCloud"
01-02 13:23:23:826 void Mirall::CSyncThread::startSync() Sync started
01-02 13:23:23:826 starting to sync QThread(0x104813b10) QThread(0x104b0af80)
01-02 13:23:23:826 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:23:826 No database Transaction to commit
01-02 13:23:23:826 =====sync DB has only 1 items, enable recursive PROPFIND if csync supports it
01-02 13:23:23:826 #### Update start #################################################### >>
01-02 13:23:23:826 csync_update: Journal: /Users/Koen/ownCloud/.csync_journal.db
01-02 13:23:23:828 csync_ftw: Uniq ID from Database: .DS_Store ->
01-02 13:23:23:828 csync_walker: file: /Users/Koen/ownCloud/.DS_Store
01-02 13:23:23:828 _csync_detect_update: .DS_Store excluded (2)
01-02 13:23:23:828 csync_ftw: Uniq ID from Database: folder -> 52c55a2f3eb73
01-02 13:23:23:828 csync_walker: directory: /Users/Koen/ownCloud/folder
01-02 13:23:23:828 _csync_detect_update: ==> file: folder - hash 17547171219270089754, mtime: 1388659818, fileId: 0002104451470f0827d80
01-02 13:23:23:828 _csync_detect_update: Database entry found, compare: 1388659818 <-> 1341080895, etag: 52c55a2f3eb73 <-> 52c55a2f3eb73, inode: 15739481 <-> 0
01-02 13:23:23:828 _csync_detect_update: file: folder, instruction: INSTRUCTION_EVAL <<=
01-02 13:23:23:828 csync_ftw: Uniq ID from Database: folder/subfolder ->
01-02 13:23:23:828 csync_walker: directory: /Users/Koen/ownCloud/folder/subfolder
01-02 13:23:23:828 _csync_detect_update: ==> file: folder/subfolder - hash 12704328363015116461, mtime: 1388659825, fileId:
01-02 13:23:23:828 csync_statedb_get_stat_by_hash: No result record found for phash = 12704328363015116461
01-02 13:23:23:828 _csync_detect_update: file: folder/subfolder, instruction: INSTRUCTION_NEW <<=
01-02 13:23:23:828 csync_ftw: Uniq ID from Database: folder/subfolder/document1.pdf ->
01-02 13:23:23:828 csync_walker: file: /Users/Koen/ownCloud/folder/subfolder/document1.pdf
01-02 13:23:23:828 _csync_detect_update: ==> file: folder/subfolder/document1.pdf - hash 8041451542641980437, mtime: 1341080895, fileId:
01-02 13:23:23:829 csync_statedb_get_stat_by_hash: No result record found for phash = 8041451542641980437
01-02 13:23:23:829 _csync_detect_update: file: folder/subfolder/document1.pdf, instruction: INSTRUCTION_NEW <<=
01-02 13:23:23:829 csync_ftw: Uniq ID from Database: folder/subfolder/document2.pdf ->
01-02 13:23:23:829 csync_walker: file: /Users/Koen/ownCloud/folder/subfolder/document2.pdf
01-02 13:23:23:829 _csync_detect_update: ==> file: folder/subfolder/document2.pdf - hash 1569666632292606640, mtime: 1341080895, fileId:
01-02 13:23:23:829 csync_statedb_get_stat_by_hash: No result record found for phash = 1569666632292606640
01-02 13:23:23:829 _csync_detect_update: file: folder/subfolder/document2.pdf, instruction: INSTRUCTION_NEW <<=
01-02 13:23:23:829 csync_ftw: Uniq ID from Database: folder/subfolder/document3.pdf ->
01-02 13:23:23:829 csync_walker: file: /Users/Koen/ownCloud/folder/subfolder/document3.pdf
01-02 13:23:23:829 _csync_detect_update: ==> file: folder/subfolder/document3.pdf - hash 14638715020772497162, mtime: 1341080895, fileId:
01-02 13:23:23:829 csync_statedb_get_stat_by_hash: No result record found for phash = 14638715020772497162
01-02 13:23:23:829 _csync_detect_update: file: folder/subfolder/document3.pdf, instruction: INSTRUCTION_NEW <<=
01-02 13:23:23:829 csync_ftw: <= Closing walk for /Users/Koen/ownCloud/folder/subfolder with read_from_db 0
01-02 13:23:23:829 csync_ftw: <= Closing walk for /Users/Koen/ownCloud/folder with read_from_db 0
01-02 13:23:23:829 csync_ftw: <= Closing walk for /Users/Koen/ownCloud with read_from_db 0
01-02 13:23:23:829 csync_update: Update detection for local replica took 0,00 seconds walking 5 files.
01-02 13:23:23:829 oc_module: opendir method called on owncloud://serveradres.nl/storage/remote.php/webdav
01-02 13:23:23:829 oc_module: * scheme owncloud
01-02 13:23:23:829 oc_module: * host serveradres.nl
01-02 13:23:23:829 oc_module: * port 0
01-02 13:23:23:829 oc_module: * path /storage/remote.php/webdav
01-02 13:23:23:829 oc_module: * user
01-02 13:23:23:829 oc_module: No proxy configured.
01-02 13:23:23:884 FolderWatcherPrivate::callback by OS X
01-02 13:23:24:048 oc_module: Simple propfind result code 207.
01-02 13:23:24:048 oc_module: opendir returning handle 0x103ffa880 (count=1)
01-02 13:23:24:048 oc_module: closedir method called 0x103ffa880!
01-02 13:23:24:048 csync_ftw: <= Closing walk for owncloud://serveradres.nl/storage/remote.php/webdav with read_from_db 0
01-02 13:23:24:048 csync_update: Update detection for remote replica took 0,22 seconds walking 0 files.
01-02 13:23:24:048 <<#### Update end #################################################### 222
01-02 13:23:24:048 _csync_merge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document2.pdf
01-02 13:23:24:048 _csync_merge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document1.pdf
01-02 13:23:24:048 _csync_merge_algorithm_visitor: INSTRUCTION_NEW dir: folder/subfolder
01-02 13:23:24:049 _csync_merge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document3.pdf
01-02 13:23:24:049 csync_merge_algorithm_visitor: INSTRUCTION_REMOVE dir: folder
01-02 13:23:24:049 csync_reconcile: Reconciliation for local replica took 0,00 seconds visiting 5 files.
01-02 13:23:24:049 csync_reconcile: Reconciliation for remote replica took 0,00 seconds visiting 0 files.
01-02 13:23:24:049 Transaction Start "checkConnect"
01-02 13:23:24:049 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
01-02 13:23:24:065 * csync thread started
01-02 13:23:24:066 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:24:066 Sync state changed for folder "ownCloud" : "Sync Running"
01-02 13:23:24:067 SocketApi: Sync state changed
01-02 13:23:24:067 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:24:067 folder is sync enabled: true
01-02 13:23:24:050 "DELETE FROM metadata WHERE phash=?" -899572854439461862 "folder"
01-02 13:23:24:050 "DELETE FROM metadata WHERE path LIKE(?||'/%')" "folder"
01-02 13:23:24:050 Transaction Start "Local remove"
01-02 13:23:24:051 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder" 4 ""
01-02 13:23:24:079 FolderWatcherPrivate::callback by OS X
01-02 13:23:24:160 Neon error code was 1
01-02 13:23:24:160 bool Mirall::PropagateItemJob::updateErrorFromSession(int, ne_request
, int) NE_ERROR "409 Conflict" 409 405
01-02 13:23:24:160 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder/subfolder" 2 "409 Conflict"
01-02 13:23:24:161 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder/subfolder/document1.pdf" 2 "No such file or directory"
01-02 13:23:24:161 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder/subfolder/document2.pdf" 2 "No such file or directory"
01-02 13:23:24:161 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder/subfolder/document3.pdf" 2 "No such file or directory"
01-02 13:23:24:161 Transaction Start "All Finished."
01-02 13:23:24:162 CSync run took 335 Milliseconds
01-02 13:23:24:238 [PROGRESS] progressed 107234 bytes in 5 files in msec 172
01-02 13:23:24:239 -> CSync Finished slot with error false warn count 4
01-02 13:23:24:239 Starting Event logging again in 2000 milliseconds
01-02 13:23:24:239 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:24:261 FolderWatcherPrivate::callback by OS X
01-02 13:23:24:436 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:24:510 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:24:588 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:24:660 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:24:735 OO folder slotSyncFinished: result: 3
01-02 13:23:24:735 ** error Strings: ("Bestand folder/subfolder/document2.pdf: No such file or directory", "Bestand folder/subfolder/document1.pdf: No such file or directory", "Bestand folder/subfolder: 409 Conflict", "Bestand folder/subfolder/document3.pdf: No such file or directory")
01-02 13:23:24:736 * owncloud csync thread finished with error
01-02 13:23:24:736 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:24:737 Sync state changed for folder "ownCloud" : "Error"
01-02 13:23:24:737 SocketApi: Sync state changed
01-02 13:23:24:737 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:24:737 folder is sync enabled: true
01-02 13:23:24:738 <===================================== sync finished for "ownCloud"
01-02 13:23:24:841 !!! Mirall::CheckQuotaJob created for QUrl( "http://serveradres.nl/storage" ) querying "/"
01-02 13:23:24:938 XX slotScheduleFolderSync: folderQueue size: 0
01-02 13:23:26:239 * event notification enabled
01-02 13:23:54:240 * Polling "ownCloud" for changes. (time since last sync: 30 s)
01-02 13:23:54:240 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:54:241 ** Force Sync now, state is "Error"
01-02 13:23:54:241 Schedule folder "ownCloud" to sync!
01-02 13:23:54:241 XX slotScheduleFolderSync: folderQueue size: 1
01-02 13:23:54:242 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:54:242 Sync state changed for folder "ownCloud" : "SyncPrepare"
01-02 13:23:54:242 SocketApi: Sync state changed
01-02 13:23:54:243 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:54:243 folder is sync enabled: true
01-02 13:23:54:243 *** Start syncing
01-02 13:23:54:243 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:54:244 ==> returning exclude file path: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:54:244 ==== added system ignore list to csync: "/Applications/owncloud.app/Contents/Resources/sync-exclude.lst"
01-02 13:23:54:244 csync_exclude_load: Adding entry: _.filepart
01-02 13:23:54:244 csync_exclude_load: Adding entry: *

01-02 13:23:54:245 csync_exclude_load: Adding entry: .part
01-02 13:23:54:245 csync_exclude_load: Adding entry: .crdownload
01-02 13:23:54:245 csync_exclude_load: Adding entry: .unison_
01-02 13:23:54:245 csync_exclude_load: Adding entry: csync_timedif.ctmp
01-02 13:23:54:246 csync_exclude_load: Adding entry: csync_journal.db
01-02 13:23:54:246 csync_exclude_load: Adding entry: csync_journal.db.ctmp
01-02 13:23:54:246 csync_exclude_load: Adding entry: ..sw?
01-02 13:23:54:246 csync_exclude_load: Adding entry: .
.sw?
01-02 13:23:54:247 csync_exclude_load: Adding entry: ].csync-progressdatabase
01-02 13:23:54:247 csync_exclude_load: Adding entry: ].DS_Store
01-02 13:23:54:247 csync_exclude_load: Adding entry: ].ds_store
01-02 13:23:54:247 csync_exclude_load: Adding entry: ]Thumbs.db
01-02 13:23:54:247 csync_exclude_load: Adding entry: desktop.ini
01-02 13:23:54:248 csync_exclude_load: Adding entry: *.kate-swp
01-02 13:23:54:248 csync_exclude_load: Adding entry: *conflict-
01-02 13:23:54:248 csync_exclude_load: Adding entry: ]
.~_
01-02 13:23:54:248 csync_exclude_load: Adding entry: ].TemporaryItems
01-02 13:23:54:249 csync_exclude_load: Adding entry: ].Trashes
01-02 13:23:54:249 csync_exclude_load: Adding entry: ].DocumentRevisions-V100
01-02 13:23:54:249 csync_exclude_load: Adding entry: .fseventd
01-02 13:23:54:249 csync_exclude_load: Adding entry: .apdisk
01-02 13:23:54:250 csync_exclude_load: Adding entry: .htaccess
01-02 13:23:54:250 csync_exclude_load: Adding entry: ]Icon\r

01-02 13:23:54:250 csync_exclude_load: Adding entry: ~$

01-02 13:23:54:250 csync_exclude_load: Adding entry: .~lock.

01-02 13:23:54:250 csync_exclude_load: Adding entry: ~*.tmp
01-02 13:23:54:251 ==> returning exclude file path: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:54:251 ==== added user defined ignore list to csync: "/Users/Koen/Library/Application Support/ownCloud/sync-exclude.lst"
01-02 13:23:54:251 QUrl( "http://serveradres.nl/storage/remote.php/webdav/" )
01-02 13:23:54:252 * event notification disabled
01-02 13:23:54:252 >===================================== sync started for "ownCloud"
01-02 13:23:54:252 void Mirall::CSyncThread::startSync() Sync started
01-02 13:23:54:252 starting to sync QThread(0x104813b10) QThread(0x10a1b5110)
01-02 13:23:54:252 Loading config: "/Users/Koen/Library/Application Support/ownCloud/owncloud.cfg" (URL is "http://serveradres.nl/storage" )
01-02 13:23:54:252 No database Transaction to commit
01-02 13:23:54:252 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
01-02 13:23:54:252 #### Update start #################################################### >>
01-02 13:23:54:252 csync_update: Journal: /Users/Koen/ownCloud/.csync_journal.db
01-02 13:23:54:255 csync_ftw: Uniq ID from Database: .DS_Store ->
01-02 13:23:54:255 csync_walker: file: /Users/Koen/ownCloud/.DS_Store
01-02 13:23:54:255 _csync_detect_update: .DS_Store excluded (2)
01-02 13:23:54:255 csync_ftw: <= Closing walk for /Users/Koen/ownCloud with read_from_db 0
01-02 13:23:54:255 csync_update: Update detection for local replica took 0,00 seconds walking 0 files.
01-02 13:23:54:255 oc_module: opendir method called on owncloud://serveradres.nl/storage/remote.php/webdav
01-02 13:23:54:255 oc_module: * scheme owncloud
01-02 13:23:54:255 oc_module: * host serveradres.nl
01-02 13:23:54:255 oc_module: * port 0
01-02 13:23:54:255 oc_module: * path /storage/remote.php/webdav
01-02 13:23:54:255 oc_module: * user
01-02 13:23:54:255 oc_module: No proxy configured.
01-02 13:23:54:437 FolderWatcherPrivate::callback by OS X
01-02 13:23:54:466 oc_module: Simple propfind result code 207.
01-02 13:23:54:466 oc_module: opendir returning handle 0x1048245e0 (count=1)
01-02 13:23:54:466 oc_module: closedir method called 0x1048245e0!
01-02 13:23:54:466 csync_ftw: <= Closing walk for owncloud://serveradres.nl/storage/remote.php/webdav with read_from_db 0
01-02 13:23:54:466 csync_update: Update detection for remote replica took 0,21 seconds walking 0 files.
01-02 13:23:54:467 <<#### Update end #################################################### 214
01-02 13:23:54:467 csync_reconcile: Reconciliation for local replica took 0,00 seconds visiting 0 files.
01-02 13:23:54:467 csync_reconcile: Reconciliation for remote replica took 0,00 seconds visiting 0 files.
01-02 13:23:54:467 Transaction Start "checkConnect"
01-02 13:23:54:467 Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
01-02 13:23:54:467 Transaction Start "All Finished."
01-02 13:23:54:468 CSync run took 215 Milliseconds
01-02 13:23:54:492 [PROGRESS] progressed 0 bytes in 0 files in msec 1
01-02 13:23:54:493 -> CSync Finished slot with error false warn count 0
01-02 13:23:54:493 Starting Event logging again in 2000 milliseconds
01-02 13:23:54:494 OO folder slotSyncFinished: result: 2
01-02 13:23:54:494 Folder in overallStatus Message: Mirall::Folder(0x10db02aa0) with name "ownCloud"
01-02 13:23:54:494 Sync state changed for folder "ownCloud" : "Success"
01-02 13:23:54:495 SocketApi: Sync state changed
01-02 13:23:54:495 SocketApi: Broadcasting to 0 listeners: "UPDATE_VIEW"
01-02 13:23:54:495 folder is sync enabled: true
01-02 13:23:54:496 <===================================== sync finished for "ownCloud"
01-02 13:23:54:506 FolderWatcherPrivate::callback by OS X
01-02 13:23:54:697 XX slotScheduleFolderSync: folderQueue size: 0
01-02 13:23:55:000 !!! Mirall::CheckQuotaJob created for QUrl( "http://serveradres.nl/storage" ) querying "/"
01-02 13:23:56:494 * event notification enabled

@ogoffart
Copy link
Contributor

ogoffart commented Jan 4, 2014

Thanks for the bug report.

Here is my analysis for further debugging:

The client deletes everything on the server.

01-02 13:23:19:647 * DELETE /storage/remote.php/webdav/folder
01-02 13:23:19:880 "DELETE FROM metadata WHERE phash=?" -899572854439461862 "folder"
01-02 13:23:19:880 "DELETE FROM metadata WHERE path LIKE(?||'/%')" "folder"
01-02 13:23:19:880 Transaction Start "Remote Remove"
01-02 13:23:19:882 void Mirall::CSyncThread::transferCompleted(const Mirall::SyncFileItem&) "folder" 4 ""
01-02 13:23:19:882 Failed to query the 'inode' for file "/Users/Koen/ownCloud/folder"
01-02 13:23:19:882 "INSERT OR REPLACE INTO metadata (phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid) VALUES ( ? , ?, ? , ? , ? , ? , ?, ? , ? , ?, ? )" -899572854439461862 6 "folder" 0 0 0 0 "1341080895" "2" "52c55a2f3eb73" "0002104451470f0827d80"

We also removed everything from the DB, but on that last line, we seem to add 'folder' back to the DB.

Then this is wierd, a bit later we see this:

01-02 13:23:24:048 csyncmerge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document2.pdf
01-02 13:23:24:048 csyncmerge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document1.pdf
01-02 13:23:24:048 csyncmerge_algorithm_visitor: INSTRUCTION_NEW dir: folder/subfolder
01-02 13:23:24:049 csyncmerge_algorithm_visitor: INSTRUCTION_NEW file: folder/subfolder/document3.pdf
01-02 13:23:24:049 csyncmerge_algorithm_visitor: INSTRUCTION_REMOVE dir: folder

I believe that the client think the directory 'folder' has been removed on the server because it is in the DB.
So the problem seems to be that we save 'folder' in the db again.

@ghost ghost assigned ogoffart Jan 4, 2014
ogoffart added a commit that referenced this issue Jan 8, 2014
@ogoffart ogoffart closed this as completed Jan 8, 2014
@kwillems
Copy link
Author

kwillems commented Jan 8, 2014

Thanx very much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants