pydio-sync-java icon indicating copy to clipboard operation
pydio-sync-java copied to clipboard

Random synchronizing... or not

Open sbaproductions opened this issue 11 years ago • 16 comments

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 avatar Jan 28 '14 22:01 sbaproductions

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

sbaproductions avatar Jan 28 '14 22:01 sbaproductions

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)

wojt-spot avatar Jan 29 '14 11:01 wojt-spot

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 avatar Jan 29 '14 16:01 sbaproductions

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

sbaproductions avatar Jan 29 '14 16:01 sbaproductions

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.

wojt-spot avatar Jan 29 '14 22:01 wojt-spot

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

cdujeu avatar Jan 29 '14 22:01 cdujeu

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

sbaproductions avatar Feb 05 '14 22:02 sbaproductions

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

wojt-spot avatar Feb 05 '14 22:02 wojt-spot

@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?

cdujeu avatar Feb 14 '14 15:02 cdujeu

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 [email protected] 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.

sbaproductions avatar Feb 14 '14 15:02 sbaproductions

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

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

cdujeu avatar Feb 14 '14 15:02 cdujeu

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 [email protected] 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.

sbaproductions avatar Feb 14 '14 15:02 sbaproductions

@sbaproductions any news?

cdujeu avatar Feb 17 '14 20:02 cdujeu

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 [email protected] wrote:

@sbaproductions any news?

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

sbaproductions avatar Feb 17 '14 20:02 sbaproductions

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

cdujeu avatar Feb 17 '14 20:02 cdujeu

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 [email protected] 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.

sbaproductions avatar Feb 17 '14 21:02 sbaproductions