client icon indicating copy to clipboard operation
client copied to clipboard

New files (folders) first uploaded then erased!!

Open maddhin opened this issue 13 years ago • 52 comments

I have the following problem (using 1.3.0 and betas / clients before, this is not 1.3.0 specific, Win7 64bit): after initial sync, I realized missing files, I copied them again from a backup back to my laptop into the owncloud folder. Then it took forever to sync it with the cloud (NAS in same network, about 2 GB data which should normally sync in no time). 2 days later, when most(!) of the files were on the server, owncloud / client started to erase them again - about 600 files, also took a very long time to do so (high load on NAS / server). Ridiculously it erases only the files on the laptop but not the folders. Hence the folder structure is still intact but no files inside.

One might want to say the worst bug a syncing client can have...

I get the following in the log:

06-26 13:05:46:073 _csync_remove_dir: dir: C:/Users/XYZ, command: rmdir, error: Operation not permitted 06-26 13:05:47:385 oc_module: Neon error code was 1

This way it cycles through the dirs and removes the files that have been uploaded before. Strangely it leaves other files and dirs alone. AFAIK this whole thing is only happening for certain dirs. I have a particular dir which, after the initial sync from laptop to cloud, had about half the dirs missing. So I copied the missing dirs from backup and the upload/deletion cycle is starting...

Anybody any idea what could cause this?

maddhin avatar Jun 26 '13 13:06 maddhin

Can you give me the rest of the log as well? This line already looks interesting, I need more context.

danimo avatar Jun 26 '13 21:06 danimo

That would be the log automatically generated:

