查看: 8780|回复: 6

[分享] 更新Transmission Web Control 1.6.1步骤以及遇到的问题

[复制链接]
发表于 2021-1-24 21:23:14 | 显示全部楼层 |阅读模式
强迫症看到老是提醒我更新1.6.1,于是作死之旅开始
回复

使用道具 举报

 楼主| 发表于 2021-1-24 21:28:58 | 显示全部楼层
用windows 打开cmd输入ssh 账户名@unas ip
然后键入密码进入ssh管理界面
然后各种尝试
$ su root
Password:
kodi@U-NAS:/# ls
bin   dev  home        initrd.img.old               lib    lost+found  mnt  proc  run   srv  tmp   usr  vmlinuz
boot  etc  initrd.img  install-tr-control-gitee.sh  lib64  media       opt  root  sbin  sys  unas  var  vmlinuz.old
kodi@U-NAS:/# sh install-tr-control-gitee.sh
/usr/bin/whoami
<< 2021-01-24 21:12:26 >> 无法确认当前是否为 root 用户,可能无法进行安装操作。是否继续?(y/n)y

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:1

--2021-01-24 21:12:29--  https://gitee.com/api/v5/repos/c ... rol/releases/latest
Resolving gitee.com (gitee.com)... 180.97.125.228
Connecting to gitee.com (gitee.com)|180.97.125.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4845 (4.7K) [application/json]
Saving to: ‘STDOUT’

-                              100%[====================================================>]   4.73K  --.-KB/s    in 0s

2021-01-24 21:12:29 (16.3 MB/s) - written to stdout [4845/4845]


<< 2021-01-24 21:12:29 >> == 开始 ==
<< 2021-01-24 21:12:29 >>
<< 2021-01-24 21:12:29 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
kodi@U-NAS:/# nano /etc/passwd
kodi@U-NAS:/# kodi@U-NAS:/# su rot
No passwd entry for user 'rot'
kodi@U-NAS:/# su root
root@U-NAS:/# sh install-tr-control-gitee.sh
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:1

--2021-01-24 21:13:39--  https://gitee.com/api/v5/repos/c ... rol/releases/latest
Resolving gitee.com (gitee.com)... 180.97.125.228
Connecting to gitee.com (gitee.com)|180.97.125.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4845 (4.7K) [application/json]
Saving to: ‘STDOUT’

-                              100%[====================================================>]   4.73K  --.-KB/s    in 0s

2021-01-24 21:13:39 (31.8 MB/s) - written to stdout [4845/4845]


<< 2021-01-24 21:13:39 >> == 开始 ==
<< 2021-01-24 21:13:39 >>
<< 2021-01-24 21:13:39 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
root@U-NAS:/# sh install-tr-control-gitee.sh /usr/share/transmission
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:1

--2021-01-24 21:13:59--  https://gitee.com/api/v5/repos/c ... rol/releases/latest
Resolving gitee.com (gitee.com)... 180.97.125.228
Connecting to gitee.com (gitee.com)|180.97.125.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4845 (4.7K) [application/json]
Saving to: ‘STDOUT’

-                              100%[====================================================>]   4.73K  --.-KB/s    in 0s

2021-01-24 21:14:00 (31.8 MB/s) - written to stdout [4845/4845]


<< 2021-01-24 21:14:00 >> == 开始 ==
<< 2021-01-24 21:14:00 >>
<< 2021-01-24 21:14:00 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
root@U-NAS:/# sh install-tr-control-gitee.sh /usr/share/transmission
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:2

请输入版本号(如:1.5.1):1.6.1

<< 2021-01-24 21:14:08 >> == 开始 ==
<< 2021-01-24 21:14:08 >>
<< 2021-01-24 21:14:08 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
root@U-NAS:/# sh install-tr-control-gitee.sh /usr/share/transmission
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:2

请输入版本号(如:1.5.1):1.6.0

<< 2021-01-24 21:14:19 >> == 开始 ==
<< 2021-01-24 21:14:19 >>
<< 2021-01-24 21:14:19 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
root@U-NAS:/# sh install-tr-control-gitee.sh
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文仓库安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.3 gitee 仓库版

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-gitee.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:2

请输入版本号(如:1.5.1):1.6.0

<< 2021-01-24 21:14:32 >> == 开始 ==
<< 2021-01-24 21:14:32 >>
<< 2021-01-24 21:14:32 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-gitee.sh: 115: install-tr-control-gitee.sh: Bad substitution
root@U-NAS:/# cd /mnt/play1/play1/play1
root@U-NAS:/mnt/play1/play1/play1# ls
install-tr-control-cn.sh  resource.language.zh_cn-3.0.11.zip             transmission-web-control-1.6.1-update1.zip
resource.language.zh_cn   transmission-web-control-1.6.1-update1.tar.gz  免费版office2007
root@U-NAS:/mnt/play1/play1/play1# sh install-tr-control-cn.sh
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.2-beta2

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-cn.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:1

--2021-01-24 21:15:15--  https://api.github.com/repos/ron ... rol/releases/latest
Resolving api.github.com (api.github.com)... 192.30.255.117
Connecting to api.github.com (api.github.com)|192.30.255.117|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5610 (5.5K) [application/json]
Saving to: ‘STDOUT’

