安装时报错,安装后依然用的自带web UI
hejunqing opened this issue · 2 comments
如果反馈BUG,请提供以下信息,如果可能,同时提供英文描述,谢谢。
- Transmssion 版本: 3.0
- Tr Web Control 版本: 1.6.1
- 浏览器名称及版本:Chrome 108.0.5359.125(正式版本) (64 位)
- 问题描述: 安装时报错找不到src/., 安装后打开依然是Transmission自带的web UI
For English User
Please provide the following information.
- Transmssion version:
- Tr Web Control version:
- Browser name & version:
- Problem description:
安装时log:
--2023-01-05 20:13:20-- https://gitee.com/api/v5/repos/culturist/transmission-web-control/releases/latest
Resolving gitee.com (gitee.com)... 212.64.63.215, 212.64.63.190
Connecting to gitee.com (gitee.com)|212.64.63.215|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4860 (4.7K) [application/json]
Saving to: ‘STDOUT’
-
100%[=================================================>] 4.75K --.-KB/s in 0s
2023-01-05 20:13:20 (109 MB/s) - written to stdout [4860/4860]
<< 2023-01-05 20:13:20 >> == 开始 ==
<< 2023-01-05 20:13:20 >>
<< 2023-01-05 20:13:20 >> 当前 Transmission Web 目录为: /usr/share/transmission/web
<< 2023-01-05 20:13:20 >> 您正在使用指定版本安装,版本: 1.6.1-update1
<< 2023-01-05 20:13:20 >> 正在尝试指定版本 1.6.1-update1
<< 2023-01-05 20:13:20 >> 正在下载 Transmission Web Control...
--2023-01-05 20:13:20-- https://gitee.com/culturist/transmission-web-control/repository/archive/v1.6.1-update1.tar.gz
Resolving gitee.com (gitee.com)... 212.64.63.215, 212.64.63.190
Connecting to gitee.com (gitee.com)|212.64.63.215|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://gitee.com/culturist/transmission-web-control/repository/blazearchive/v1.6.1-update1.tar.gz?Expires=1672922001&Signature=kFbLyTSw8kvHFaIOajhxCG4LM77kl2iQR9DqYx%2F0YPI%3D [following]
--2023-01-05 20:13:21-- https://gitee.com/culturist/transmission-web-control/repository/blazearchive/v1.6.1-update1.tar.gz?Expires=1672922001&Signature=kFbLyTSw8kvHFaIOajhxCG4LM77kl2iQR9DqYx%2F0YPI%3D
Reusing existing connection to gitee.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-compressed-tar]
Saving to: ‘v1.6.1-update1.tar.gz’
v1.6.1-update1.tar.gz [ <=> ] 1.15M 2.65MB/s in 0.4s
2023-01-05 20:13:22 (2.65 MB/s) - ‘v1.6.1-update1.tar.gz’ saved [1206313]
<< 2023-01-05 20:13:22 >> 下载完成,正在准备安装...
<< 2023-01-05 20:13:22 >> 正在解压安装包...
<< 2023-01-05 20:13:22 >> 正在复制安装包...
cp: cannot stat '/tmp/tr-web-control/transmission-web-control/src/.': No such file or directory
<< 2023-01-05 20:13:22 >> 正在设置权限,大约需要一分钟 ...
<< 2023-01-05 20:13:22 >> Transmission Web Control 安装完成!
<< 2023-01-05 20:13:22 >> 正在清理安装包...
<< 2023-01-05 20:13:22 >> 安装脚本执行完成。如遇到问题请查看:https://github.com/ronggang/transmission-web-control/wiki
<< 2023-01-05 20:13:22 >> == 结束 ==
然后启动Transmission,export TRANSMISSION_WEB_HOME=/usr/share/transmission/web
浏览器打开UI终端发现还是自带的界面!!!
看到报错 cp: cannot stat '/tmp/tr-web-control/transmission-web-control/src/.': No such file or directory
这个是由于安装脚本中的脚本错误导致。
下载的安装包解压之后到了这个目录'/tmp/tr-web-control/transmission-web-control-v1.6.1-update1/src/.' 所以按照脚本中的目录是无法成功复制的。
我看到之前有个帖子里修改了脚本,可以用于transmission-web-control-v1.6.1-update1这个版本的安装。
2023-02-06 20:46:32 (2.24 MB/s) - ‘v1.6.1-update1.tar.gz’ saved [1206313]
<< 2023-02-06 20:46:32 >> 下载完成,正在准备安装...
<< 2023-02-06 20:46:32 >> 正在解压安装包...
<< 2023-02-06 20:46:32 >> 正在复制安装包...
cp: cannot stat `/tmp/tr-web-control/transmission-web-control/src/.': No such file or directory
<< 2023-02-06 20:46:32 >> 正在设置权限,大约需要一分钟 ...
<< 2023-02-06 20:46:32 >> Transmission Web Control 安装完成!
<< 2023-02-06 20:46:32 >> 正在清理安装包...
<< 2023-02-06 20:46:32 >> 安装脚本执行完成。如遇到问题请查看:https://github.com/ronggang/transmission-web-control/wiki
<< 2023-02-06 20:46:32 >> == 结束 ==
我也是这样,直接下载了包解压后复制到目的目录解决了问题,QNAP NAS