What is the problem you are having with rclone?
I made a script with the following command:
- /usr/bin/rclone copy --update --verbose --transfers 30 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s "/root/test/ "" google-drive:LinuxDocs" -vv
If I run this script directly it will work normally. But now the time I put it on the crontab:
- / 1 * * * * /root/gbk.sh> / dev / null 2 >> /tmp/gbk.txt
Then he presents this error:
- 2020/10/23 11:10:01 DEBUG: Creating backend with remote "/ root / test /"
- 2020/10/23 11:10:01 NOTICE: Config file "/.config/rclone/rclone.conf" not found - using defaults
- 2020/10/23 11:10:01 DEBUG: Creating backend with remote "google-drive: LinuxDocs"
- 2020/10/23 11:10:01 Failed to create file system for "google-drive: LinuxDocs": didn't find section in config file
What is your rclone version (output from rclone version
)
rclone v1.53.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
os/arch: linux/amd64
Centos 6.10
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
- /usr/bin/rclone copy --update --verbose --transfers 30 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s "/root/test/ "" google-drive:LinuxDocs" -vv
The rclone config contents with secrets removed.
- 2020/10/23 11:10:01 DEBUG: Creating backend with remote "/ root / test /"
- 2020/10/23 11:10:01 NOTICE: Config file "/.config/rclone/rclone.conf" not found - using defaults
- 2020/10/23 11:10:01 DEBUG: Creating backend with remote "google-drive: LinuxDocs"
- 2020/10/23 11:10:01 Failed to create file system for "google-drive: LinuxDocs": didn't find
A log from the command with the -vv
flag
Paste log here