-                              100%[====================================================>]   5.48K   793 B/s    in 7.1s

2021-01-24 21:15:41 (793 B/s) - written to stdout [5610/5610]


<< 2021-01-24 21:15:41 >> == 开始 ==
<< 2021-01-24 21:15:41 >>
<< 2021-01-24 21:15:41 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-cn.sh: 115: install-tr-control-cn.sh: Bad substitution
root@U-NAS:/mnt/play1/play1/play1# sh install-tr-control-cn.sh
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.2-beta2

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-cn.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:1

--2021-01-24 21:15:48--  https://api.github.com/repos/ron ... rol/releases/latest
Resolving api.github.com (api.github.com)... 192.30.255.117
Connecting to api.github.com (api.github.com)|192.30.255.117|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5610 (5.5K) [application/json]
Saving to: ‘STDOUT’

-                              100%[====================================================>]   5.48K  2.82KB/s    in 1.9s

2021-01-24 21:15:52 (2.82 KB/s) - written to stdout [5610/5610]


<< 2021-01-24 21:15:52 >> == 开始 ==
<< 2021-01-24 21:15:52 >>
<< 2021-01-24 21:15:52 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
install-tr-control-cn.sh: 115: install-tr-control-cn.sh: Bad substitution
root@U-NAS:/mnt/play1/play1/play1# apt-get update
Ign:1 http://mirrors.163.com/debian stretch InRelease
Hit:2 http://shanghai.unasmirror.com/debian callisto InRelease
Hit:3 http://mirrors.163.com/debian stretch Release
Reading package lists... Done
root@U-NAS:/mnt/play1/play1/play1# sh install-tr-control-cn.sh
/usr/bin/whoami

        欢迎使用 Transmission Web Control 中文安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.2-beta2

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-cn.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:3

<< 2021-01-24 21:16:23 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
<< 2021-01-24 21:16:23 >> 正在恢复官方UI...
<< 2021-01-24 21:16:23 >> 错误 : Transmisson WEB 目录不存在,请确认是否已安装 Transmisson 。

        欢迎使用 Transmission Web Control 中文安装脚本。
        官方帮助文档:https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本:1.2.2-beta2

        1. 安装最新的发布版本(release);
        2. 安装指定版本,可用于降级;
        3. 恢复到官方UI;
        4. 重新下载安装脚本(install-tr-control-cn.sh);
        5. 检测 Transmission 是否已启动;
        6. 指定安装目录;
        9. 安装最新代码库中的内容(master);
        ===================
        0. 退出安装;

        请输入对应的数字:9

最新代码可能包含未知错误,是否确认安装? (y/n): y

<< 2021-01-24 21:16:48 >> == 开始 ==
<< 2021-01-24 21:16:48 >>
<< 2021-01-24 21:16:48 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
<< 2021-01-24 21:16:48 >> 您正在使用指定版本安装,版本: master
<< 2021-01-24 21:16:48 >> 正在尝试指定版本 master
<< 2021-01-24 21:16:48 >> 正在下载 Transmission Web Control...

--2021-01-24 21:16:48--  https://github.com/ronggang/tran ... chive/master.tar.gz
Resolving github.com (github.com)... 52.74.223.119
Connecting to github.com (github.com)|52.74.223.119|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/rong ... ntrol/tar.gz/master [following]
--2021-01-24 21:16:50--  https://codeload.github.com/rong ... ntrol/tar.gz/master
Resolving codeload.github.com (codeload.github.com)... 54.251.140.56
Connecting to codeload.github.com (codeload.github.com)|54.251.140.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘master.tar.gz’

master.tar.gz                      [       <=>                                           ]   1.12M   789KB/s    in 1.5s

2021-01-24 21:16:53 (789 KB/s) - ‘master.tar.gz’ saved [1177228]

<< 2021-01-24 21:16:53 >> 下载完成,正在准备安装...
<< 2021-01-24 21:16:53 >> 正在解压安装包...
<< 2021-01-24 21:16:53 >> 正在复制安装包...
<< 2021-01-24 21:16:53 >> 正在设置权限,大约需要一分钟 ...
<< 2021-01-24 21:16:56 >> Transmission Web Control 安装完成!
<< 2021-01-24 21:16:56 >> 正在清理安装包...
<< 2021-01-24 21:16:56 >> 安装脚本执行完成。如遇到问题请查看:https://github.com/ronggang/transmission-web-control/wiki
<< 2021-01-24 21:16:56 >> == 结束 ==

回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-1-24 21:30:28 | 显示全部楼层
install-tr-control-cn.sh文件我是从https://github.com/ronggang/transmission-web-control/releases里下载的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-1-25 15:46:05 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2021-1-29 12:57:47 | 显示全部楼层
我比较佛系,安全第一
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-2-2 23:30:02 | 显示全部楼层
Plex Media Server不建议更新到最新版本
回复 支持 反对

使用道具 举报

发表于 2021-11-24 03:48:53 | 显示全部楼层
学习
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|万由科技 ( 浙ICP备10004788号-13 )

GMT+8, 2024-4-23 23:34 , Processed in 0.062643 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表