Install ServerSync on Linux

Beginning with FileCloud Version 21.1, ServerSync supports SUSE Linux versions 12 and 15.  To use SUSE Linux version 12 with storage application programs such as Dell Unity VSA, enable LAN file sharing.

How to Install FileCloud ServerSync on Linux

  1. Download FileCloud ServerSync App from https://www.filecloud.com/additional-downloads/#serversync
  2. After successfully downloading the App, extract the zip file fcserversync_linux_amd64.zip.

    To extract files using the terminal, use the following command:-

    unzip fcserversync_linux_amd64.zip
    Now, you will have a bunch of files in the extracted location.
  3. Give execute permission to fssyncstart.sh and fssync file

    chmod +x fssyncstart.sh
    chmod +x fssync
  4. For a headless (non-gui) setup, edit the config file under fsserviceconfig.xml, and put the necessary parameters for your configuration. For an installation with gui you can use the ServerSync gui interface to configure the synchronization parameters. A table showing how to format the parameters follows.
    <?xml version="1.0" encoding="UTF-8" ?>
    
    
    <variantrow>
    	<rowentry>
    		<name>url</name>
    		<type>string</type>
    		<value>HERE TYPE SERVER URL ADDRESS</value>
    	</rowentry>
    	<rowentry>
    		<name>account</name>
    		<type>string</type>
    		<value>USER NAME</value>
    	</rowentry>
    	<rowentry>
    		<name>password</name>
    		<type>string</type>
    		<value>PASSWORD</value>
    	</rowentry>
    	<rowentry>
    		<name>limit_folder_count</name>
    		<type>string</type>
    		<value>2</value>
    	</rowentry>
    	<rowentry>
    		<name>limit_folder_1</name>
    		<type>string</type>
    		<value>REMOTE_FOLDER_PATH|HERE_TYPE_LOCAL_FOLDER_PATH|0|0|0</value>
    	</rowentry>
            <rowentry>
                    <name>limit_folder_2</name>
                    <type>string</type>
                    <value>REMOTE_FOLDER_PATH|HERE_TYPE_LOCAL_FOLDER_PATH|0|0|0</value>
            </rowentry>
    
    
    </variantrow>
  5. Open the terminal, go to the location where the FileCloud ServerSync files were extracted, and then run fssyncstart.sh 

    ./fssyncstart.sh

Format of parameters in fsserviceconfig.xml

Table 1. The following XML tags are supported for the ServerSync device configuration.

XML Tag

Value

Example

limit_folder_countNumber of folders to sync. If key is not specified, then there are no folders to sync.<limit_folder_count>0</limit_folder_count>

limit_folder_1

limit_folder_2

limit_folder_3

...

Depending upon the number of folders specified in the limit_folder_count, you will need to have the appropriate number of entries.

The folder value is specified using 5 parameters using the following format
<REMOTE FOLDER>|<LOCAL FOLDER>|<PERMISSIONS>|<SYNC TYPE>|<SYNC DISABLED>

<REMOTE FOLDER> = E.g.: /john/folder1

<LOCAL FOLDER> = E.g: C:\data\localfolder

<PERMISSION> = 1 - Allow NTFS permissions to be applied to local folder as per permissions of the folder on the remote Server, 0 - Deny NTFS permissions to be applied

<SYNC TYPE> = 0 (2-way sync) or 1 (remote to local sync).

<SYNC DISABLED> = 0 (enabled) or 1 (disabled).


<limit_folder_1>/john/folder1|C:\data\local|0|1|0</limit_folder_1>
disablenotifications0/1 - Enable or Disable sync notifications<disablenotifications>1</disablenotifications>
syncfrequencynumber - Number in seconds to sync to the server (default is 120 seconds)<syncfrequency>100</syncfrequency>
checkmodtime0/1 - Advanced: check modification time in addition to size when checking for changes. Default is disabled.<checkmodtime>1</checkmodtime>
checkcrc0/1 - Advanced: check CRC in addition to size when checking for changes. Default is disabled.<checkcrc>1</checkcrc>
deleteapprovalpctNumber from 0 to 100, which indicates what % of files being deleted requires approval. Default is 10.
This applies only to file deletions in the local sync folder.
<deleteapprovalpct>20</deleteapprovalpct>
skipdeleteapproval0/1 - Whether approvals are needed for bulk sync deletions. Default is disabled.
When set to 1, approval is required if > 50 files are deleted AND percent of files being deleted is > deleteapprovalpct.
This applies only to file deletions in the local sync folder.
<skipdeleteapproval>1</skipdeleteapproval>
currentlanguageAllows changing the current language of the Server sync app<currentlanguage>dutch</currentlanguage>

What If I'm Using Ubuntu 18.10 or Ubuntu 22.04?

For Ubuntu 18.10 or 22.04, please follow the steps below:

  1. Unzip the Linux Sync app package (fcserversync_linux_amd64.zip) to any folder
  2. cd to the above folder
  3. Give execute permission to fssyncinstall-linux.sh

    chmod 777 ./fssyninstall-linux.sh
  4. Open the terminal, go to the location where the FileCloud ServerSync files were extracted and then run

    apt-get update
    ./fssyncinstall-linux.sh install
  5. After these steps, ServerSync app will be shown along with the other desktop apps.  Double-click the app to open it.

    If ServerSync shows the message "There appears to be no system tray support in your current environment", then system tray support needs to be enabled by downloading the extensions.

  6. To download the necessary extensions, head to the TopIcons Plus extensions page on the official GNOME site. From here, click on "Click here to install browser extension.", then click "Allow" and then "Add".
  7. Return to the GNOME extensions page and refresh it. You may see the following message:
    "Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector."
    If so, click on the "documentation" link in the message. Here, choose your Linux version, and execute the corresponding command in the terminal.
  8. Again, return to the GNOME Extensions page and refresh. Click the "Off/On" button to set it to On state. Then, click download and install option.
  9. Once all the steps above have completed successfully, the ServerSync app can be started by double-clicking the ServerSync icon in the desktop apps.