What is the problem you are having with rclone?
Cant get the drive to mount on boot.
I am using a script, set to run on reboot via CRON to mount a dropbox folder. The script works when run from the CLI, but not from CRON.
What is your rclone version (output from rclone version
)
rclone v1.55.1
- os/type: linux
- os/arch: arm64
- go/version: go1.16.3
- go/linking: static
- go/tags: none
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Raspberry Pi OS 64 bit Buster
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Script is below:
#!/bin/bash
/usr/bin/rclone mount --allow-non-empty --allow-other Dropbox:House/Sandhill/House/Raspberry/Backup /home/pi/Dropbox &
I have made it executable; then added it to cron:
crontab -e
@reboot sh /root/myscript.sh
The rclone config contents with secrets removed.
[Dropbox]
type = dropbox
token = {"access_token":"XXX","token_type":"bearer","expiry":"YYY"}
A log from the command with the -vv
flag
No logs found