com.piyushgarg.rclone icon indicating copy to clipboard operation
com.piyushgarg.rclone copied to clipboard

Can't run rclone config from terminal

Open oneironaut2209 opened this issue 3 years ago • 4 comments

$ su :/data/data/com.termux/files/home # cd :/ # rclone config /system/bin/sh: rclone: inaccessible or not found

This error am getting after installing the module My magisk is latest Module is latest Android 11

oneironaut2209 avatar Jan 20 '21 19:01 oneironaut2209

/data/adb/modules/com.piyushgarg.rclone/rclone config

But it will give you errors about failing to write, even as su. You're expected to have a conf already prepared and stored in /sdcard/.rclone/rclone.conf

Wolfbeta avatar Jan 26 '21 21:01 Wolfbeta

Same problem. Has anybody solved this?

opryshko avatar Nov 03 '21 15:11 opryshko

Depending on the error message, a write failure could just simply be because /sdcard/.rclone doesn't exist, so running mkdir /sdcard/.rclone may fix it even without a rclone.conf file being created in the directory.

As far as not finding the binary, @Wolfbeta has provided the correct command to run to avoid the issue reported in the OP.

Speeddymon avatar Jul 31 '22 21:07 Speeddymon

Depending on the error message, a write failure could just simply be because /sdcard/.rclone doesn't exist, so running mkdir /sdcard/.rclone may fix it even without a rclone.conf file being created in the directory.

As far as not finding the binary, @Wolfbeta has provided the correct command to run to avoid the issue reported in the OP.

Its been more than 1 year I tried this module. So today I tried again. Placed rclone.conf at /sdacrd/.rclone/rclone.conf , flashed module with latest commits and rebooted. And still my remotes where not mounted. image

oneironaut2209 avatar Aug 02 '22 14:08 oneironaut2209