Foros

Inicio » Liferay Sync

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Arryandra Luis
Liferay sync failed from server
15 de junio de 2012 0:39
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

hi all,

i am using LIferay 6.1 with jetty and postgreSQL on uBuntu,
i have just installed liferay sync on windows, and all the folder and documents is sync correctly to windows folder.

The problem is the size of the documents synced from the server is displaying 0 kb and can't be opened. But when i drop any file to windows liferay sync folder, the file is uploaded to the server with the proper size, and can be opened.

Is there any configuration i failed to set ?

Please advise.


regards.
Anónimo
RE: Liferay sync failed from server
15 de junio de 2012 8:36
Respuesta

Anónimo

So the file uploads are ok but they are not downloading?

Would you attach the log files? They are in the user.home/.liferay-sync/logs folder.

Thanks!
Arryandra Luis
RE: Liferay sync failed from server
16 de junio de 2012 5:11
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

hi Gail,

i attached the log file on this reply.

please advise.

regards.
archivos adjuntos: liferay-sync.log (50,8k)
Arryandra Luis
RE: Liferay sync failed from server
20 de junio de 2012 20:50
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

Hi Gail,

any solution for my case ?

Please kindly advise.


regards.
Manish Yadav
RE: Liferay sync failed from server
21 de junio de 2012 1:01
Respuesta

Manish Yadav

Ranking: Expert

Mensajes: 384

Fecha de incorporación: 26 de mayo de 2012

Mensajes recientes

Arryandra Luis:

The problem is the size of the documents synced from the server is displaying 0 kb and can't be opened. But when i drop any file to windows liferay sync folder, the file is uploaded to the server with the proper size, and can be opened.
regards.



Sorry i could't get your point.
my understanding is you are able to uploading files and folders using liferay sync properly and you are able to open also.

but in what scenario you are getting okb size and can't be open .in your logs some exception regarding connection refused .i'm not sure its problem to connection with server or something else..
can you please provide steps in which you are getting problememoticon


emoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticon
Arryandra Luis
RE: Liferay sync failed from server
21 de junio de 2012 8:42
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

hi Manish,

the cause for connection refused was because i restarted the portal.

Here is the step :

1. i create a site in portal, let say "HR" site, and i put document library portlet in the site.
2. i upload a file "test.txt" into the site which size is 7 kb.
3. i installed Liferay sync in the client (windows 7), login using user/password from the portal. And point the destination sync to "HR" site.
4. client is downloading the "test.txt" from the portal but the file's size is 0 kb, (it should be 7 kb). And it can't be opened. (corrupted)
5. i tried the vice versa, i put a file "hello.txt" (the size is 5 kb) into client's sync folder, and the file was uploaded successfully into portal (correct size and can be opened).

So the problem i need to solve is on number 4. (why was the downloading process failed ?)

from my last log :

15 Jun 2012 11:42:08,355 ERROR [DatabaseManager:102] Unable to get last modified 11035, null
15 Jun 2012 11:42:08,359 DEBUG [BaseEvent:116] Cancelled event -> class com.liferay.sync.modules.documentlibrary.server.event.GetDLSyncUpdateEvent

was this error, has something to do with my case ?

please kindly advise.

regards
Arryandra Luis
RE: Liferay sync failed from server
27 de junio de 2012 6:17
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

hi,

can anybody help me to solve my case ?


regards.
Anónimo
RE: Liferay sync failed from server
27 de junio de 2012 8:04
Respuesta

Anónimo

Normally when you end up with files of 0KB it's an issue with the downloading permissions. We had run into that issue before. I believe we have corrected it in the upcoming beta. Unfortunately I can't replicate your scenario to see if it's truly fixed or if this is something different that we still need to fix. We should be releasing a new beta in the next week or so. And from there we can see if you are still running into issues and figure out where we should go from there.
Arryandra Luis
RE: Liferay sync failed from server
3 de julio de 2012 7:33
Respuesta

Arryandra Luis

Ranking: Junior Member

Mensajes: 25

Fecha de incorporación: 18 de noviembre de 2009

Mensajes recientes

hi Gail,

i am looking forward for the next release. Hope that it will solve my case.


regards.




Gail Hernandez:
Normally when you end up with files of 0KB it's an issue with the downloading permissions. We had run into that issue before. I believe we have corrected it in the upcoming beta. Unfortunately I can't replicate your scenario to see if it's truly fixed or if this is something different that we still need to fix. We should be releasing a new beta in the next week or so. And from there we can see if you are still running into issues and figure out where we should go from there.
Teresa Scheuerman
RE: py2w1's post
29 de agosto de 2012 2:18
Respuesta

Teresa Scheuerman

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 29 de agosto de 2012

Mensajes recientes

thanks for sharing this information.
Pritesh Shah
RE: Liferay sync failed from server
14 de febrero de 2013 3:52
Respuesta

Pritesh Shah

Ranking: Junior Member

Mensajes: 31

Fecha de incorporación: 4 de julio de 2012

Mensajes recientes

Hello Gail,

I am trying to configure Liferay sync on my Windows 8 machine. It is connected successfully to the site, but into the liferay-sync folder no files gets downloaded.
Can you let me know is there any support issue with windows 8 or what could be the wrong?

Thanks in Advance!!

Thanks,
Pritesh
Anónimo
RE: Liferay sync failed from server
14 de febrero de 2013 7:58
Respuesta

Anónimo

Sync hasn't been tested on Windows 8. Please send me your log files. They are in the C:\Users\[your user name]\.liferay-sync\log folder.

Thanks!

Gail