06-27 16:47:41:295 "################## ownCloud de_DE (de_DE) 1.3.0" 06-27 16:47:41:863 * Setup folders from "C:\Users\User2\AppData\Local\ownCloud/folders" 06-27 16:47:41:863 ` -> setting up: "Dokumente" 06-27 16:47:41:864 -> file path: "C:/Users/User2/AppData/Local/ownCloud/folders/Dokumente" 06-27 16:47:41:864 Returning configured owncloud url: "https://serverURL:8081/owncloud/remote.php/webdav/" 06-27 16:47:41:864 setting remote poll timer interval to 28349 msec for folder "Dokumente" 06-27 16:47:41:865 * Pending events for "C:/Users/User2/ownCloud" will be processed after events stop for 1000 milliseconds ( "17:04:21" ). 0 events until now ) 06-27 16:47:41:865 ==> returning exclude file path: "C:/Program Files (x86)/ownCloud/sync-exclude.lst" 06-27 16:47:41:866 Checked local path ok 06-27 16:47:41:866 ****** ownCloud folder using watcher ******* 06-27 16:47:41:868 ==> returning exclude file path: "C:/Program Files (x86)/ownCloud/sync-exclude.lst" 06-27 16:47:41:868 ==== added CSync exclude List: "C:/Program Files (x86)/ownCloud/sync-exclude.lst" 06-27 16:47:41:868 csync_exclude_load: Loading exclude file: C:/Program Files (x86)/ownCloud/sync-exclude.lst 06-27 16:47:41:868 csync_exclude_load: Adding entry: .filepart 06-27 16:47:41:868 csync_exclude_load: Adding entry: *~ 06-27 16:47:41:869 csync_exclude_load: Adding entry: *.bak 06-27 16:47:41:869 csync_exclude_load: Adding entry: *.part 06-27 16:47:41:869 csync_exclude_load: Adding entry: *.crdownload 06-27 16:47:41:869 csync_exclude_load: Adding entry: *.unison 06-27 16:47:41:869 csync_exclude_load: Adding entry: csync_timedif.ctmp 06-27 16:47:41:869 csync_exclude_load: Adding entry: ..sw? 06-27 16:47:41:869 csync_exclude_load: Adding entry: .._sw? 06-27 16:47:41:870 csync_exclude_load: Adding entry: .DS_Store 06-27 16:47:41:870 csync_exclude_load: Adding entry: .ds_store 06-27 16:47:41:870 csync_exclude_load: Adding entry: desktop.ini 06-27 16:47:41:870 csync_exclude_load: Adding entry: Thumbs.db 06-27 16:47:41:870 csync_exclude_load: Adding entry: *.kate-swp 06-27 16:47:41:870 csync_exclude_load: Adding entry: *.aux 06-27 16:47:41:870 csync_exclude_load: Adding entry: *.nav 06-27 16:47:41:871 csync_exclude_load: Adding entry: .out 06-27 16:47:41:871 csync_exclude_load: Adding entry: .toc 06-27 16:47:41:871 csync_exclude_load: Adding entry: conflict- 06-27 16:47:41:871 csync_exclude_load: Adding entry: .TemporaryItems 06-27 16:47:41:871 csync_exclude_load: Adding entry: .Trashes 06-27 16:47:41:871 csync_exclude_load: Adding entry: .DocumentRevisions-V100 06-27 16:47:41:872 csync_exclude_load: Adding entry: .fseventd 06-27 16:47:41:872 csync_exclude_load: Adding entry: .apdisk 06-27 16:47:41:872 csync_exclude_load: Adding entry: .htaccess 06-27 16:47:41:872 csync_exclude_load: Adding entry: Icon\r 06-27 16:47:41:872 csync_exclude_load: Adding entry: ~$ 06-27 16:47:41:872 csync_exclude_load: Adding entry: .~lock. 06-27 16:47:41:873 csync_config_load: Config: max_depth = 50 06-27 16:47:41:873 csync_config_load: Config: max_time_difference = 10 06-27 16:47:41:874 csync_config_load: Config: sync_symbolic_links = 0 06-27 16:47:41:874 csync_config_load: Config: timeout = 0 06-27 16:47:41:874 csync_exclude_load: Loading exclude file: C:\Users\User2\AppData\Local\ownCloud//ocsync_exclude.conf 06-27 16:47:41:874 csync_init: Could not load C:\Users\User2\AppData\Local\ownCloud//ocsync_exclude.conf - No such file or directory 06-27 16:47:41:874 csync_init: Journal: C:/Users/User2/ownCloud/.csync_journal.db 06-27 16:47:41:920 csync_vio_init: Win32: changing current working dir to C:\Program Files (x86)\ownCloud 06-27 16:47:41:921 csync_vio_init: Win32: changing current working dir to C:\Program Files (x86)\ownCloud 06-27 16:47:41:924 csync_vio_init: capabilities: atomar copy support: yes 06-27 16:47:41:924 csync_vio_init: capabilities: post copy stat: no 06-27 16:47:41:925 csync_vio_init: capabilities: time sync required: no 06-27 16:47:41:925 csync_vio_init: capabilities: unix extensions: 0 06-27 16:47:41:925 csync_vio_init: capabilities: use send_file: yes 06-27 16:47:41:925 csync_init: Module does not need time synchronization. 06-27 16:47:41:925 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:943 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:943 Passing NO proxy to csync for "https://serverURL:8081/owncloud/" 06-27 16:47:41:944 Adding folder to Folder Map Mirall::ownCloudFolder(0x4bd42e0) 06-27 16:47:41:944 Check status.php from statusdialog. 06-27 16:47:41:944 Get Request to "status.php" 06-27 16:47:41:944 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:944 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:945 Setting up host header: "serverURL" 06-27 16:47:41:945 Folder in overallStatus Message: Mirall::ownCloudFolder(0x4bd42e0) with name "Dokumente" 06-27 16:47:41:947 Sync state changed for folder "Dokumente" : "Not yet Started" 06-27 16:47:41:947 Folder: Mirall::ownCloudFolder(0x4bd42e0) 06-27 16:47:41:947 Returning configured owncloud url: "https://serverURL:8081/owncloud/remote.php/webdav/" 06-27 16:47:41:948 Check status.php from statusdialog. 06-27 16:47:41:948 Get Request to "status.php" 06-27 16:47:41:948 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:949 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:949 Setting up host header: "serverURL" 06-27 16:47:41:951 Network Location: "" 06-27 16:47:42:010 * Mirall shutdown

maddhin avatar Jun 27 '13 11:06 maddhin

here from what I got from the logwindow (I erased most redundent stuff as it has been A LOT)

first, csync_merge_algorithm_visitor goes on for thousands of files:

06-27 16:45:47:797 _csync_merge_algorithm_visitor: INSTRUCTION_NONE file: Company/Countrya/Comp/Homepage COUNTRYA/Kopien Comp homepage/maintenance-Dateien/headseg_202.gif 06-27 16:45:47:797 _csync_merge_algorithm_visitor: INSTRUCTION_NONE file: Temp/Neuer Ordner/90005568261.pdf 06-27 16:45:47:797 _csync_merge_algorithm_visitor: INSTRUCTION_NONE file: Company/Countrya/Comp/Homepage COUNTRYA/Kopien Comp homepage/routine-Dateien/headseg_104.gif

but then:

06-27 16:45:47:797 csync_reconcile: Reconciliation for remote replica took 0.29 seconds visiting 10617 files. 06-27 16:46:31:336 * csync thread started 06-27 16:46:31:337 Returning configured owncloud url: "https://serverURL:8081/owncloud/remote.php/webdav/" 06-27 16:46:31:338 Check status.php from statusdialog. 06-27 16:46:31:338 Get Request to "status.php" 06-27 16:46:31:339 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:46:31:339 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:46:31:339 Setting up host header: "serverURL" 06-27 16:46:31:341 Folder in overallStatus Message: Mirall::ownCloudFolder(0x497a7a8) with name "Dokumente" 06-27 16:46:31:342 Sync state changed for folder "Dokumente" : "Sync Running" 06-27 16:45:47:813 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-03-26-1253467248_04-EVN.pdf, command: unlink, error: Permission denied 06-27 16:45:47:813 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-11-23-1346767663_04-EVN.pdf, command: unlink, error: Permission denied 06-27 16:45:47:814 _csync_push_file: continuation: 1 -1453106674 06-27 16:45:47:814 csync_vio_stat: Win32: STAT-inode for C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Tunel_2_wgs84_Zone38.jpg: 129508 06-27 16:45:47:814 _csync_push_file: Remote repository atomar push enabled for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_2_wgs84_Zone38.jpg (0). 06-27 16:45:47:814 oc_module: => open called for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_2_wgs84_Zone38.jpg 06-27 16:45:47:814 oc_module: Stating directory ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs 06-27 16:45:47:814 oc_module: owncloud_stat ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs called 06-27 16:45:48:278 oc_module: Simple propfind result code 207. 06-27 16:45:48:278 oc_module: => Errno after fetch resource list for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs: 0 06-27 16:45:48:278 oc_module: Working on file Yyy docs 06-27 16:45:48:278 oc_module: STAT result from propfind: Yyy docs, mtime: 1372322199 06-27 16:45:48:278 oc_module: Directory of file to open exists. 06-27 16:45:48:278 oc_module: PUT request on /owncloud/remote.php/webdav/Dokumente/COMPANY2/Country%20Tunnel/Yyy%20docs/Tunel_2_wgs84_Zone38.jpg! 06-27 16:45:48:278 oc_module: Sendfile handling request type PUT. 06-27 16:45:48:278 oc_module: Existing chunk info 1 -1453106674 06-27 16:46:15:565 _csync_push_file: file: C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Tunel_2_wgs84_Zone38.jpg, command: sendfile, error: No error from errno 0 06-27 16:46:15:565 _csync_push_file: remember chunk: 0 (transfer id -1453106674 ) 06-27 16:46:15:565 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-09-25-1326017840_04-EVN.pdf, command: unlink, error: Permission denied 06-27 16:46:15:566 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-02-24-1241754936_04-RG.pdf, command: unlink, error: Permission denied 06-27 16:46:15:566 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-01-24-1230024381_04-RG.pdf, command: unlink, error: Permission denied 06-27 16:46:15:566 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-02-24-1241754936_04-EVN.pdf, command: unlink, error: Permission denied 06-27 16:46:15:566 _csync_push_file: continuation: 1 -1448232641 06-27 16:46:15:567 csync_vio_stat: Win32: STAT-inode for C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Tunel_3_wgs84_Zone38.jpg: 129582 06-27 16:46:15:567 _csync_push_file: Remote repository atomar push enabled for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_3_wgs84_Zone38.jpg (0). 06-27 16:46:15:567 oc_module: => open called for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_3_wgs84_Zone38.jpg 06-27 16:46:15:567 oc_module: Stating directory ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs 06-27 16:46:15:567 oc_module: Dir ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs is there, we know it already. 06-27 16:46:15:567 oc_module: PUT request on /owncloud/remote.php/webdav/Dokumente/COMPANY2/Country%20Tunnel/Yyy%20docs/Tunel_3_wgs84_Zone38.jpg! 06-27 16:46:15:567 oc_module: Sendfile handling request type PUT. 06-27 16:46:15:567 oc_module: Existing chunk info 1 -1448232641 06-27 16:46:34:464 status.php returns: "{"installed":"true","version":"5.0.12","versionstring":"5.0.7","edition":""}" 0 Reply: QNetworkReplyImpl(0xa1a8010) 06-27 16:46:34:465 #-------# oC found on "https://serverURL:8081/owncloud" 06-27 16:46:44:514 _csync_push_file: file: C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Tunel_3_wgs84_Zone38.jpg, command: sendfile, error: No error from errno 0 06-27 16:46:44:514 _csync_push_file: remember chunk: 0 (transfer id -1448232641 ) 06-27 16:46:44:514 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-07-25-1301746668_04-RG.pdf, command: unlink, error: Permission denied 06-27 16:46:44:515 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-01-24-1230024381_04-EVN.pdf, command: unlink, error: Permission denied 06-27 16:46:44:515 _csync_push_file: continuation: 1 -1446550890 06-27 16:46:44:515 csync_vio_stat: Win32: STAT-inode for C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Geology.jpg: 129690 06-27 16:46:44:515 _csync_push_file: Remote repository atomar push enabled for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Geology.jpg (0). 06-27 16:46:44:515 oc_module: => open called for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Geology.jpg 06-27 16:46:44:515 oc_module: Stating directory ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs 06-27 16:46:44:515 oc_module: Dir ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs is there, we know it already. 06-27 16:46:44:515 oc_module: PUT request on /owncloud/remote.php/webdav/Dokumente/COMPANY2/Country%20Tunnel/Yyy%20docs/Geology.jpg! 06-27 16:46:44:515 oc_module: Sendfile handling request type PUT. 06-27 16:46:44:515 oc_module: Existing chunk info 1 -1446550890 06-27 16:47:10:592 _csync_push_file: file: C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Geology.jpg, command: sendfile, error: No error from errno 0 06-27 16:47:10:593 _csync_push_file: remember chunk: 0 (transfer id -1446550890 ) 06-27 16:47:10:593 _csync_push_file: continuation: 1 -1445054665 06-27 16:47:10:593 csync_vio_stat: Win32: STAT-inode for C:/Users/User/ownCloud/COMPANY2/Country Tunnel/Yyy docs/Tunel_1_wgs84_Zone38.jpg: 129722 06-27 16:47:10:593 _csync_push_file: Remote repository atomar push enabled for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_1_wgs84_Zone38.jpg (0). 06-27 16:47:10:593 oc_module: => open called for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs/Tunel_1_wgs84_Zone38.jpg 06-27 16:47:10:593 oc_module: Stating directory ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs 06-27 16:47:10:593 oc_module: Dir ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/COMPANY2/Country Tunnel/Yyy docs is there, we know it already. 06-27 16:47:10:593 oc_module: PUT request on /owncloud/remote.php/webdav/Dokumente/COMPANY2/Country%20Tunnel/Yyy%20docs/Tunel_1_wgs84_Zone38.jpg! 06-27 16:47:10:593 oc_module: Sendfile handling request type PUT. 06-27 16:47:10:593 oc_module: Existing chunk info 1 -1445054665 06-27 16:47:41:965 "################## ownCloud de_DE (de_DE) 1.3.0" 06-27 16:47:41:966 #============# Status dialog starting #=============# 06-27 16:47:41:967 Folder: Mirall::ownCloudFolder(0x497a7a8) 06-27 16:47:41:968 Returning configured owncloud url: "https://serverURL:8081/owncloud/remote.php/webdav/" 06-27 16:47:41:969 Check status.php from statusdialog. 06-27 16:47:41:970 Get Request to "status.php" 06-27 16:47:41:970 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:971 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:41:972 Setting up host header: "serverURL" 06-27 16:47:42:015 Check status.php from statusdialog. 06-27 16:47:42:016 Get Request to "status.php" 06-27 16:47:42:017 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:42:017 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:42:018 Setting up host header: "serverURL" 06-27 16:47:42:020 Check status.php from statusdialog. 06-27 16:47:42:021 Get Request to "status.php" 06-27 16:47:42:022 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:42:026 Returning configured owncloud url: "https://serverURL:8081/owncloud/" 06-27 16:47:42:027 Setting up host header: "serverURL" 06-27 16:47:44:328 SSL-Warnings happened for url "https://serverURL:8081/owncloud/status.php" 06-27 16:47:44:329 Certs are already known and trusted, Warnings are not valid. 06-27 16:47:44:637 SSL-Warnings happened for url "https://serverURL:8081/owncloud/status.php" 06-27 16:47:44:637 Certs are already known and trusted, Warnings are not valid. 06-27 16:47:45:890 oc_module: Simple propfind result code 207. 06-27 16:47:45:890 oc_module: => Errno after fetch resource list for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/Company/Abc/Comp4: 0 06-27 16:47:45:890 oc_module: Working on file Comp4 06-27 16:47:45:890 oc_module: STAT result from propfind: Comp4, mtime: 1168006698 06-27 16:47:45:890 _csync_new_dir: dir: ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/Company/Abc/Comp4/Bj Int'l Hotel, command: mkdirs, error: Not a directory 06-27 16:47:47:593 oc_module: Neon error code was 1 06-27 16:47:47:593 _csync_remove_dir: dir: C:/Users/User/ownCloud/COMPANY2/Country BawaNur/Contract, command: rmdir, error: Operation not permitted 06-27 16:47:47:593 oc_module: owncloud_stat ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/Company/Presentations called 06-27 16:47:47:666 status.php returns: "{"installed":"true","version":"5.0.12","versionstring":"5.0.7","edition":""}" 0 Reply: QNetworkReplyImpl(0x743c7b8) 06-27 16:47:47:667 #-------# oC found on "https://serverURL:8081/owncloud" 06-27 16:47:52:978 status.php returns: "{"installed":"true","version":"5.0.12","versionstring":"5.0.7","edition":""}" 0 Reply: QNetworkReplyImpl(0xc21af80) 06-27 16:47:53:147 oc_module: Simple propfind result code 207. 06-27 16:47:53:147 oc_module: => Errno after fetch resource list for ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/Company/Presentations: 0 06-27 16:47:53:147 oc_module: Working on file Presentations 06-27 16:47:53:147 oc_module: STAT result from propfind: Presentations, mtime: 1025643042 06-27 16:47:53:147 _csync_new_dir: dir: ownclouds://serverURL:8081/owncloud/remote.php/webdav/Dokumente/Company/Presentations/Comp Video Transfered, command: mkdirs, error: Not a directory 06-27 16:47:53:267 status.php returns: "{"installed":"true","version":"5.0.12","versionstring":"5.0.7","edition":""}" 0 Reply: QNetworkReplyImpl(0x743c058) 06-27 16:47:56:458 oc_module: Neon error code was 1 06-27 16:47:56:458 _csync_remove_dir: dir: C:/Users/User/ownCloud/Company/Abc/CDE/??/????/????? 6.09 2006-6-14 17-25-37/Category/????/???, command: rmdir, error: Operation not permitted 06-27 16:47:59:854 oc_module: Neon error code was 1 06-27 16:47:59:854 _csync_remove_dir: dir: C:/Users/User/ownCloud/Company/Abc/CDE/??/??/Dieter Petersin, command: rmdir, error: Operation not permitted 06-27 16:48:02:042 oc_module: Neon error code was 1

from then on it is basically only "Neon error code was 1" and occasionally "Simple propfind result code 207"...

I hope that helps.

maddhin avatar Jun 27 '13 11:06 maddhin

The logfile shows permission errors on the local file system, for example 06-27 16:46:44:514 _csync_remove_file: file: C:/Users/User/ownCloud/Company/D Ltd. & Co KG/BF/O2 Xy/2012-07-25-1301746668_04-RG.pdf, command: unlink, error: Permission denied

dragotin avatar Jul 02 '13 09:07 dragotin

Can I do something to fix these permission errors? It's a Win7 (64bit), single user machine, not sure what can be done with permissions...

maddhin avatar Jul 04 '13 18:07 maddhin

Yesterday I installed "Server 5" (latest advertised).. and installed the latest client side on Win7x64. After general instability, unreliability, performance issues, etc... I'm now digging through these github issues and seeing this type of thing! SCARY.

I'm definitely going to have to shelve ownCloud for another year or two. I hope you guys can make this work. It's probably over 99% ready for prime time.

Related to this issue of unexpected deletion - there should definitely be a client option to never delete anything from the client. No doubt many are like me and just want ownCloud as a PC insurance plan, with the added perk that you can fetch files and drop in new ones remotely.

daarong avatar Jul 07 '13 22:07 daarong

i have same problem, any ideas?

pcreadycl avatar Jul 08 '13 02:07 pcreadycl

It is scary when you look at it but if your data disappears and you don't even know WHAT owncloud is erasing (the only thing I always get is the little pop-up saying 'owncloud has erased 343 files'!!!!) it is a disaster and should be unthinkable for such a solution. Although I love the project and everybody does an amazing job but, sorry, IMHO it is irresponsible to let the software go beyond BETA with such issues.

maddhin avatar Jul 08 '13 03:07 maddhin

I have same issue with OwnCloud server 5.0.7 on Linux CentOS6.4 x64 and Mac OS X desktop clients v. 1.3.0 Files disappear from user's folders without any reason and without notifications. It makes users very angry and frustrate about this software.

Is this issue presents only in free version? Will it be possible to avoid this problem if we pay for license?

vladreamer avatar Jul 08 '13 14:07 vladreamer

this issues is for wrong sync "client to server".

files are created in the client pc, but as they are synchronized with the server at startup again apparently the master copy is the server and not your computer, so empty folders and delete all the files created.

I think it is a very serious problem, which I have already referred the post:

https://forum.owncloud.org/viewtopic.php?f=14&t=13120

But the support response was that the software does not work collaboratively, yet do not see the problem that is being presented with this "feature" disabled or absent.

Owncloud is a very handy tool for those who are users of this but support should be more flexible so that the public and users need.

pcreadycl avatar Jul 08 '13 23:07 pcreadycl

@pcreadycl : thanks for bringing this up, it seems there are much more issues than I thought. Collaboration is no major issue to me, but using Owncloud to sync several PCs you are pointing out another scary scenario. Looks like I need to double-check every file I change now:(((

One hint: there is a syncing software called syncing.net (www.syncing.net). I have no relations with them whatsoever but used it for many years until they struggled and sold the company and the new owner wants the old clients to buy the software again (-> no way!). BUT their client supports P2P and solved all these issues billiantly. IMHO their client together with Owncloud as server would be an amazing product kicking out all cloud and sycning solutions in the market. Just saying...

maddhin avatar Jul 09 '13 01:07 maddhin

maddhin: I do not really want to work with a solution that is based on Windows and private code. Owncloud is perfect for what I need because it is open source and is based linux systems to operate.

I think it's important that you take this request as a priority, not the rest of the stuff but at least give us a date of settlement of weeks or months if necessary.

In my company I am interested in integrating owncloud to all my clients, but to do so I require that this works in this respect equal to dropbox.

Dropbox is an option to platform but the costs of operation and latency of their servers in USA we are concerned to implement a final, however if we can put local servers, or at least add these to our data, it would be the perfect solution .

I will not impose on dispocision makers, administrators, moderators or testers.

I can support them in the implementation of this system here in Chile, as a reseller or parnert.

Hopefully this can be answered shortly by some owncloud developer. Thank you!

pcreadycl avatar Jul 09 '13 01:07 pcreadycl

Yes, I also dislike private code but maybe one of the developer can contact them and see if there is any way they can collaborate. I believe it is worth a try as this could push this project and could save months or even years of development. I also think the syncing.net have a viable interest in collaboration. Anyway, won't hurt to ask...

I entirely agree on "take this request as priority" though :+1: Without a fix, owncloud is pretty useless to me :(

maddhin avatar Jul 09 '13 02:07 maddhin

The scenario is:

In this scenario there will never users working offline.

I have a local server (Ubuntu 12.04 LTS) in the office which stores all the information and shares it with Samba4, that server users connect through the intranet and work on the server.

It occurred to me that if I install a secondary server in the same office and install owncloud 5.0.7 (Ubuntu 12.04 LTS) could create my own cloud to share files with clients.

But it also occurred to me that could store all files on a server with owncloud.

How I would do?

In the storage server office owncloud client install (. Deb) and synchronize the folders that I have shared with samba, then I am a mirror copy from a server to another server.

Synchronize everything perfect and users can work on the server without problems and updated files are copied to the new server and I can manage versions and restore them if necessary.

The problem starts with the new files and folders. When you create a new folder on the server locally almanacenamiento or through the intranet teams, the folder is created on the server, but the client does not understand the owncloud synchronized with the server and delete it the next synchronization with all its contents.

When working with Samba4 platform and have the "oplock" assets 2 users will never be able to work on the same file, so that collaborative or concurrent mode is not what I need.

As you can update the client or recompiled to any change is detected in the system is uploaded to the server owncloud?

I think the problem is not owncloud platform, if the client does not recognize changes in file storage server, then do not think the problem is greater, today I worked with a python development that integrates the kernel system and is compatible with all linux platforms. This script is able to detect all file changes recursively system to detect a change and run a line or several lines of command to the file or files.

So if the sync off layers to detect file changes as does this script would be solved this problem, the issue is that I am not a developer, I am network engineer.

The script is very simple and basic but effective and what matters in the systems is the effectiveness of this once implentado. It is very similiar to inotify, but the advantage is that it can work with subfolders, which does inotify.

This is the URL: http://www.splitbrain.org/blog/2011-01/07-watcher_a_recursive_incron_alternative

I hope we can figure this out friends, if I can help with anything I will.

pcreadycl avatar Jul 09 '13 02:07 pcreadycl

We are very sorry for the trouble. We are looking into the issue if you help us to debug and reproduce it. Thanks a lot for the understanding.

karlitschek avatar Jul 09 '13 06:07 karlitschek

I found a solution to this problem ..!

The solution is not the most efficient, but it shows that the problem is the software platform synchronization owncloud.

Tomorrow publishes my results and the scheme used in the solution.

Owncloud hope developers take this into account and in the next beta version synchronization software can make changes to make it work properly.

Thank you all for your time.

Url: http://forum.owncloud.org/viewtopic.php?f=14&t=13120

pcreadycl avatar Jul 09 '13 06:07 pcreadycl

Lets please focus on @maddhin s problem first. @maddhin, do you still have the full log of one sync run? The log you posted above shows that the client tries to remove stuff, but not, why it came to the conclusion to do that. That is in the update phase of the csync run which we would see in the whole log. Please use either gist or mail directly to me.

A couple of other questions:

  • do you have the client dir on a nfs, samba or windows offline folders directory for sync?
  • do you have special backends configured on the ownCloud server?
  • any idea why you have permission denied problems locally? Thanks for answering.

dragotin avatar Jul 09 '13 11:07 dragotin

I had also the feeling that there was something missing but that was the whole log I got. I will try to make a new sync but work keeps me v busy these days:(

Other questions: 3x no or not that I would know of. I simply installed owncloud on my Qnap NAS, added a folder on my HDD and added the files into that folder and owncloud synced. But even the first sync did not run smooth and there were files and folders missing (= erased!) in the client folder on laptop HDD. This is how I found this problem...

The folder on the NAS is - I'd guess - some NFS or something folder. But also nothing special. I store the data in a separated folder and not in the /Web dir. But that should make no difference.

maddhin avatar Jul 09 '13 13:07 maddhin

@maddhin Please explain to me in detail what your problem is with a scenario of connections between devices and the configuration of these in order to help you, I think your problem is very similar to mine, that the folders are deleted.

pcreadycl avatar Jul 09 '13 13:07 pcreadycl

@pcreadycl I'm not sure if I completely understand your question. Let me try: when I put new files in my owncloud folder on my Win7 x64, they sync as they should (which seems terribly slow though) and after the sync is done, it starts (randomly?) erasing files and folders. It seems, it only erases files and leaves the main folders. That is all I know - I synced all my files (like 10.000 and tons of folders), so I have a hard time to track what is erased and what not. But once in a while I find files missing. So, the erasing is not limited to the "new" folder.

Another device / client (Win7 x32) doesn't seem to do anything. It neither syncs the new files (while they are e.g. still upload from the other client) nor erases them. It seems this client has no idea what is going on. The syncing seems to work with "a few" files though. Also the initial sync mirrored all files in the cloud.

It appears that the server "forgets" or "not indexes" the newly added files so they doesn't seem to exist for the server and then tells the client to erase them on Win7.

IMHO some "communication" issue between server/client while syncing/uploading.

maddhin avatar Jul 09 '13 13:07 maddhin