Rclone 1.42 on Scaleway C1 not functioning on any remotes except locally


I use a Scaleway C1 server (BareMetal - dedicated cores : 4 ARMv7). I was previously using rclone-v1.37-035-ga56d51c5ß-linux-arm successfully.

I have updated to Rclone 1.42 using :

wget https://downloads.rclone.org/v1.42/rclone-v1.42-linux-arm.zip
unzip -a rclone-v1.42-linux-arm.zip
cd rclone-v1.42-linux-arm
sudo mv rclone /usr/local/bin/

I also tried to install it from scratch :

wget http://downloads.rclone.org/rclone-current-linux-arm.zip
unzip rclone-current-linux-arm.zip
cd rclone-*-linux-arm
sudo cp rclone /usr/sbin/
sudo chown root:root /usr/sbin/rclone
sudo chmod 755 /usr/sbin/rclone
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
sudo mandb 
rclone config

Each time he kept the correct .rclone.conf file. All my remotes are there with the correct data (I have compared and tested the rclone v1.42 with rclone browser on windows and it is fine).

uname -a

Linux scw-7fh55 4.10.8-std-1 #1 SMP Wed Apr 5 16:01:12 UTC 2017 armv7l GNU/Linux

rclone version :

rclone v1.42
os/arch: linux/arm
go version: go1.10.1

If I do a “rclone ncdu local:” it works fine. But if I try to do the same for any other remote, it stays stuck doing nothing ("Waiting for root… " endlessly).
Same thing if I do a rclone --checksum -vv copy remote1:folder remote2:folder_test
(locally copy is working fine with : rclone --checksum -vv --transfers=15 copy local:‘MQ9’ local:‘MQ10’)

Thanks in advance :wink:

This is very likely this issue: https://github.com/golang/go/issues/22614

So you need to give your server some entropy

Check /proc/sys/kernel/random/entropy_avail to confirm and install something like haveged to provide more entropy.

1 Like

Many thanks Nick. I much appreciated. :wink:

It was indeed that !
Here is what I have done if this can help others:
As Nick recommended I have checked

cat /proc/sys/kernel/random/entropy_avail

My result was 0. Then I have followed these instructions :

apt-get install haveged
nano /etc/default/haveged # Setup DAEMON_ARGS="-w 1024"
update-rc.d haveged defaults
cat /proc/sys/kernel/random/entropy_avail # To test the amount of available entropy



1 Like

Very nice writeup - thanks :smiley:

1 Like