nmajin

Raspberry Pi A+ (bash: ./rslsync: No such file or directory)

Recommended Posts

I am simply trying to get this up and running on my Raspberry Pi A+ (considered a PI 1, armv6), but I get the following error: bash: ./rslsync: No such file or directory. I have execute permissions and all.

I am simply running the following steps:

sudo mkdir -p /opt/resilio/bin
sudo mkdir /opt/resilio/app_files
cd /opt/resilio/bin
sudo wget https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz
sudo tar -xvf resilio-sync_arm.tar.gz
sudo rm -f resilio-sync_arm.tar.gz
sudo ./rslsync --webui.listen 0.0.0.0:8888

I am ultimetely trying to do this in a docker container though, but I have no idea how this would still provide the same error:

 

FROM resin/rpi-raspbian:jessie

 

# Install tools

RUN apt-get clean

RUN apt-get update

RUN apt-get install -y \

        curl \

        wget \

        vim

 

# Install Resilio

RUN mkdir -p /app/resilio/bin

WORKDIR /app/resilio/bin

RUN wget  https://download-cdn.getsync.com/stable/linux-arm/resilio-sync_arm.tar.gz

RUN tar -xvf resilio-sync_arm.tar.gz

RUN rm -f resilio-sync_arm.tar.gz

 

EXPOSE 8888

Share this post


Link to post
Share on other sites
On 11/28/2016 at 7:54 AM, Helen said:

can you please do the listing of the directory? 

Seems like for a Raspberry Pi A+ (armv6, 32-bit) I have to use the non-armhf package, or armel package AND I have to apply a symbolic link fix. Your documentation should get an update for this as I was testing with a pure image of jessie to get this working.

FROM resin/rpi-raspbian:jessie

# Sources:

#       - https://help.getsync.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux

#       - https://wiki.archlinux.org/index.php/Resilio_Sync#Installation

 

# Install tools

RUN apt-get update && apt-get install -y \

        curl \

        wget \

        vim

 

# Install Resilio Sync

WORKDIR /opt/resilio/bin

RUN wget https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz

RUN tar xf resilio-sync_arm.tar.gz

RUN ln -sf /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 # Fix

 

EXPOSE 8888

 

# Need's more work to get the container to run with this

CMD ["./rslsync", "--webui.listen", "0.0.0.0:8888"]

Share this post


Link to post
Share on other sites
5 hours ago, Helen said:

but we do have that on documentation instructing to use armel arch
>(with one extra step for RPI1 - see below).

94891816bf.png
 

I also did try this approach as well (this is the package approach vs the zip approach) and this seems to break an apt-get update after since it makes the Raspberry Pi look for armel packages when by default it looks for armhf packages. This breaks a docker build.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.