pydio / pydio-sync-java

[DEPRECATED] Synchronization Client of the Pydio project. Based on the Java SDK.
GNU General Public License v3.0
35 stars 15 forks source link

server cache ? folder is still synchronizing despite beeing deleted #17

Closed andybross closed 11 years ago

andybross commented 11 years ago

I have set SYNC client just for downloading.

I have deleted folder A located in root of repository B on server and then on client..

BUT

Folder and its sub-folders are still downloading from server, despite beeing already deleted there. Files are not icluded anymore .. just folders structure.

Is there any server-side cache to clear ? for this purposes ?

I was lately reinstalling server scripts.

Thank you

PS: I dont use PHP rsync

cdujeu commented 11 years ago

Ha ha, maybe a bug, the "download only" and "upload only" cases are generally less tested than the "bidirectionnal" case. I'll try to reproduce this.

andybross commented 11 years ago

:-) Not sure. I am trying sync for a few days and it was not much reliable yet.

Another scenario I have tested today ..

Client W8 64 / Server Ubuntu without PHP Rsync / / bidirectionnal

I have add this data structure to current repository on local side

root 1-----folderA (was already there) 2---------folderB 3------------folderC 4-----------------folderD 5----------------------fileA

FolderD and fileA were not synced ! to server

Can implemening Rsync improve it ?

This is just one case .. but I have experieneced many situations where files were not sync ..

cdujeu commented 11 years ago

to be sure, nothing to do with a special character inside the name of the problematic files/folders?

andybross commented 11 years ago

You are right ! When I leave out czech chars then it worked ...

but what is solution ?

Czech Windows uses CP1252 and my server en_US.UTF-8 ...

I cannot work with zip archives made on Windows and also SYNC is out unusable :(

cdujeu commented 11 years ago

Can you display the content of the AjaXplorerSynchronizer.ini located inside the program folder?

cdujeu commented 11 years ago

Can you display the content of the AjaXplorerSynchronizer.ini located inside the program folder?

andybross commented 11 years ago

display

cdujeu commented 11 years ago

hum, seems ok. Can you try setting lang=1036 instead of 1029 ? Charles

andybross commented 11 years ago

THANK YOU

case2 it looks it works better definately now, I have created data structures on both sides including czech letters in every single name .. they sync completely !!

case1 I have also manage to get rid of that troubling directory after I have changed to bidirectionnal .. it really looks to work better than just download

do you have some tip for me what could help me with ZIP archives created on Windows ... theres problem with czech chars as WUI cannot work with them ??

THANK YOU

andybross commented 11 years ago

this misbehaviour persists:

czech chars excluded:

Scenario:

1, data structure created on PC side

1-----folderA 2---------folderB 3------------folderC 4-----------------folderD 5----------------------fileA

2, data structure synced properly to server

3, deleted through WUI

4, deletion didnt sync back to PC, data stay on PC

During sync client crashed (for the first time) .. not sure if it had some common with this problem ..

java error notification:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4361) at org.eclipse.swt.SWT.error(SWT.java:4276) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at info.ajaxplorer.synchro.Manager.main(Manager.java:210) Caused by: java.lang.NullPointerException at java.io.File.(Unknown Source) at info.ajaxplorer.synchro.Manager.makeJobLabel(Manager.java:600) at info.ajaxplorer.synchro.gui.SysTray.notifyUser(SysTray.java:74) at info.ajaxplorer.synchro.Manager$2.run(Manager.java:241) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 3 more

andybross commented 11 years ago

tested the scenario a few times .. the most of times directory structure will persist on PC despite beeing deleted on server

andybross commented 11 years ago

tested again and again .. I must say that once deleted folder structure will sync back to local BUT it usually takes 3 - 7 sync sessions until job is complety done.