群晖 Docker 安装 RcloneBrowser 挂载错误: "fusermount3": executable file not found in $PATH

143 天前
 unishare
docker 装的是这个,rclone 版本是 1.65
https://hub.docker.com/r/yadiman/rclonebrowser

按照这个教程 https://imnks.com/8208.html
建立为 fuse2 的软连接,还是不行
接着 opkg install fuse3-utils ,安装成功了,还是不行
请问下大家该怎么解决
1408 次点击
所在节点    NAS
26 条回复
unishare
143 天前
julyclyde
143 天前
这个是个符号链接啊
它指向哪个文件?
unishare
143 天前
@julyclyde 指向 fusermount2 ,看教程链接教的软链接
unishare
143 天前
@unishare 不对,是 fusermount
georgex
143 天前
我也用的 docker 版的 rclone ,挂载的 alist 的 webdav ,并没有安装这个 fuse3 呢
unishare
143 天前
@georgex rclone 新版本才需要
NessajCN
143 天前
下面这俩命令输出是啥
echo $PATH
ls -alF /bin
unishare
143 天前
@NessajCN #7

admin@DS918plus:~$ echo $PATH
/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
admin@DS918plus:~$ ls -alF /bin
lrwxrwxrwx 1 root root 7 Sep 26 18:03 /bin -> usr/bin/
NessajCN
143 天前
@unishare 再看一下这俩
ls -alF /bin/ | grep fuser
type fusermount3
georgex
143 天前
@unishare 我用的也是新版,rclone/rclone:latest 目前版本 v1.65.0
unishare
143 天前
@NessajCN #9

root@DS918plus:~# ls -alF /bin/ | grep fuser
-rwsr-xr-x 1 root root 35544 Aug 1 2022 fusermount*
lrwxrwxrwx 1 root root 15 Dec 18 17:59 fusermount3 -> /bin/fusermount*
root@DS918plus:~# type fusermount3
fusermount3 is /opt/bin/fusermount3
unishare
143 天前
@georgex #10 会不会是装过 fuse3 了,你是用的群晖吗
unishare
143 天前
@georgex #10 你知道怎么通过 ssh 进入 docker 内部的 rclone 配置命令吗,好像是得先获得 rclone 的 docker id 吧,然后再用 rclone config 命令
NessajCN
143 天前
@unishare 你现在有两个 fusermount3, 一个在 /opt/bin/fusermount3 , 应该是 opkg 装的
一个在 /bin/fusermount3
因为这俩都在 PATH 里,/opt/bin 比 /bin 位置靠前,所以 /opt/bin/fusermount3 先被使用
你可以再用
ls -alF /opt/bin/fusermount3
看一下该执行文件的权限是否正确,你用来执行该命令的用户( docker ?)是否正确拥有该文件的可执行权限
unishare
143 天前
@NessajCN #14

root@DS918plus:~# ls -alF /opt/bin/fusermount3
-rwxr-xr-x 1 root root 35344 Sep 2 03:07 /opt/bin/fusermount3*
unishare
143 天前
@NessajCN #14 我设置 7777 权限了,但是 RcloneBrowser 还是一样的错误
unishare
143 天前
@georgex #10 我问 GPT 了,是输入这条命令 docker exec -it rclone-rclone-0 /bin/bash 可以进入 ssh 了,但是提示错误
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
我的 rclone 之前通过这条 command 装过 gui rcd --rc-web-gui --rc-addr :5572 --rc-user admin --rc-pass ***
不知道是不是这个原因才提示错误
georgex
143 天前
@unishare 肯定是在 docker 内部运行啊,加上 shared ,共享再给 host
georgex
143 天前
unishare
143 天前
@georgex #10
改成 /bin/sh 就可以了,抱歉,都是很小白的问题
root@DS918plus:~# docker exec -it rclone-rclone-0 /bin/sh
/data # rclone config
2023/12/19 04:05:15 NOTICE: Config file "/config/rclone/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>

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1001444

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX