This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[HOWTO] Install Syncrify

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
Waliers
NewUser
NewUser
Posts: 7
Joined: 21 Jul 2012 21:57
Status: Offline

[HOWTO] Install Syncrify

Post by Waliers »

Hi Guys,

Since i've been using Syncrify alot (instead of rsync) I wanted to share a how to for you. Parts of it are from the Syncrify Website but there howto is kinda uncomplete in my opninion :D

1. SSH to you Nas4Free

2. Add the following package's.

Code: Select all

$ pkg_add -v -r xtrans
$ pkg_add -v -r xproto
$ pkg_add -v -r xextproto
$ pkg_add -v -r javavmwrapper 
3. Install Java

Code: Select all

pkg_add-v -r openjdk6
There come's a message you need to make change's permanent, you can safely ignore this.

4. Download Syncrify

Code: Select all

fetch "http://synametrics.com/files/Syncrify/SyncrifyOther.tar.gz"
5. Unzip/Install syncrify

Code: Select all

tar -zxvf SyncrifyOther.tar.gz 
6. Edit the run.sh

Code: Select all

nano run.sh
7. Add the following at the very top

Code: Select all

#!/bin/bash
CTRL + X to exit, save the changes.

8. Start Syncrify

Code: Select all

./run.sh
9. Check if Syncrify is working (be patient can take a while) by going to http://192.168.1.1:5800 (where 192.168.1.1 is the IP of your Nas.
If you get a webpage displaying Syncrify everything works fine.

OPTONAL: Start Syncrify at Boot
10.a Go to "System" > "Advanced" > "Command Scripts" and add a

Code: Select all

