I use a VPS running Ubuntu 20.04 ARM64. I setup OneDrive Business using rclone. I mounted the onedrive to the folder.
The problem I am facing is when I try to download files from torrent (from qbittorrent nox which is hosted on the same server, and the download folder path is of the mounted folder, assuming it will directly get downloaded and uploaded there automatically), the status immediately turns errored.
I mounted the folder with VFS
rclone mount --daemon onedrive: ~/onedrive --vfs-cache-mode=writes
PS: I can't change the permissions of the mounted folder. But when it was not mounted to rclone, I could. I haven't setup any systemd service for rclone yet. Just direct commands.
I am actually trying to achieve to be able to download torrent files and upload automatically to OneDrive. Directly through the torrent client.
- os/arch: linux/arm64
- go version: go1.18.1
type = onedrive
client_id = xxxxxxxxxxxxxxxxx
client_secret = xxxxxxxxxxxxxxx
token = xxxxxxxxxxxxxxxxxx
drive_id = xxxxxxxxxxxx
drive_type = business
Okay. I'll try that. But what if the file I am trying to download is itself more than the total storage allowance of my server? The method you suggested will download file locally and then upload it to the server. But there won't be any space to store a game zip file (just for example as they are very large in sizes) before it gets uploaded and will result in the storage error in the torrent client.
rclone crypt. Well that's new for me. I have no idea about it. How its encryption and decryption works. And will I be able to stream directly from onedrive then? Like on Jellyfin as a private media server?
Yep. It worked locally. But no sign of work on my server. I tried moving it to another normal folder using rclone move on my server but it didn't move. I tried rclone moveto, but still no sign of work.