Forums

Home » Liferay Sync

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dennis Ju
Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
April 23, 2013 5:21 PM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

We're pleased to announce Liferay Sync 1.0.10 beta is available for Linux. Subscribe to this thread to be notified of future releases of Liferay Sync for Linux.

Please note the Linux versions are still experimental. Post any issues you encounter directly on this forum and attach your logs (found in ~/.liferay-sync/logs/liferay-sync.log).

Also, if you're running Ubuntu, non-Unity tray icons are disabled by default. To enable the tray icon, follow the instructions here: link. Instead of 'all', you can also just add 'SWT' to the whitelist.

Update: Apr 23, 2013

You can now download the Linux versions directly on the Liferay Sync download page: link. Release notes are available on the download page.

Update: Mar 26, 2013

This update contains several fixes including:
- Added: RPM package now available
- Added hi-res tray icons
- Fixed: DuplicateFileException errors on Linux
- Fixed: NullPointerException logs on Linux
- Fixed: Missing tray icons for certain Linux distros (like Fedora)
- Other small bug fixes.
Juan Gonzalez
RE: Liferay Sync for Linux (beta) is available
March 12, 2013 2:17 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1865

Join Date: October 28, 2008

Recent Posts

Hi Dennis,

I've created an issue:

http://issues.liferay.com/browse/SYNC-823

Thanks very much!
Thiago Leão Moreira
RE: Liferay Sync for Linux (beta) is available
March 12, 2013 3:27 AM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1388

Join Date: October 10, 2007

Recent Posts

That's great! I'm using mac nowadays but this announcement is another stimulus to switch back to Linux.
Brian Gormanly
RE: Liferay Sync for Linux (beta) is available
March 12, 2013 5:41 PM
Answer

Brian Gormanly

Rank: New Member

Posts: 17

Join Date: August 2, 2011

Recent Posts

sync'ing now. Thanks again.
Brian Gormanly
RE: Liferay Sync for Linux (beta) is available
March 12, 2013 6:46 PM
Answer

Brian Gormanly

Rank: New Member

Posts: 17

Join Date: August 2, 2011

Recent Posts

Added my own jira : http://issues.liferay.com/browse/SYNC-825
It did not seem related to Juan's.

Thanks again,

Brian
Ádám T. Nagy
RE: Liferay Sync for Linux (beta) is available
March 13, 2013 9:30 AM
Answer

Ádám T. Nagy

LIFERAY STAFF

Rank: New Member

Posts: 5

Join Date: June 1, 2012

Recent Posts

Hi,

1. Upon first start: I receive:
13 Mar 2013 16:52:10,350 ERROR [PropertiesWindowHandler:107] Unsupported operating system
java.io.IOException: Unsupported operating system
at com.liferay.sync.gui.desktop.util.DesktopUtil.getApplicationPath(DesktopUtil.java:68)

Ubuntu 12.04 64bit - 3.2.0-38-generic

2. I experience the uploading issue as well. [JSONWebServiceServiceAction:114]
3. After the first setup there is no GUI way to modify the settings.
4. There is no GUI way to stop the service.
5. I think it would be a quite basic feature to have a checkbox to launch sync upon opsystem startup

Shall I open a ticket in Jira or the posts are fine here?

Cheers, Adam
Attachments: liferay-sync.log.11 (256.1k)
Anonymous
RE: Liferay Sync for Linux (beta) is available
March 13, 2013 9:43 AM
Answer

Anonymous

I would write a ticket so it doesn't fall through the cracks, the Linux version is a beta.

We do have a check box on the UI for start on System start up. The problem seems to be is the GUI won't launch. You can force the UI to display by deleting the database files. *.db files where the logs are. Users//.liferay-sync

If you delete those it will force sync to reconfigure and display the UI again., it will re-download all the files to a new sync folder.
Dennis Ju
RE: Liferay Sync for Linux (beta) is available
March 14, 2013 11:32 AM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Ádám T. Nagy:
Hi,

1. Upon first start: I receive:
13 Mar 2013 16:52:10,350 ERROR [PropertiesWindowHandler:107] Unsupported operating system
java.io.IOException: Unsupported operating system
at com.liferay.sync.gui.desktop.util.DesktopUtil.getApplicationPath(DesktopUtil.java:68)

Ubuntu 12.04 64bit - 3.2.0-38-generic

2. I experience the uploading issue as well. [JSONWebServiceServiceAction:114]
3. After the first setup there is no GUI way to modify the settings.
4. There is no GUI way to stop the service.
5. I think it would be a quite basic feature to have a checkbox to launch sync upon opsystem startup

Shall I open a ticket in Jira or the posts are fine here?

Cheers, Adam


So I just tested the beta on Ubuntu 64-bit, and it seems the tray icon doesn't appear on the 64-bit version of Ubuntu (works fine in 32-bit). The "Unsupported operating system" error relates to the checkbox to launch Sync on startup. We haven't yet implemented a "start on launch" option for Linux (particularly since different distros handle it differently).

