I have a NAS running 24X7. The transmission software is also running 24×7. Basically I use the Transmission WEB control web interface to add torrent seed and download the files.

Here is how it looks.

Transmission WEB Control panel

There is no active download now. So the list is empty.

Here is a guide to upgrading Transmission WEB Control, not Transmission itself.

Normally I saw the notice about the new update available.

Notice of update

Then I go to the NAS with a terminal window through putty.

First, get the root.

su

The root password is yutech for U-NAS system.

Second, to get the installation script.

wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh

The English version script is install-tr-control.sh

Third, rung the installation script.

bash install-tr-control-cn.sh

It will prompt. I choose 1 to install the latest version.  A few seconds later, it is done. Go back to the browser, it is already the latest version.

Please see the following output from the terminal.

root@U-NAS:~# wget https://github.com/ronggang/transmission-web-control/raw/mast er/release/install-tr-control-cn.sh
--2020-09-25 14:52:27-- https://github.com/ronggang/transmission-web-control/ra w/master/release/install-tr-control-cn.sh
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/ronggang/transmission-web-control/ma ster/release/install-tr-control-cn.sh [following]
--2020-09-25 14:52:27-- https://raw.githubusercontent.com/ronggang/transmission -web-control/master/release/install-tr-control-cn.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.52.13 3
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.52.1 33|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13528 (13K) [text/plain]
Saving to: ‘install-tr-control-cn.sh’

install-tr-control- 100%[=====================>] 13.21K --.-KB/s in 0.01s

2020-09-25 14:52:27 (1.04 MB/s) - ‘install-tr-control-cn.sh’ saved [13528/13528]

root@U-NAS:~# bash install-tr-control-cn.sh
/usr/bin/whoami

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

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

请输入对应的数字:1

--2020-09-25 14:52:50-- https://api.github.com/repos/ronggang/transmission-web-control/releases/latest
Resolving api.github.com (api.github.com)... 192.30.255.116
Connecting to api.github.com (api.github.com)|192.30.255.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5611 (5.5K) [application/json]
Saving to: ‘STDOUT’

- 100%[====================================================================================================================>] 5.48K --.-KB/s in 0.001s

2020-09-25 14:52:51 (7.26 MB/s) - written to stdout [5611/5611]

<< 2020-09-25 14:52:51 >> == 开始 ==
<< 2020-09-25 14:52:51 >>
<< 2020-09-25 14:52:51 >> 当前 Transmission Web 目录为: /usr/share/transmission/web
<< 2020-09-25 14:52:51 >> 您正在使用指定版本安装,版本: 1.6.1-update1
<< 2020-09-25 14:52:51 >> 正在尝试指定版本 1.6.1-update1
<< 2020-09-25 14:52:51 >> 正在下载 Transmission Web Control...

--2020-09-25 14:52:51-- https://github.com/ronggang/transmission-web-control/archive/v1.6.1-update1.tar.gz
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ronggang/transmission-web-control/tar.gz/v1.6.1-update1 [following]
--2020-09-25 14:52:51-- https://codeload.github.com/ronggang/transmission-web-control/tar.gz/v1.6.1-update1
Resolving codeload.github.com (codeload.github.com)... 192.30.255.120
Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v1.6.1-update1.tar.gz’

v1.6.1-update1.tar.gz [ <=> ] 1.15M 5.93MB/s in 0.2s

2020-09-25 14:52:51 (5.93 MB/s) - ‘v1.6.1-update1.tar.gz’ saved [1206252]

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

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

Your email address will not be published. Required fields are marked *