ShiroNeri4u / Neribox

A magisk module with AList | 一个围绕AList构建的Magisk模块
https://kazamataneri.tech
86 stars 4 forks source link

rclone mount dont work #2

Open Noir-AI opened 10 months ago

Noir-AI commented 10 months ago

console log: android@root:/data/adb/modules/Neribox # ./toolkit rclone -mount android@root:/data/adb/modules/Neribox # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 1433416 1704 1431712 1% /dev tmpfs 1433416 4 1433412 1% /mnt /dev/block/mmcblk0p24 3096336 2911960 184376 95% / /dev/block/mmcblk0p49 838552 370976 467576 45% /vendor magisk 1433416 5076 1428340 1% /debug_ramdisk tmpfs 1433416 8 1433408 1% /apex tmpfs 1433416 456 1432960 1% /linkerconfig /dev/block/mmcblk0p50 24525392 13368264 11157128 55% /data /dev/block/mmcblk0p25 237416 104 237312 1% /cache /dev/block/mmcblk0p26 28116 1256 26860 5% /mnt/vendor/persist /dev/block/mmcblk0p12 11988 8364 3624 70% /vendor/dsp /dev/block/mmcblk0p1 85968 84880 1088 99% /vendor/firmware_mnt tmpfs 1433416 0 1433416 0% /data_mirror worker 1433416 0 1433416 0% /debug_ramdisk/.magisk/worker /data/media 24525392 13368264 11157128 55% /mnt/runtime/default/emulated /dev/fuse 24525392 13368264 11157128 55% /mnt/user/0/emulated tmpfs 1024 0 1024 0% /cache/dummyadj android@root:/data/adb/modules/Neribox # cat /data/adb/Neribox/log.txt find: /mnt/androidwritable/0/emulated: Permission denied find: /mnt/installer/0/emulated: Permission denied find: /mnt/user/0/emulated: Permission denied INFO[2024-01-30 06:47:01] closing db 2024/01/30 06:47:03 ERROR : /data/adb/Neribox/Cloud/.AList: Unmounted rclone mount 2024/01/30 06:47:16 ERROR : Attempt 1/3 failed with 1 errors and: directory not found 2024/01/30 06:47:16 ERROR : Attempt 2/3 failed with 1 errors and: directory not found 2024/01/30 06:47:16 ERROR : Attempt 3/3 failed with 1 errors and: directory not found 2024/01/30 06:47:16 Failed to purge: directory not found

config .rclone.conf: [AList] type = webdav url = https://localhost:44344/dav vendor = other user = admin pass = rjezmVP6TpVX20c6Em4WdRniUo0

config.ini: android@root:/data/adb/Neribox # cat config.ini

screen control:kill process when screen off,type 0 to disable

AOD=0

dashboard:control dashboard refresh

DASHBOARD=true

dashboard custom style

STATUSBAR=ALIST[VERSION,DAEMON,PORT,USER,PASSWORD] ARIA2[VERSION,DAEMON,PORT,WEBUI] RCLONE[VERSION,DAEMON,PID] FRPC[VERSION,DAEMON,PID]

daemon:when process stop then restart

ALIST_DAEMON=true

AList port,http on left,https on right,type -1 to disable

ALIST_PORT=8008|44344

AList admin password,only able to 3.15.1 or adove

ALIST_PASSWD=root

daemon:when process stop then restart

ARIA2_DAEMON=true

Aria2 https

ARIA2_HTTPS=false

Aria2 WebUI

ARIANG_WEBUI=true

daemon:when process stop then restart

RCLONE_DAEMON=true

Default mount path,in /storage/emulated/0,equal to -MOUNTDIR

MOUNTDIR=AList

Default Webdav path,equal to -CLOUDDIR

CLOUDDIR=/

daemon:when process stop then restart

FRPC_DAEMON=false

frpc parameter

FRPC_PARM=true

Termux repo

TERMUX_REPO=https://packages-cf.termux.dev

tracker subscribe link

TRACKERLIST=https://cdn.jsdelivr.net/gh/ngosang/trackerslist@master/trackers_all_ip.txt

Root Manager package name

ROOT_MANAGER=com.topjohnwu.magisk

android@root:/data/adb/Neribox #

ShiroNeri4u commented 10 months ago

Add at least one storage in AList,otherwise rclone no work. And rclone should working in root shell.

toolkit alist -start rclone -mount

Default mount address is AList local webdav.If you have other server address. Type toolkit rclone -config.then toolkit rclone -mount -REMOTE remotename.

Noir-AI commented 10 months ago

I have 3 storage at alist local,gdrive, and onedrive But still cant mount it locally.

android@root:/data/adb/Neribox # cat log.txt INFO[2024-02-01 14:52:47] closing db find: /mnt/androidwritable/0/emulated: Permission denied find: /mnt/installer/0/emulated: Permission denied find: /mnt/user/0/emulated: Permission denied 2024/02/01 14:52:52 ERROR : /data/adb/Neribox/Cloud/.AList: Unmounted rclone mount find: /mnt/androidwritable/0/emulated: Permission denied find: /mnt/installer/0/emulated: Permission denied find: /mnt/user/0/emulated: Permission denied 2024/02/01 14:55:26 ERROR : /data/adb/Neribox/Cloud/.AList: Unmounted rclone mount android@root:/data/adb/Neribox #1

ShiroNeri4u commented 9 months ago

Try mount | grep AList and report. As I know different android version,rom and root(Magisk/Aplha/Delta/KernelSU/Apatch) effect the path mountable.But I dont clear relationship between them.

Noir-AI commented 9 months ago

There nothing android@root:/data/ssh/root # mount | grep AList android@root:/data/ssh/root # mount | grep AList

Maybe rom bug or something else.

Now i use https://github.com/AvinashReddy3108/rclone-mount-magisk to mount webdav locally.

ShiroNeri4u commented 9 months ago

I will add rclone custom mount path in next update.Maybe can fix the problem