Rclone on Arch problem

Hey everyone, im trying to install onedrive to my arch linux using rclone, everything is working perfectly until i try to mount it to my filesystem it gives me this error:

The command I'm trying to run:

sudo rclone mount onedrive: ~/OneDrive --vfs-cache-mode

The error:

2024/10/14 09:47:34 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2024/10/14 09:47:34 CRITICAL: Failed to create file system for "onedrive:": didn't find section in config file

My config file:

[onedrive]
type = onedrive
token = {"access_token":"redacted","expiry":"redacted"}
drive_id = redacted
drive_type = personnal

I've tried multiple times with different commands but it still doesnt work, Help!!

You probably created your config as regular user and you try to run mount as root (which you should NOT until you have some special requirements and understand what you are doing).

Config file location is user dependent:

  1. root uses /root/.config/rclone/rclone.conf
  2. user uses /home/user/.config/rclone/rclone.conf

Check docs for details

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.