We'll need to research why the tray item doesn't appear on Ubuntu 64-bit (it's most likely specific to Unity).
Dennis Ju
RE: Liferay Sync for Linux (beta) is available
March 14, 2013 5:44 PM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Dennis Ju:

So I just tested the beta on Ubuntu 64-bit, and it seems the tray icon doesn't appear on the 64-bit version of Ubuntu (works fine in 32-bit). The "Unsupported operating system" error relates to the checkbox to launch Sync on startup. We haven't yet implemented a "start on launch" option for Linux (particularly since different distros handle it differently).

We'll need to research why the tray item doesn't appear on Ubuntu 64-bit (it's most likely specific to Unity).


I take that back. I forgot I had to add Sync to the system try whitelist for Ubuntu. Please see instructions here: link
Dennis Ju
RE: Liferay Sync for Linux (beta) is available
March 27, 2013 5:24 PM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Liferay Sync beta for Linux has been updated. Please download the latest versions (links on the first post).
Brian Gormanly
RE: Liferay Sync for Linux (beta) is available
March 31, 2013 12:05 PM
Answer

Brian Gormanly

Rank: New Member

Posts: 17

Join Date: August 2, 2011

Recent Posts

Dennis Ju:
Liferay Sync beta for Linux has been updated. Please download the latest versions (links on the first post).


Just wanted to drop in to say that the new version is running great for me so far. Thanks for getting a fix out so quickly!

Brian
Brian Gormanly
RE: Liferay Sync for Linux (beta) is available
April 2, 2013 5:40 PM
Answer

Brian Gormanly

Rank: New Member

Posts: 17

Join Date: August 2, 2011

Recent Posts

I ran into an issue on my Mint (LMDE) machine
JIRA created: http://issues.liferay.com/browse/SYNC-842
Thomas Choy
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
July 17, 2013 1:18 AM
Answer

Thomas Choy

Rank: New Member

Posts: 2

Join Date: June 3, 2013

Recent Posts

I have used Liferay Sync on Linux and this working properly. However, if local directory is a symbolic link, then Liferay Sync seems ignoring this.

Any chance we can make Liferay Sync to follow symbol link (and avoid looping for sure) as this is very useful, thanks.
Dennis Ju
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
July 17, 2013 1:55 PM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Hi Thomas,

Can you elaborate on your use case for using symlinks?

Thanks,
Dennis
Dennis Ju
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
July 17, 2013 1:59 PM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Hi James,

You can uninstall on Ubuntu calling "sudo apt-get remove liferaysync".
Thomas Choy
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
July 17, 2013 6:52 PM
Answer

Thomas Choy

Rank: New Member

Posts: 2

Join Date: June 3, 2013

Recent Posts

Dear Dennis,

Thanks for asking. I have one Liferay site and one document server. There are about 100 directories in document server but I only need to sync 30 of these directories to Liferay. In order to select those 30 directories, I have created 30 symbolic link inside liferay-sync/portal to link to their destinations. However Liferay Sync just ignore those symbol link (I have checked the security level and it is ok).

On the other hand, if I create a symbol link for liferay-sync so that the liferay-sync/portal directory is already jumped to symbolic link, Liferay Sync can work properly. However, I cannot selectively sync those directories I want.

Thanks for help in advance.

Regards,
Thomas
Dennis Ju
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
July 22, 2013 10:58 AM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Hi Thomas,

I can see the use case for allowing symlinking, but we will need to continue evaluating the feature. Some concerns are 1) it opens the ability to sync entire hard drives by symlinking to a root folder which can be overly taxing on Sync, 2) Windows can't benefit from symlinking, 3) future integration with Finder/Nautilus can present UX challenges.
Dominique Joguin
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
May 3, 2014 3:19 AM
Answer

Dominique Joguin

Rank: New Member

Posts: 2

Join Date: March 12, 2014

Recent Posts

Hy,

I faced some issue :

It not possible to sync Folder and content at the same time, folder appear empty on Liferay.

I need to first to sync folder, then sync content,

With this way everything work great, i can sync my content from my Debian desktop.

Here is my configuration :

- Debian 7 (3.2.54-2 x86_64 GNU/Linux)

- Liferay 6.1 CE ga 3
(Bundle : liferay-portal-tomcat-6.1.2-ce-ga3-20130816114619181)
(Liferay Portal Community Edition 6.1.2 CE (Paton / Build 6102 / August 2, 2013)

- Mysql
(libmysqlclient18/wheezy upgradeable from 5.5.35+dfsg-0+wheezy1 to 5.5.37-0+wheezy1)
(libqt4-sql-mysql/wheezy uptodate 4:4.8.2+dfsg-11)
(mysql-client-5.5.37-0+wheezy1)
(mysql-server-5.5.37-0+wheezy1)
(php5-mysql/wheezy 5.4.4-14+deb7u9)

- Php (php5/wheezy 5.4.4-14+deb7u9)

if you need more, tell me !

Dominique.
Dominique Joguin
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
May 3, 2014 3:41 AM
Answer

Dominique Joguin

Rank: New Member

Posts: 2

Join Date: March 12, 2014

Recent Posts

Sorry i missed something,

About icon in the menu, everything is ok,

I can access successfully to the "Liferay Sync" from Deabian menu without done some other manipulation,

Thx.
Attachment

Attachment

Attachments: dock.png (15.0k), menu.png (42.3k)
Dennis Ju
RE: Liferay Sync for Linux 1.0.10 beta is available (Updated: Apr 23, 2013)
May 5, 2014 10:48 AM
Answer

Dennis Ju

LIFERAY STAFF

Rank: Junior Member

Posts: 92

Join Date: September 30, 2010

Recent Posts

Hi Dominique,

I think I know what the issue is. Can you zip up and send me your logs found in ~/.liferay-sync/logs so I can confirm the issue? You can email me at dennis.ju@liferay.com