![]() |
rsync and openELEC 3.2.3 for ATV1 - Need Help - Printable Version +- OpenELEC Forum (https://forum.openelec.tv) +-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5) +--- Forum: OPENELEC ADDONS (https://forum.openelec.tv/forumdisplay.php?fid=29) +---- Forum: unofficial OpenELEC Addons (https://forum.openelec.tv/forumdisplay.php?fid=31) +---- Thread: rsync and openELEC 3.2.3 for ATV1 - Need Help (/showthread.php?tid=68277) Pages:
1
2
|
rsync and openELEC 3.2.3 for ATV1 - Need Help - dstruan - 11-22-2013 HI, Sorry for my maybe stupid question, but up to now i did't found an answere ... I want to install rsync on my openELEC / ATV1. I've allready managed to install the add-on from unoffical repository, but here i've got stumbling for the first time ... Unoffical repository is for PI, x86 and x64 only but not for ATV1. So I choose PI repository and installed rsync from repository without any failure ... Next I want to start rsync but i ran into the folling error message ... " /storage/.xbmc/addons/network.backup.rsync/bin/rsync: line 1: syntax error: unexpected word (expecting ")") " For me it seems that the binary is incompatible with ATV1 ???? Any suggestions? Help / Suggestions is really welcome Many Thanks rsync and openELEC 3.2.3 for ATV1 - Need Help - ultraman - 11-22-2013 Use x86. rsync and openELEC 3.2.3 for ATV1 - Need Help - bircoe - 11-22-2013 The reason you got that error is the Raspberry Pi uses an ARM CPU where the CPU in the ATV1 is x86... binaries compiled for ARM will not run on an x86 CPU. rsync and openELEC 3.2.3 for ATV1 - Need Help - dstruan - 11-22-2013 Perfect ... Thank you for your answers. Finally it is the rsync version from i386 repository that is working .... rsync and openELEC 3.2.3 for ATV1 - Need Help - dstruan - 11-23-2013 Sorry to bother you again ... But how can I configure rsync to run as a daemon under openELEC (rsync --daemon) .... and how can I configure rsync to ran automatically at start in openELEC ? If i had a chance to write to /etc/ than I would properly know how to do it, but ... I've tried to place rsyncd.conf at "/storage/.config" but without success ... rsync required it's config file from /etc ... Cheers rsync and openELEC 3.2.3 for ATV1 - Need Help - ultraman - 11-23-2013 You should run daemon from autostart.sh. And put config files in /storage/.rsync. rsync and openELEC 3.2.3 for ATV1 - Need Help - dstruan - 11-23-2013 Hi ultraman, thank you for your quick answer ... Unfortunately you hint is not working .... I've created a directory ".rsync" in storage and places the rsyncd.conf file their. Than i rebooted the machine, but result is the same .... OpenELEC (official) Version: 3.2.3 AppleTV:~ # cd /storage AppleTV:~ # ls -la total 88 drwxr-xr-x 19 root root 4096 Nov 23 10:36 . drwxrwxr-x 13 root root 215 Oct 17 14:55 .. -rw------- 1 root root 344 Nov 22 22:19 .ash_history drwxr-xr-x 10 root root 4096 Nov 22 13:59 .cache drwxr-xr-x 7 root root 4096 Nov 23 10:50 .config drwxr-xr-x 2 root root 4096 Nov 23 10:36 .rsync drwx------ 2 root root 4096 Nov 22 13:58 .ssh drwxr-xr-x 2 root root 4096 Nov 22 13:57 .update drwxr-xr-x 8 root root 4096 Nov 22 13:58 .xbmc drwxrwxrwx 2 root root 4096 Nov 22 14:20 backup drwxr-xr-x 2 root root 4096 Nov 22 21:01 downloads drwxrwxrwx 3 root root 4096 Nov 22 14:20 emulators drwxrwxrwx 2 root root 4096 Nov 22 21:01 logfiles drwx------ 2 root root 16384 Nov 22 13:57 lost+found drwxr-xr-x 2 root root 4096 Nov 22 13:58 music drwxr-xr-x 2 root root 4096 Nov 22 13:58 pictures drwxrwxrwx 2 root root 4096 Nov 22 14:20 recordings drwxr-xr-x 2 root root 4096 Nov 22 13:58 screenshots drwxr-xr-x 2 root root 4096 Nov 22 13:58 tvshows drwxr-xr-x 9 root root 4096 Nov 23 10:45 videos AppleTV:~ # cd .rsync AppleTV:~/.rsync # ls -la total 12 drwxr-xr-x 2 root root 4096 Nov 23 10:36 . drwxr-xr-x 19 root root 4096 Nov 23 10:36 .. -rwxr-xr-x 1 root root 223 Nov 22 17:52 rsyncd.conf AppleTV:~/.rsync # rsync --daemon Failed to parse config file: /etc/rsyncd.conf rsync and openELEC 3.2.3 for ATV1 - Need Help - ultraman - 11-23-2013 And how should rsync knows that you have files in this folder? You have to tell it with some argument. Probbaly with Code: --config=FILE specify alternate rsyncd.conf file rsync and openELEC 3.2.3 for ATV1 - Need Help - dstruan - 11-23-2013 Hi I managed to run rsync using a rsyncd.conf from /storage/.config ... rsync --config=/storage/.config/rsyncd.conf --daemon Also I managed to create a autostart.sh ind /storage/.config ... echo "#!/bin/sh" > /storage/.config/autostart.sh && chmod +x /storage/.config/autostart.sh Cheers rsync and openELEC 3.2.3 for ATV1 - Need Help - twigginsga - 03-11-2014 dstruan, Would you mind sharing the contents of your rsyncd.conf file? tnx |