RE: Sync: libreoffice lock files not removed

thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
Hi guys,

I'm starting to use Liferay Sync with a group of people and I'm experiencing a problem with libreoffice lockfiles.

On a normal folder (not the Sync folder) I open a file with LibreOffice, a lockfile is created, then I close the file and the lockfile disappears.

When doing the same in the Sync folder the lockfile is not deleted and stays forever. Liferay Sync replicates it to the other users and nobody else can open the file.

I'm using Liferay CE 7 ga5 on the server and Sync 3.4.4 on Windows.

Is there anyway I can debug Liferay Sync on windows so that I understand what is happening?

Is there anyway I can disable sync for certain files (not sure this would be a good solution, though).

Any other ideas for a solution?

TIA

Fernando
thumbnail
Dennis Ju, modified 7 Years ago. Regular Member Posts: 228 Join Date: 9/30/10 Recent Posts
Can you provide the following info so I can try reproducing?

- Operating System
- LibreOffice version
- LibreOffice app you're using (Writer, Calc, etc)

Thanks.
thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
Dennis Ju:

- Operating System
- LibreOffice version
- LibreOffice app you're using (Writer, Calc, etc)


Windows 10
LibreOffice 6.0.4.2
Writer & Calc

HTH

Fernando
thumbnail
Dennis Ju, modified 7 Years ago. Regular Member Posts: 228 Join Date: 9/30/10 Recent Posts

I created SYNC-1778 to track this issue. It should be fixed in the next release.

thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts

Thanks a lot Dennis!

Orlando Charles, modified 7 Years ago. New Member Post: 1 Join Date: 9/7/18 Recent Posts

Hey, it seems that I am facing the same problem, did you get any proper solution?

thumbnail
Dennis Ju, modified 7 Years ago. Regular Member Posts: 228 Join Date: 9/30/10 Recent Posts

The fix for this issue will be included in the GA release of Sync 3.4.5.

 

You can try the beta version of 3.4.5 to confirm the issue is fixed: download link

stive nic, modified 6 Years ago. New Member Post: 1 Join Date: 3/31/20 Recent Posts
I have been having the same problem with OOoLilypond and MuseScore extensions. These extensions take the source file and generate an image file which is then imported into Libreoffice. Since v. 4 of Libreoffice it keeps the output file locked and therefore the extensions cannot overwrite it. Overwriting the file is important to update any changes made to the score.


official website