What is the problem you are having with rclone?
Unable to find any mount points after configuring rclone-mount with Magisk.
I have to admit that I am generally confused about Magisk's rclone-mount module. It seems to work well for people. For example, here's a fairly recent post from this forum:
Rclone mount on rooted Android - Help and Support - rclone forum - thread 20935
Why aren't you using the Magisk module's native mount method? I find it works quite reliably and works for most use-cases.
I'd like to achieve that too. However, I keep running into issues. The problem I'm trying to solve now is that the expected mount points are not available after configuring a new connection. I can use rclone ls <mountpoint>
to list the contents of a server and that succeeds so I know the connection is working. But there are no mount points under any of these locations:
- /mnt/cloud/
- /storage/cloud/
- /sdcard/cloud/
And I don't see any errors (but also not sure where I could look for them).
I assume the fusermount binary is the problem. I have referred to:
Fusermount on android (rclone mount) | XDA Forums]
(xda-developers - dotcom /t/fusermount-on-android-rclone-mount.3866652/)
However, that's an older thread and I am hesitant to try suggestions from 2019, and also confused regarding exactly what I should try next.
This is the fusermount file that gets installed by the Magisk module:
# file fusermount
fusermount: ELF shared object, 64-bit LSB arm64, dynamic (/system/bin/linker64), for Android 21, built by NDK r20 (5594570), not stripped
Does that look correct?
These are the contents of the installation directory:
:/data/adb/modules/com.piyushgarg.rclone # ls -la
total 244
drwxr-xr-x 3 root root 4096 2021-10-11 12:50 .
drwxr-xr-x 8 root root 4096 2019-04-17 12:16 ..
drwxrwxrwx 3 root root 4096 2021-10-11 12:33 .config
-rw-r--r-- 1 root root 0 2021-10-11 12:50 disable
-rwxr-xr-x 1 root root 55256 2021-10-11 12:14 fusermount
-rwxr-xr-x 1 root root 306 2021-10-11 12:14 fusermount-wrapper.sh
-r-xr-xr-x 1 root root 67608 2021-10-11 12:14 inotifywait
-rw-r--r-- 1 root root 70696 2021-10-11 12:14 libandroid-support.so
-rw-r--r-- 1 root root 444 2021-10-11 12:14 module.prop
-rwxr-xr-x 1 root root 0 2021-10-11 12:14 rclone
-rwxr-xr-x 1 root root 4813 2021-10-11 12:14 rclonew
-rw-r--r-- 1 root root 0 2021-10-11 12:50 remove
-rwxr-xr-x 1 root root 14543 2021-10-11 12:14 service.sh
-rw-r--r-- 1 root root 0 2021-10-11 12:14 skip_mount
-rwxr-xr-x 1 root root 2028 2021-10-11 12:14 syncd.sh
That's before I copy the rclone binary into place.
What is your rclone version (output from rclone version
)
rclone v1.57.0-beta.5698.19fc1b2a9
- os/version: Android 9 - os/kernel: 4.4.78-perf+ (armv8l)
- os/type: android
- os/arch: arm64
- go/version: go1.16.9
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
SSH/SFTP
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Just trying to browse to the mount points.
The rclone config contents with secrets removed.
# cat /data/ssh/root/.config/rclone/rclone.conf
[myconfigname]
type = sftp
host = mysite.com
user = myuser
key_file = ${RCLONE_CONFIG_DIR}/mykey.pem
Should I use the rclone package for Termux instead? Can I achieve automatic mounting of the servers at boot with the Termux package? (I have not used Termux before.)
Thanks and sorry for the long post. If I was less confused, I could probably have drilled down to the specific issue a little better.