What is the problem you are having with rclone?
Hello, I'm trying to mount a ftp site (locally hosted) to contain screenshots from Xbian Kodi RaspPi using a cronjob.
This is the content of the crontab:
@reboot sleep 15 ; modprobe fuse
@reboot sleep 15 ; rclone mount --daemon multimedia:/multimedia-001 /home/xbian/screenshots
(I add the "sleep 15" in case if the issue was caused because the network wasn't available, but it change nothing).
When I launch those two above commands, I can mount the ftp site, but I'm not able to get it mounted automatically at boot.
I'd tries the above cronjob as root, everything as xbian using
crontab -e -u xbian , the
modprobe fuse as root and the second part as xbian, nothing seem to work.
What is your rclone version (output from
There are the software version:
- os/arch: linux/arm
- go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
The OS used is Xbian (Debian 10 "Buster")
Which cloud storage system are you using? (eg Google Drive)
I try to mount at boot a local FTP site.
The command you were trying to run (eg
rclone copy /tmp remote:tmp)
Those are the command that I'd use (in terminal but, not in a crontab file).
modprobe fuse rclone mount --daemon multimedia:/multimedia-001 /home/xbian/screenshots
The rclone config contents with secrets removed.
[multimedia] type = ftp host = 192.168.2.3 user = multimedia port = 21 pass =
A log from the command with the
rclone mount -vv -- multimedia:/multimedia-001 /home/xbian/screenshots 2020/08/29 16:58:31 DEBUG : rclone: Version "v1.52.1" starting with parameters ["rclone" "mount" "-vv" "--daemon" "multimedia:/multimedia-001" "/home/xbian/screenshots"] 2020/08/29 16:58:31 DEBUG : Using config file from "/home/xbian/.config/rclone/rclone.conf" 2020/08/29 16:58:31 DEBUG : ftp://192.168.2.3:21/multimedia-001: Connecting to FTP server 2020/08/29 16:58:31 DEBUG : ftp://192.168.2.3:21/multimedia-001: Mounting on "/home/xbian/screenshots" 2020/08/29 16:58:31 INFO : ftp://192.168.2.3:21/multimedia-001: poll-interval is not supported by this remote 2020/08/29 16:58:31 DEBUG : Adding path "vfs/forget" to remote control registry 2020/08/29 16:58:31 DEBUG : Adding path "vfs/refresh" to remote control registry 2020/08/29 16:58:31 DEBUG : Adding path "vfs/poll-interval" to remote control registry 2020/08/29 16:58:31 DEBUG : : Root: 2020/08/29 16:58:31 DEBUG : : >Root: node=/, err=<nil>
The ftp site is now mounted but manually. How to get it mounted a each boot?
Additionally, I'd tested it with Linux Mint 20 and it work just fine.