mount s3:my-bucket/img /mnt/img -t rclone or /etc/fstab on debian 11
# mount s3:my-bucket/img /mnt/img -t rclone -o config=/root/rclone.conf 2022/09/07 03:04:44 ERROR : Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables. 2022/09/07 03:04:44 ERROR : Defaulting to storing config in current directory. 2022/09/07 03:04:44 ERROR : Use --config flag to workaround. 2022/09/07 03:04:44 ERROR : Error was: exec: "getent": executable file not found in $PATH Error: unknown command "f04:foot01-images" for "rclone" Run 'rclone --help' for usage. 2022/09/07 03:04:44 Fatal error: unknown command "s3:my-bucket/img" for "rclone"
I struggled a wile !!
So I thought I could share the solution
If one gets this kind of error on a debian 11 fresh install... the distro package at this date is
$ rclone version rclone v1.53.3-DEV - os/arch: linux/amd64 - go version: go1.15.9
apt remove --purge rclone
and get the
.deb from Rclone downloads
I find it sad that such a good tool as
rclone has a broken version in there... Rclone deserves better treat
hav a nice day