Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
Yes. Pkg install rclone.
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
~ $ sudo rclone mount GDrive /storage/emulated/0/Rclone
A comment did found out that this originally said Drive instead of GDrive, I've reverified with the correct command (seen below). The issue was not resolved.
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
~ $ rclone config redacted
[GDrive]
type = drive
token = XXX
team_drive =
scope = drive
### Double check the config for sensitive info before posting publicly
~ $
A log from the command that you were trying to run with the -vv flag
~ $ sudo rclone mount -vv GDrive /storage/emulated/0/Rclone2024/12/06 17:37:03 DEBUG : rclone: Version "v1.68.2-termux" starting with parameters ["rclone" "mount" "-vv" "GDrive" "/storage/emulated/0/Rclone"]
2024/12/06 17:37:03 DEBUG : Creating backend with remote "GDrive"
2024/12/06 17:37:03 NOTICE: Config file "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf" not found - using defaults
2024/12/06 17:37:03 DEBUG : fs cache: renaming cache item "GDrive" to be canonical "/data/data/com.termux/files/home/GDrive"
2024/12/06 17:37:03 INFO : Local file system at /data/data/com.termux/files/home/GDrive: poll-interval is not supported by this remote
2024/12/06 17:37:03 DEBUG : Local file system at /data/data/com.termux/files/home/GDrive: Mounting on "/storage/emulated/0/Rclone"
2024/12/06 17:37:03 DEBUG : : Root:
2024/12/06 17:37:03 DEBUG : : >Root: node=/, err=<nil>
Additional stuff:
The file does indeed exist, I'm not going crazy
:/storage/emulated/0 # ls
Alarms Download Pictures Telegram
Android Movies Rclone adbAutoSave
AppManager Music Ringtones last_kmsg\ logs
DCIM Notifications Samsung log
Documents Oculus SwiftBackup
I was having trouble with the added colon, so I tried the command above instead.
~ $ sudo rclone mount GDrive: /storage/emulated/0/Rclone
2024/12/06 17:34:09 NOTICE: Config file "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf" not found - using defaults
2024/12/06 17:34:09 CRITICAL: Failed to create file system for "GDrive:": didn't find section in config file
~ $
I was having trouble with the added colon, so I tried the command in the post instead.
~ $ sudo rclone mount GDrive: /storage/emulated/0/Rclone
2024/12/06 17:34:09 NOTICE: Config file "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf" not found - using defaults
2024/12/06 17:34:09 CRITICAL: Failed to create file system for "GDrive:": didn't find section in config file
~ $
Here is the output with the -vv option, I've also updated the post to reflect this change.
~ $ sudo rclone mount -vv GDrive /storage/emulated/0/Rclone2024/12/06 17:37:03 DEBUG : rclone: Version "v1.68.2-termux" starting with parameters ["rclone" "mount" "-vv" "GDrive" "/storage/emulated/0/Rclone"]
2024/12/06 17:37:03 DEBUG : Creating backend with remote "GDrive"
2024/12/06 17:37:03 NOTICE: Config file "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf" not found - using defaults
2024/12/06 17:37:03 DEBUG : fs cache: renaming cache item "GDrive" to be canonical "/data/data/com.termux/files/home/GDrive"
2024/12/06 17:37:03 INFO : Local file system at /data/data/com.termux/files/home/GDrive: poll-interval is not supported by this remote
2024/12/06 17:37:03 DEBUG : Local file system at /data/data/com.termux/files/home/GDrive: Mounting on "/storage/emulated/0/Rclone"
2024/12/06 17:37:03 DEBUG : : Root:
2024/12/06 17:37:03 DEBUG : : >Root: node=/, err=<nil>
i assume that you created the remote as non-root user, correct?
to find the config file, rclone config file
tell rclone where to find it using --config=/path/to/rclone.log
or
copy the config file to /data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf
that needs to be GDrive:, need to use :
else rclone things GDrive is a local subfolder, relative to the current working directory renaming cache item "GDrive" to be canonical "/data/data/com.termux/files/home/GDrive"
I've setup the config again, as root this time (using sudo)
~ $ sudo rclone mount -vv GDrive: /storage/emulated/0/Rclone
2024/12/06 19:38:19 DEBUG : rclone: Version "v1.68.2-termux" starting with parameters ["rclone" "mount" "-vv" "GDrive:" "/storage/emulated/0/Rclone"]
2024/12/06 19:38:19 DEBUG : Creating backend with remote "GDrive:"
2024/12/06 19:38:19 DEBUG : Using config file from "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf"
2024/12/06 19:38:20 DEBUG : Google drive root '': 'root_folder_id = 0AC4B6QEvIpIOUk9PVA' - save this in the config to speed up startup
2024/12/06 19:38:20 DEBUG : Google drive root '': Mounting on "/storage/emulated/0/Rclone"
2024/12/06 19:38:20 DEBUG : : Root:
2024/12/06 19:38:20 DEBUG : : >Root: node=/, err=<nil>
But nothing appears in the folder still?
Also, I am using my own client ID and secret this time, and google api is showing traffic so it should be working. I think somehow I messed up so rclone can't access any of the files?
I followed this guide exactly
But I left the scopes blank (just pressing enter) when setting up the config in the terminal. Should it be something else?
Could you explain what you mean by this? I was trying to mount to the filepath in my comment
/storage/emulated/0/Rclone
Also, I've found out something that makes no intuitive sense.
Doing,
su
rclone config
Output:
clone config -vv <
2024/12/06 22:37:12 DEBUG : Configuration directory could not be created and will not be used: mkdir /.config: read-only file system
2024/12/06 22:37:13 DEBUG : rclone: Version "v1.68.2-termux" starting with parameters ["rclone" "config" "-vv"]
2024/12/06 22:37:13 NOTICE: Config file "/.rclone.conf" not found - using defaults
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> ^C
130|:/data/data/com.termux/files/home #
It doesn't identify any remotes.
But,
sudo rclone config
Outputs:
2024/12/06 22:40:59 DEBUG : rclone: Version "v1.68.2-termux" starting with parameters ["rclone" "-vv" "config"]
2024/12/06 22:40:59 DEBUG : Using config file from "/data/data/com.termux/files/home/.suroot/.config/rclone/rclone.conf"
Current remotes:
Name Type
==== ====
GDrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>
I've redid the config again in Su this time (not sudo), with the --config option pointing to /data/data/com.termux/files/home/.config/rclone/rclone.conf
Also mounted with
rclone --config /data/data/com.termux/files/home/.config/rclone/rclone.conf mount -vv GDrive: /storage/emulated/0/Rclone
Nothing appears in the file. Mount succeeded though.