# transmission-web-control-fixed **Repository Path**: amos123/transmission-web-control-fixed ## Basic Information - **Project Name**: transmission-web-control-fixed - **Description**: 修复原作者 https://gitee.com/culturist/transmission-web-control/ 安装完成后打开TWC 404的问题 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 1 - **Created**: 2022-10-12 - **Last Updated**: 2024-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 如何在群晖中安装 Transmission Web Control ### 原作者仓库地址 gitee : https://gitee.com/culturist/transmission-web-control/ github:https://github.com/ronggang/transmission-web-control ### 操作 群辉NAS上安装 Transmission-Web-Control 最简单方式:通过群晖的“任务计划”自动安装及定期自动更新(link:https://github.com/ronggang/transmission-web-control/wiki/Installation-For-DSM-CN) ### 遇到的问题 开启脚本任务执行完成后,打开transmission(http://192.168.31.245:9091/transmission/web/) 报错 : 404: Not Found /var/packages/transmission/target/share/transmission/web/index.html (No such file or directory) ### 问题原因 原始的sh脚本文件里,在执行复制安装包时,路径有问题(transmission新版本有变动) 查看错误日志: 正在复制安装包... cp: cannot stat '/tmp/tr-web-control/transmission-web-control/src/.': No such file or directory 而现在实际的路径应该是相对且带版本号的: $TMP_FOLDER/transmission-web-control-v$VERSION ### 解决办法 修改原始脚本文件(install-tr-control-gitee.sh),最新更正的脚本文件我已经上传到仓库,地址是: https://gitee.com/amos123/transmission-web-control-fixed ### 完整脚本(群辉NAS安装) 1、编辑任务计划-人物设置-运行命令脚本文件为如下: curl -s https://gitee.com/amos123/transmission-web-control-fixed/raw/master/install-tr-control-gitee.sh | bash -s auto >> /volume1/users/logs/install-tr-control-cn-log.txt 2>&1 注: /volume1/users/logs 可以自行替换为自己的NAS路径,主要是用来保存执行结果日志 2、保存并执行任务 3、查看Transmission Web http://192.xxx.xx.xxx:9091/transmission/web/