cd /mnt/Syncrify;./run.sh &
(Where /mnt/Syncrify is where i've installed it)
10.b Type: PostInit

Save > Reboot and enjoy!

DO NOT FORGET TO DESELECT LOCALHOST ONLY ACCESS IN THE SYNCRIFY WEBGUI
If you do select it your locked out!

Any questions just ask! :D
Last edited by raulfg3 on 21 Jul 2012 22:49, edited 1 time in total.
Reason: add url to Syncrify web
It is a thousand times better to have common sense without education than to have education without common sense.

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Hi Waliers,

This will be very helpful. I'm trying to set my nas up and backup feature is being a PITA. I tried Nasbackup and DeltaCopy, but I'm not familiarized with linux "view" of some things, so I couldn't figure this out.

Syncrify seems to be a more easy choice. I'll try this now, if I need help I ask your help.

Many thanks for the tutorial.

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Waliers,

Something wrong... I tried to execute the commands to add the packages as described in step 2 of your post. For each one I received the same message back. You can see bellow the message I receive back for the command to add xtrans:


Welcome to NAS4Free!
nas4free:~# pkg_add -v -r xtrans
scheme: [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xtrans.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 beastie.tdk.net FTP server (Version 6.00LS) ready.
>>> USER anonymous
<<< 331 Guest login ok, send your email address as password.
>>> PASS root@nas4free.local
<<< 230 Guest login ok, access restrictions apply.
>>> PWD
<<< 257 "/" is current directory.
>>> CWD pub/FreeBSD/ports/amd64/packages-9.1-release/Latest
<<< 550 pub/FreeBSD/ports/amd64/packages-9.1-release/Latest: No such file or directory.
>>> CWD pub
<<< 250 CWD command successful.
>>> CWD FreeBSD
<<< 250 CWD command successful.
>>> CWD ports
<<< 250 CWD command successful.
>>> CWD amd64
<<< 250 CWD command successful.
>>> CWD packages-9.1-release
<<< 550 packages-9.1-release: No such file or directory.
>>> QUIT
<<< 221 Goodbye.
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xtrans.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xtrans.tbz' by URL
pkg_add: 1 package addition(s) failed
nas4free:~#




As you can see I can't reach the ftp server to download the package. I tried to reach the ftp address using browser and I got the message:


The webpage at ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ase/Latest might be temporarily down or it may have moved permanently to a new web address.


I'm absolutely newbie, sometimes even stupid, regarding linux knowledge. This said, I have one more question: Do I need to do any other steps before try to install Syncrify following your tutorial?

I'm running NAS4Free 9.1.0.1 - Sandstorm (revision 636) x64-embedded

Thanks in advance!

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

Next command can help you

Code: Select all

setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/
If you run embedded version, you cannot use pkg_add
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Hi alexey123, Thanks for your response.

I could install the packages on step 2 of the tutorial, but when installing Java (step 3) I received this message:


...
x openjdk6/jre/lib/calendars.properties
x openjdk6/jre/lib/charsets.jar
/var: write failed, filesystem is full
: Write failed
x openjdk6/jre/lib/classlist
/var: write failed, filesystem is full
: Write to restore size failed
x openjdk6/jre/lib/cmm/CIEXYZ.pf: Write to restore size failed
x openjdk6/jre/lib/cmm/GRAY.pf: Write to restore size failed
...

/var: write failed, filesystem is full
: Write to restore size failed



If I df -h, this is what I got:

Welcome to NAS4Free!
nas4free:~# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/md0 206M 204M 1.3M 99% /
devfs 1.0k 1.0k 0B 100% /dev
procfs 4.0k 4.0k 0B 100% /proc
RAIDZ1Pool 4.2T 47k 4.2T 0% /mnt/RAIDZ1Pool
RAIDZ1Pool/Multimedia 5.0T 798G 4.2T 16% /mnt/RAIDZ1Pool/Multimedia
RAIDZ1Pool/Software 4.3T 93G 4.2T 2% /mnt/RAIDZ1Pool/Software
RAIDZ1Pool/Users 4.5T 233G 4.2T 5% /mnt/RAIDZ1Pool/Users
/dev/md1 30M 4.0M 25M 14% /var
/dev/da0a 103M 96M 6.7M 94% /cf


I'm sure this is something related to a full disk. Probably the one that is 99% full.

The embedded system is installed on a 4gb Usb Memory Stick, I'm sure there is some free space there.

My questions are:

1 - Can I install these packages in the same usb memory stick as the embedded Nas4Free is?

2 - If the answer for the first question is yes, what am I supposed to do to be able to install in this way?

3 - Do you think is better to have another usb memory stick for the packages?

If you can point me any tutorial or let me know what am I supposed to search for, I'll appreciate very much.

Many thanks!

PS: Should I create a jail?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

marceloreis72 wrote:PS: Should I create a jail?
In all cases NAS4Free, full and embedded - jail is better way for application. In case upgrade system, your addons will working.

Try to use thebrig - extension for jail. I wrote small howto here and here
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Thanks man! I'll try it and let you know if I could make it work

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

Just after install, before download tarball, pls reboot server - extension have small bug, but I don't know where.

NOT USE CURRENT MANUAL FROM WIKI :!: , jails not working stable
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Hi,

I couldn't install it. I downloaded the "thebrig_install.sh" from the provided link. When I try to activate it, this is what I got:


Welcome to NAS4Free!
nas4free:~# cd /mnt/data
nas4free:/mnt/data# fetch https://github.com/fsbruva/thebrig/blob ... install.sh
thebrig_install.sh 100% of 30 kB 125 kBps
nas4free:/mnt/data# sh /mnt/data/thebrig_install.sh /mnt/data/thebrig/
/mnt/data/thebrig_install.sh: 4: Syntax error: newline unexpected


I tried this in many ways (downloaded on another folder, etc.). I'm trying to install it on a secound Usb Stick, not sure if this is a problem, as all the directories point to the correct driver.

In you tutorial here seems you just activated the .sh and it started to retrieve the package (master.zip) by itself. I'm confused...

I'm feeling a complete idiot! :oops: :oops: :oops: :oops: :oops:
Any idea?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

You need step bt step execute instruction

1. Create WorkFolder for thebrig on your storage - I use /mnt/data/thebrig

2. Download thebrig_install.sh into any folder such /tmp or /root and make it executable.
3. run it as

Code: Select all

sh /path/to/thebrig_install.sh /path/to/WorkFolder
WITHOUT SLASH on endofpath
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

I already tried without slash, same result.


Welcome to NAS4Free!
nas4free:~# cd /mnt/data/temp
nas4free:/mnt/data/temp# fetch https://github.com/fsbruva/thebrig/blob ... install.sh
thebrig_install.sh 100% of 30 kB 170 kBps
nas4free:/mnt/data/temp# sh /mnt/data/temp/thebrig_install.sh /mnt/data/thebrig
/mnt/data/temp/thebrig_install.sh: 4: Syntax error: newline unexpected
nas4free:/mnt/data/temp#



:oops: :oops: :!:


I also tried in this way:

nas4free:/mnt/data/temp# sh thebrig_install.sh /mnt/data/thebrig
thebrig_install.sh: 4: Syntax error: newline unexpected
nas4free:/mnt/data/temp#

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by raulfg3 »

I use thebrig and works for me.
but is in develop, and perhaps actual script have some bugs, ( I haven't newline unexpected error when I do my install), wait some days and check github for changes or updates on thebrig.

https://github.com/fsbruva/thebrig
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

Thanks raulfg3, I'll do that. I was reading about on the forum, this seems to be a bug on the script, but I'm not sure as some people can install it without any problem.

My point to install thebrig is to after this install Syncrify to use for backup.

I checked on the forum, I couldn't find any info here, and also I couldn't find any info over the web regarding the setup of nasbackup in a windows PC. If you know some place I can have this kind of info, or any other regarding rsync backup, I'll be very appreciated.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

marceloreis72,
When you use

Code: Select all

/mnt/data/temp# fetch https://github.com/fsbruva/thebrig/blob/master/thebrig_install.sh
you download from github web page, not a script

You can download install script from my google site

Code: Select all

 cd /root
fetch https://sites.google.com/site/aganimkarmiel/home/free-time/file-sharing/thebrig_install.sh.gz
gunzip thebrig_install.sh.gz
chmod 755 thebrig_install.sh
And run it

Code: Select all

sh thebrig_install.sh /mnt/Path/to/Folder
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

alexey123,

Thank you very much, worked like a charm!

Welcome to NAS4Free!
nas4free:~# cd /root
nas4free:~# fetch https://sites.google.com/site/aganimkar ... tall.sh.gz
thebrig_install.sh.gz 100% of 1365 B 2093 kBps
nas4free:~# gunzip thebrig_install.sh.gz
gzip: thebrig_install.sh already exists; do you wish to overwrite (y or n)? y
nas4free:~# chmod 755 thebrig_install.sh
nas4free:~# sh thebrig_install.sh /mnt/data/thebrig
Retrieving the most recent version of TheBrig
master.zip 100% of 178 kB 85 kBps
Unpacking the tarball...
x README
x conf/
x conf/bin/
x conf/bin/ftp_amd64
x conf/bin/ftp_i386
x conf/bin/thebrig_fetch.sh
x conf/bin/thebrig_start.php
x conf/bin/thebrig_start.sh
x conf/bin/thebrig_stop.sh
x conf/ext/
x conf/ext/thebrig/
x conf/ext/thebrig/extensions_thebrig.php
x conf/ext/thebrig/extensions_thebrig_check.php
x conf/ext/thebrig/extensions_thebrig_config.php
x conf/ext/thebrig/extensions_thebrig_download.php
x conf/ext/thebrig/extensions_thebrig_edit.php
x conf/ext/thebrig/extensions_thebrig_tarballs.php
x conf/ext/thebrig/extensions_thebrig_tools.php
x conf/ext/thebrig/functions.inc
x conf/ext/thebrig/lang.inc
x conf/ext/thebrig/menu.inc
x conf/ext/thebrig/off_small.png
x conf/ext/thebrig/on_small.png
x conf/freebsd-update.conf
x conf/portsnap.conf
x thebrig_install.sh
Renaming 64 bit ftp binary
Congratulations! Refresh to see a new tab under " Extensions"!


I'll keep going ahead (trying to go, at least...) intalling Sycrify. I'll might need more help, then I come back here.

Many thanks!

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

alexey123 wrote:Just after install, before download tarball, pls reboot server - extension have small bug, but I don't know where.

NOT USE CURRENT MANUAL FROM WIKI :!: , jails not working stable

alexey123,

I can't go further. I followed these instructions, just after step 4 in your tutorial I restarted the server, but I'm still getting the same error as fritz. When I push "query", I have this message:

Code: Select all

The following input errors were detected:
There seems to be a networking issue. I can't reach ftp.freebsd.org. Please check DNS and other networking settings. If networking is working, then ensure the ftp binary is present.
Alternatively, try it again to see if there was some transient network problem.
ping ftp.freebsd.org, worked fine:

Code: Select all

nas4free:~# ping ftp.freebsd.org
PING ftp.freebsd.org (204.152.184.73): 56 data bytes
64 bytes from 204.152.184.73: icmp_seq=0 ttl=56 time=781.556 ms
64 bytes from 204.152.184.73: icmp_seq=1 ttl=56 time=1057.394 ms
64 bytes from 204.152.184.73: icmp_seq=2 ttl=56 time=870.287 ms
64 bytes from 204.152.184.73: icmp_seq=3 ttl=56 time=679.033 ms
64 bytes from 204.152.184.73: icmp_seq=4 ttl=56 time=203.405 ms
64 bytes from 204.152.184.73: icmp_seq=5 ttl=56 time=300.485 ms
64 bytes from 204.152.184.73: icmp_seq=6 ttl=56 time=412.181 ms
64 bytes from 204.152.184.73: icmp_seq=7 ttl=56 time=321.744 ms
64 bytes from 204.152.184.73: icmp_seq=8 ttl=56 time=228.006 ms
64 bytes from 204.152.184.73: icmp_seq=9 ttl=56 time=203.185 ms
64 bytes from 204.152.184.73: icmp_seq=10 ttl=56 time=224.674 ms
^C
--- ftp.freebsd.org ping statistics ---
12 packets transmitted, 11 packets received, 8.3% packet loss
round-trip min/avg/max/stddev = 203.185/480.177/1057.394/295.412 ms
nas4free:~#
thebrigerror.txt says:

Code: Select all

ftp: Reading from network: Bad file descriptor
ftp: Writing `-': Bad file descriptor

I uninstalled thebrig, deleted all files in /mnt/data/thebrig and installed again, still the same. You gave me all the instructions, I followed all of then, I think might be some "obscured forces" preventing me to install thebrig :mrgreen: :mrgreen: :mrgreen: :mrgreen:

Any idea?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

I repair download tarball page
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

alexey123,

I tried again, still the same for me. I'll try tomorrow on a fresh install of NAS4Free and let you know about.

Thanks

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install Syncrify

Post by alexey123 »

As for me, under jail it work .
Need only add #!/bin/sh instead #!/bin/bash into run.sh

Waliers, do you know, how to stop Syncrify? I want to add stop script into jail
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

marceloreis72
Starter
Starter
Posts: 16
Joined: 25 Feb 2013 16:32
Status: Offline

Re: [HOWTO] Install Syncrify

Post by marceloreis72 »

alexey123,

I did a fresh install of Nas4Free to try install thebrig, ans it still the same error as stated above, when I press "query" I get the DNS error.

My hardware is:

Corsair 430cx Power Supply
Sapphire PURE White E350 (IPC-E350M1W) Motherboard
4 x Western Digital Caviar Green 2 TB Hard Drive WD20EARS
2 x 4Gb RAM Kingston KVR1333D3N9/4G

The version installed is 9.1.0.1 - Sandstorm (revision 636), and I'm using embedded in a usb stick. These HD's are in RaidZ1 Zfs pool, and I'm trying to install thebrig in a extra usb stick. If you think the install in a extra usb stick can be the problem, please let me know and give me some tip to workaround or recommend me another way to install it.

If you can't see anything wrong with my system, I'll wait another thebrig release or go to a full install to use Syncrify.

Anyway, I want to thank you very much for your patience and support. I'll keep watching this thread. and if I find any way to get these working, I'll let you know.

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: [HOWTO] Install Syncrify

Post by fsbruva »

Can you please press the "query" button, and then press it again within 7 minutes? The DNS query is likely the slow point in the lookup.

The previous errors you were having with the installer were because you were not chmod-ing the script to make it executable. This caused the syntax errors you saw.

Post Reply

Return to “Packages”