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.
ThankYou!
Rclone Version
rclone v1.53.3-DEV
- os/arch: linux/arm64
- go version: go1.18.1
Rclone config
[onedrive]
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.
use that with qbit, something like /usr/bin/rclone move "%F" "/fullpath/to/dest/%N"
might need to use --config to hardcode the fullpath of the config file.
fwiw, some of the questions are not really about rclone.
what i shared, it works and has worked for others in the forum.
take some time, do more research and testing.
I actually tried running some local commands without rclone too from qbittorrent, but surprisingly they didn't work either. I called the bash shell in it but still didn't work.
/usr/bin/sh -c touch /home/ubuntu/"%N".txt
I guess there is problem with qbittorrent nox itself.