-
Posts
3 -
Joined
-
Last visited
Posts posted by nmajin
-
-
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"]
-
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:8888I 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
Raspberry Pi A+ (bash: ./rslsync: No such file or directory)
in Sync Troubleshooting
Posted
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.