What is the problem you are having with rclone?
Not a problem, just a question. Why does it say "OneDrive token expried, but no uploads in progress, doing nothing..." but then it proceeds to do it anywya by saying the "token" in another config and then starts uploading? I am just wondering what an earth it is actually doing haha. It is copying from OneDrive config to SharePoint config and then starts the upload? Simple question really, no problems at all as it works flawlessly for the past 2 years, just always wondered.
2023/04/03 07:11:01 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "move" "/backups" "backups:S01" "--log-file=/var/log/rclone/backup-log-03-04-2023.txt" "--log-level" "DEBUG"]
2023/04/03 07:11:01 DEBUG : Creating backend with remote "/backups"
2023/04/03 07:11:01 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/04/03 07:11:01 DEBUG : Creating backend with remote "backups:S01"
2023/04/03 07:11:01 DEBUG : backups: Loaded invalid token from config file - ignoring
2023/04/03 07:11:01 DEBUG : OneDrive root 'S01': Token expired but no uploads in progress - doing nothing
2023/04/03 07:11:02 DEBUG : Saving config "token" in section "backups" of the config file
2023/04/03 07:11:02 DEBUG : backups: Saved new token in config file
2023/04/03 07:11:04 DEBUG : mongodb/03-04-23.tgz: Starting multipart upload
2023/04/03 07:11:04 DEBUG : databases/2023-04-03.tgz: Starting multipart upload
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-146-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
SharePoint For Business
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Doesn't hugely mattter, but:
rclone move /backups backups:S01 --log-file=/var/log/rclone/backup-log-$(date +"\%d-\%m-\%Y").txt --log-level DEBUG
The rclone config contents with secrets removed.
A log from the command with the -vv
flag
2023/04/03 07:11:01 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "move" "/backups" "backups:S01" "--log-file=/var/log/rclone/backup-log-03-04-2023.txt" "--log-level" "DEBUG"]
2023/04/03 07:11:01 DEBUG : Creating backend with remote "/backups"
2023/04/03 07:11:01 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/04/03 07:11:01 DEBUG : Creating backend with remote "backups:S01"
2023/04/03 07:11:01 DEBUG : backups: Loaded invalid token from config file - ignoring
2023/04/03 07:11:01 DEBUG : OneDrive root 'S01': Token expired but no uploads in progress - doing nothing
2023/04/03 07:11:02 DEBUG : Saving config "token" in section "backups" of the config file
2023/04/03 07:11:02 DEBUG : backups: Saved new token in config file
2023/04/03 07:11:04 DEBUG : mongodb/03-04-23.tgz: Starting multipart upload
2023/04/03 07:11:04 DEBUG : databases/2023-04-03.tgz: Starting multipart upload