STOP and READUSE THIS TEMPLATENO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
os/version: debian 11.8 (64 bit)
os/kernel: 6.1.0-0.deb11.13-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.21.4
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Onedrive Business
The command you were trying to run (eg rclone copy /tmp remote:tmp)
systemctl start rclone@noor.service
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[contentmain]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = business
A log from the command that you were trying to run with the -vv flag
Paste log here
I want to say at last I am using swizzin script to install rclone alongside with other apps. This error is pretty tough to fix for me as I am noob. Please help me to fix the issue.
It is all a bit messy... Your service runs as noor user:
so trying to access --config /root/.config/rclone/rclone.conf will be problematic unless permissions of /root are completely "compromised". Also for token access based remote like onedrive write access is needed to refresh token periodically.
It does not help that you do not indicate how you run your commands - as root or as a user.
Now when you switched your service to noor user config location:
probably the easiest thing to do is to run (as noor user):
rclone config
and create your contentmain onedrive remote again.
Do not copy files around from root account as then you have to also make sure that their ownership and permissions are correct.