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

Random synchronizing... or not #44

Open sbaproductions opened 10 years ago

sbaproductions commented 10 years ago

I had this issue with the first sync client with Ajaxplorer, and was really hoping it would work better with the new version. It is never reliable in synchronizing. My setup is: A local folder on my laptop synchronizing to the server. A local folder on my home desktop synchronizing the same way to the same server. Goal being that I have the same folder on both home and laptop synchronized at all times.

If I drop a file or folder in the local folder, it will often upload to the server. However, it will more often not actually download to the other machine's local folder. Pydio will show that the program had last synced within the minute - but even after waiting hours it will not ever sync. But, sometimes I try with a different file and it goes right through.

Any ideas!? A quick screenshot to demonstrate:

Notice the folder: NEW TEST FOLDER is local, but not in the remote location. However, the sync shows that it was done after the folder was created. I even tried forcing the synchronization manually several times. It will not create that folder in the remote location. screen shot 2014-01-28 at 4 41 14 pm

sbaproductions commented 10 years ago

Or as you can see from this example, this time a made a folder called "This test folder actually contains a file", and it contained 2 files. I put them in my local sync folder on the laptop, and in a minute or so they began and uploaded successfully to the remote server. However, in this screen shot, you can see that the folder is in the remote server, but never actually syncs back to the local machine on the other end (the desktop machine). Even after forcing a sync. screen shot 2014-01-28 at 4 51 34 pm

wojt-spot commented 10 years ago

Hello @sbaproductions it is shade that it was not reported earlier (before 0.8.4 release) this could be fixed already. Anyway I will take care of it and try to reproduce and fix ASAP. If I have problems with reproduce, please let me know: Your operating system version Your java version For both computers please.

And maybe there is something in Your logs? (.pydio/pydio.error & .pydio/pydio.log - in users home)

sbaproductions commented 10 years ago

Laptop: OS X 10.9.1, Java 7 Update 51 Desktop: OS X 10.8.5, Java 7 Update 51

This site won't let me upload the log files - only accepts PNG, GIF, or JPG.

sbaproductions commented 10 years ago

I zipped the files and uploaded them to my Pydio site. You can download them here: http://fileshare.sbaproductions.com/data/public/f454b4.php

wojt-spot commented 10 years ago

Hello @sbaproductions It is really weird, as I have no problems with such configuration (I did such tests also before when testing current release). I see many ERRORs in Your log file, with upload and download info (it looks like there is one or more files which breaks the synchro). Please: 1) check a client log viewer - maybe "fix conflicts" helps 2) provide file names (and sizes) inside of this folder 3) provide server logs, so we can check whats going on server.

cdujeu commented 10 years ago

@sbaproductions could you provide us a tmp access to your server? very probably a server-side problem. use team (at) pyd (dot) io

sbaproductions commented 10 years ago

Any chance to take a look? No rush... just wondering. Thanks!

wojt-spot commented 10 years ago

@sbaproductions we are working on this and similar problem #43 I will keep You updated if there is any progress.

cdujeu commented 10 years ago

@sbaproductions it seems that we finally found that the #43 issue was linked to the apache mod_security module filtering some requests. Could you check if you have such a module active and disable it, at least temporarily? And see if it gives better result?

sbaproductions commented 10 years ago

I'm not sure how to do that. Any suggestions on where to start?

I'm on a shared server hosted through Hostgator. http://www.hostgator.com

They have a CPANEL that I can access through a login. Can I do it through that?

Thanks!

Matt

On Feb 14, 2014, at 9:14 AM, Charles du Jeu notifications@github.com wrote:

@sbaproductions it seems that we finally found that the #43 issue was linked to the apache mod_security module filtering some requests. Could you check if you have such a module active and disable it, at least temporarily? And see if it gives better result?

— Reply to this email directly or view it on GitHub.

cdujeu commented 10 years ago

you should be able to edit the .htaccess located at the root of pydio, adding

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
sbaproductions commented 10 years ago

Great, thanks. I added the lines you suggested to the .htaccess.

I'll test and get back to you next week.

Thank you so much.

Matt

On Feb 14, 2014, at 9:23 AM, Charles du Jeu notifications@github.com wrote:

you should be able to edit the .htaccess located at the root of pydio, adding

SecFilterEngine Off SecFilterScanPOST Off

— Reply to this email directly or view it on GitHub.

cdujeu commented 10 years ago

@sbaproductions any news?

sbaproductions commented 10 years ago

I was hoping to do a little more testing. It appears so far that the uploading side seems to be working better and reliably However, I wait for the other computer to update and show the uploads and it doesn't happen. It appears at least sometimes that if I click "Launch Synchro Now", then it will update. But it doesn't seem to do it on its own.

That's all I know so far.

Matt

On Feb 17, 2014, at 2:30 PM, Charles du Jeu notifications@github.com wrote:

@sbaproductions any news?

— Reply to this email directly or view it on GitHub.

cdujeu commented 10 years ago

that's the setting you set for "run sync every..." : if you set 10 minutes, it should never take more

sbaproductions commented 10 years ago

Well, it will say "Last synchro executed on....." and show a recent time -- and I've waited over an hour for it to connect and it still doesn't.

On Feb 17, 2014, at 2:34 PM, Charles du Jeu notifications@github.com wrote:

that's the setting you set for "run sync every..." : if you set 10 minutes, it should never take more

— Reply to this email directly or view it on GitHub.