Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.5.5 安装的QB 总是无法启动 #165

Open
tanpengsccd opened this issue Aug 30, 2022 · 30 comments
Open

1.5.5 安装的QB 总是无法启动 #165

tanpengsccd opened this issue Aug 30, 2022 · 30 comments

Comments

@tanpengsccd
Copy link

image

image

我测试过2台机子 1.5.5 都是如此

请问我如何提供日志

@tautcony
Copy link
Collaborator

qb-lite的安装日志在:/root/quickbox.$PPID.log

安装应用日志在:/srv/dashboard/db/output.log

@tanpengsccd
Copy link
Author

安装APP 日志

# cat /srv/dashboard/db/output.log

qBittorrent will now be installed.

This process may take a few minutes
Please wait until the process is completed

>> Info: Checking and performing updates to system...
>> Success: System updated.
>> Info: Building qBittorrent...
>> Info: Fetching package list...
>> Warning: Use Libtorrent 1.2.14 for 4.3.x
>> Info: Fetching package list...
>> Success: qBittorrent Built.
>> Info: Configuring qBittorrent...
>> Info: Building libqbpasswd ...
Cloning into 'libqbpasswd'...
g++ -Wall -std=c++11 -Ofast -c base64.cpp
g++ -Wall -std=c++11 -Ofast -c password.cpp
g++ -Wall -std=c++11 -Ofast -c random.cpp
g++ -Wall -std=c++11 -Ofast -c main.cpp
g++ -Wall -std=c++11 -Ofast -o qb_password_gen base64.o random.o password.o main.o -lssl -lcrypto -s
rm *.o
>> Success: qBittorrent configured.
>> Info: Configuring qBittorrent lock...
>> Success: qBittorrent lock configured.
>> Info: Starting qBittorrent...
Created symlink /etc/systemd/system/multi-user.target.wants/[email protected] → /etc/systemd/system/[email protected].
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to localhost port 15185: Connection refused
>> Success: qBittorrent started.
qBittorrent Install Complete!

@tautcony
Copy link
Collaborator

检查一下命令systemctl status qbittorrent@tanpengsccd的输出,看日志qb启动失败了。

然后可以手动启动一下qb看下具体输出/usr/local/bin/qbittorrent-nox

@tanpengsccd
Copy link
Author

[email protected] - qBittorrent Daemon Service
     Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: inactive (dead) since Mon 2022-08-29 22:58:27 EDT; 24s ago
    Process: 4829 ExecStart=/usr/local/bin/qbittorrent-nox -d (code=exited, status=0/SUCCESS)
    Process: 4832 ExecStop=/usr/bin/killall -w -s 9 /usr/local/bin/qbittorrent-nox (code=exited, status=0/SUCCESS)
   Main PID: 4830 (code=exited, status=0/SUCCESS)
        CPU: 56ms

Aug 29 22:58:25 cc.h6.work systemd[1]: Starting qBittorrent Daemon Service...
Aug 29 22:58:25 cc.h6.work systemd[1]: Started qBittorrent Daemon Service.
Aug 29 22:58:27 cc.h6.work systemd[1]: [email protected]: Succeeded.

image

@tautcony
Copy link
Collaborator

程序挂的现场并没有留存下来,先重启一下qbsystemctl restart qbittorrent@tanpengsccd,再重新查看一下状态systemctl status qbittorrent@tanpengsccd

@tanpengsccd
Copy link
Author

还是没信息
image

@tautcony
Copy link
Collaborator

tautcony commented Aug 30, 2022

那有点奇怪了,看着安装过程没有报错,等EFS上线再看一下吧。你可以先提供一下系统信息。

@amefs
Copy link
Owner

amefs commented Aug 30, 2022

我建议你在用户权限下运行 qbittorrent-nox 启动一个非 daemon 的进程观察一下行为。此外你可以在 ~/.local/share/qBittorrent/logs/qbittorrent.log 找到一些启动日志(同样需要用户权限)。

@tanpengsccd
Copy link
Author

确实在用户权限 下可以 运行起来

@tanpengsccd
Copy link
Author

image

@amefs
Copy link
Owner

amefs commented Aug 30, 2022

请你注意对比一下 ~/.local/share/qBittorrent/logs/qbittorrent.log 出现的内容,分别通过用户权限运行 qbittorrent-nox 以及 qbittorrent-nox -d。这个情况的确比较罕见。如果日志中还是没有头绪的话,我建议尝试换个版本:box update qbittorrent --qb 4.4.2,或许可以解决问题。

@huyuy77
Copy link

huyuy77 commented Oct 5, 2022

root下 手动启动 qbittorrent-nox -d 没任何问题。但system启动报错了 一样的

@tanpengsccd
Copy link
Author

root下 手动启动 qbittorrent-nox -d 没任何问题。但system启动报错了 一样的

我也是

@amefs
Copy link
Owner

amefs commented Oct 5, 2022

麻烦提供一下系统版本,安装的 qBittorrent 版本信息。

@lengdong863
Copy link

lengdong863 commented Dec 21, 2022

我这边也没有办法启动qb。
QuickBox V1.5.6
qBittorrent 版本:QuickBox V1.5.6自带的版本。

同时,deluge也无法启动。

@amefs
Copy link
Owner

amefs commented Dec 21, 2022

请你提供 journalctl -u qbittorrent@你的用户名journalctl -u deluged@你的用户名,以及你的系统版本信息。

@lengdong863
Copy link

lengdong863 commented Dec 21, 2022

journalctl -u qbittorrent@XXXXX

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
-- No entries --
-------------------------------------------------------------------------------------------------------------

journalctl -u deluged@XXXXX

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
Dec 21 06:50:57 66.23.234.43 deluged[58450]: Traceback (most recent call last):
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/bin/deluged", line 33, in <module>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_s>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from deluge.core.daemon import is_daemon_running
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from deluge.core.core import Core
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/lib/python3/dist-packages/deluge/core/core.p>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from twisted.web.client import Agent, readBody
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/local/lib/python3.10/dist-packages/twisted/w>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from twisted.internet.endpoints import HostnameEndpoi>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/local/lib/python3.10/dist-packages/twisted/i>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from twisted.python.systemd import ListenFDs
Dec 21 06:50:58 66.23.234.43 deluged[58450]:   File "/usr/local/lib/python3.10/dist-packages/twisted/p>
Dec 21 06:50:58 66.23.234.43 deluged[58450]:     from attrs import Factory, define
Dec 21 06:50:58 66.23.234.43 deluged[58450]: ModuleNotFoundError: No module named 'attrs'
Dec 21 06:51:00 66.23.234.43 deluged[58495]: Traceback (most recent call last):
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/bin/deluged", line 33, in <module>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_s>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from deluge.core.daemon import is_daemon_running
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from deluge.core.core import Core
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/lib/python3/dist-packages/deluge/core/core.p>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from twisted.web.client import Agent, readBody
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/local/lib/python3.10/dist-packages/twisted/w>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from twisted.internet.endpoints import HostnameEndpoi>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/local/lib/python3.10/dist-packages/twisted/i>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from twisted.python.systemd import ListenFDs
Dec 21 06:51:00 66.23.234.43 deluged[58495]:   File "/usr/local/lib/python3.10/dist-packages/twisted/p>
Dec 21 06:51:00 66.23.234.43 deluged[58495]:     from attrs import Factory, define
Dec 21 06:51:00 66.23.234.43 deluged[58495]: ModuleNotFoundError: No module named 'attrs'
Dec 21 06:51:02 66.23.234.43 deluged[58503]: Traceback (most recent call last):
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/bin/deluged", line 33, in <module>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:     sys.exit(load_entry_point('deluge==2.0.3', 'console_s>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:     from deluge.core.daemon import is_daemon_running
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:     from deluge.core.core import Core
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/lib/python3/dist-packages/deluge/core/core.p>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:     from twisted.web.client import Agent, readBody
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/local/lib/python3.10/dist-packages/twisted/w>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:     from twisted.internet.endpoints import HostnameEndpoi>
Dec 21 06:51:02 66.23.234.43 deluged[58503]:   File "/usr/local/lib/python3.10/dist-packages/twisted/i>
lines 1-44

系统版本信息:ubuntu-22.04 64bit

@amefs
Copy link
Owner

amefs commented Dec 21, 2022

qBittorrent 不能确定问题原因,请你卸载qbittorrent后使用命令行重新安装一下 qbittorrent box install qbittorrent。如果无法开启再将 /srv/dashboard/db/output.log 截取相关内容。Deluge 似乎是 twisted[TLS] 有修改了代码,造成安装 attrs 模块异常。可以 root 下运行 python3 -m pip install -U attrs 修复。

@lengdong863
Copy link

lengdong863 commented Dec 22, 2022

用命令行重新安装后,还是不能用。

用代码 cat /srv/dashboard/db/output.log 查看,结果如下:

Log

>> Success: QuickBox local repository updated
>> Info: Adjust file permission...
>> Success: file permission updated
>> Info: Updating bashrc...
>> Success: bashrc updated
>> Info: Updating skel...
sending incremental file list
./
.bash_logout
            220 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=2/4)
.bashrc
          4,484 100%    4.28MB/s    0:00:00 (xfr#2, to-chk=1/4)
.profile
          1,151 100%    1.10MB/s    0:00:00 (xfr#3, to-chk=0/4)
>> Success: skel updated
>> Info: Updating QuickBox service...
>> Info: Upgrade nodejs to v14
>> Info: Reconfig Dashboard service...
npm WARN prepare removing existing node_modules/ before installation

> [email protected] install /etc/QuickBox/setup/dashboard/ws/node_modules/utf-8-validate
> node-gyp-build


> [email protected] install /etc/QuickBox/setup/dashboard/ws/node_modules/bufferutil
> node-gyp-build

added 92 packages in 4.163s
>> Success: Dashboard service updated
>> Info: ttyd current version: 1.7.2, latest version: 1.7.2
>> Info: Updating QuickBox dashboard...
sending incremental file list
README.md
            373 100%    0.00kB/s    0:00:00 (xfr#1, ir-chk=1020/1021)
index.php
          8,063 100%    7.69MB/s    0:00:00 (xfr#2, ir-chk=1019/1021)
package-lock.json
        132,713 100%   25.31MB/s    0:00:00 (xfr#3, ir-chk=1018/1021)
package.json
          1,051 100%  205.27kB/s    0:00:00 (xfr#4, ir-chk=1017/1021)
deleting skins/resources.svg
deleting skins/quick.css
deleting skins/filters.svg
custom/
custom/.gitignore
            121 100%    0.70kB/s    0:00:00 (xfr#5, ir-chk=1004/1021)
db/
db/.gitignore
            159 100%    0.92kB/s    0:00:00 (xfr#6, ir-chk=1003/1021)
db/branding-l.php
            158 100%    0.92kB/s    0:00:00 (xfr#7, ir-chk=1002/1021)
db/branding-m.php
            844 100%    4.91kB/s    0:00:00 (xfr#8, ir-chk=1001/1021)
db/locale.php
            103 100%    0.60kB/s    0:00:00 (xfr#9, ir-chk=1000/1021)
fileshare/
fileshare/.gitkeep
              0 100%    0.00kB/s    0:00:00 (xfr#10, ir-chk=1000/1022)
fonts/
fonts/glyphicons-halflings-regular.svg
        108,738 100%  628.34kB/s    0:00:00 (xfr#11, ir-chk=1004/1028)
img/
img/brands/
img/favicon/
img/favicon/browserconfig.xml
            246 100%    1.42kB/s    0:00:00 (xfr#12, ir-chk=1008/1062)
img/favicon/manifest.json
            411 100%    2.37kB/s    0:00:00 (xfr#13, ir-chk=1004/1062)
img/favicon/safari-pinned-tab.svg
          1,298 100%    7.50kB/s    0:00:00 (xfr#14, ir-chk=1002/1062)
img/themes/
inc/
inc/config.php
          1,179 100%    6.77kB/s    0:00:00 (xfr#15, ir-chk=1015/1078)
inc/info.bw_page.php
            259 100%    1.49kB/s    0:00:00 (xfr#16, ir-chk=1014/1078)
inc/info.lang.php
            524 100%    3.01kB/s    0:00:00 (xfr#17, ir-chk=1013/1078)
inc/info.package.php
         21,970 100%  118.54kB/s    0:00:00 (xfr#18, ir-chk=1012/1078)
inc/info.plugin.php
          1,402 100%    7.56kB/s    0:00:00 (xfr#19, ir-chk=1011/1078)
inc/info.system.php
          4,178 100%   22.54kB/s    0:00:00 (xfr#20, ir-chk=1010/1078)
inc/info.theme.php
            455 100%    2.45kB/s    0:00:00 (xfr#21, ir-chk=1009/1078)
inc/localize.php
          1,023 100%    5.52kB/s    0:00:00 (xfr#22, ir-chk=1008/1078)
inc/panel.app_service.ws.js
          3,527 100%   19.03kB/s    0:00:00 (xfr#23, ir-chk=1007/1078)
inc/panel.app_status.ws.js
          9,455 100%   51.01kB/s    0:00:00 (xfr#24, ir-chk=1006/1078)
inc/panel.end.php
             99 100%    0.53kB/s    0:00:00 (xfr#25, ir-chk=1005/1078)
inc/panel.header.php
          2,611 100%   14.01kB/s    0:00:00 (xfr#26, ir-chk=1004/1078)
inc/panel.menu.php
         15,656 100%   84.01kB/s    0:00:00 (xfr#27, ir-chk=1003/1078)
inc/panel.scripts.php
         11,955 100%   64.15kB/s    0:00:00 (xfr#28, ir-chk=1002/1078)
inc/util.php
          6,122 100%   32.85kB/s    0:00:00 (xfr#29, ir-chk=1001/1078)
js/
js/quick.js
          7,688 100%   41.25kB/s    0:00:00 (xfr#30, ir-chk=1000/1078)
lang/
lang/lang_da.json
         20,461 100%  109.79kB/s    0:00:00 (xfr#31, ir-chk=1005/1090)
lang/lang_de.json
         22,110 100%  101.85kB/s    0:00:00 (xfr#32, ir-chk=1004/1090)
lang/lang_en.json
         19,074 100%   87.86kB/s    0:00:00 (xfr#33, ir-chk=1003/1090)
lang/lang_es.json
         21,149 100%   97.42kB/s    0:00:00 (xfr#34, ir-chk=1002/1090)
lang/lang_fr.json
         21,691 100%   99.45kB/s    0:00:00 (xfr#35, ir-chk=1001/1090)
lang/lang_zh-Hans-CN.json
         17,286 100%   79.25kB/s    0:00:00 (xfr#36, ir-chk=1000/1090)
lib/
lib/animate.css/
lib/animate.css/animate.min.css
         58,129 100%  203.46kB/s    0:00:00 (xfr#37, ir-chk=1001/1111)
lib/ansi_up/
lib/bootbox/
lib/bootbox/bootbox.all.min.js
         18,010 100%   62.81kB/s    0:00:00 (xfr#38, ir-chk=1003/1115)
lib/bootbox/bootbox.locales.min.js
          3,197 100%   11.15kB/s    0:00:00 (xfr#39, ir-chk=1002/1115)
lib/bootbox/bootbox.min.js
         15,808 100%   55.13kB/s    0:00:00 (xfr#40, ir-chk=1001/1115)
lib/bootstrap/
lib/bootstrap/js/
lib/bootstrap/js/bootstrap.min.js
         39,680 100%  137.90kB/s    0:00:00 (xfr#41, ir-chk=1003/1119)
lib/datatables/
lib/datatables/css/
lib/datatables/css/dataTables.bootstrap.min.css
          4,292 100%   14.92kB/s    0:00:00 (xfr#42, ir-chk=1003/1123)
lib/datatables/css/jquery.dataTables.min.css
         13,900 100%   48.31kB/s    0:00:00 (xfr#43, ir-chk=1002/1123)
lib/datatables/images/
lib/datatables/js/
lib/datatables/js/dataTables.bootstrap.min.js
          1,966 100%    6.83kB/s    0:00:00 (xfr#44, ir-chk=1003/1130)
lib/datatables/js/jquery.dataTables.min.js
         82,401 100%  284.35kB/s    0:00:00 (xfr#45, ir-chk=1002/1130)
lib/font-awesome/
lib/font-awesome/css/
lib/font-awesome/css/font-awesome.min.css
         31,018 100%  107.04kB/s    0:00:00 (xfr#46, ir-chk=1007/1138)
lib/font-awesome/fonts/
lib/font-awesome/fonts/fontawesome-webfont.svg
        444,379 100%    1.48MB/s    0:00:00 (xfr#47, ir-chk=1004/1138)
lib/hover.css/
lib/hover.css/hover-min.css
         95,282 100%  324.21kB/s    0:00:00 (xfr#48, ir-chk=1000/1138)
lib/ionicons/
lib/ionicons/css/
lib/ionicons/css/ionicons.css
         51,274 100%  173.86kB/s    0:00:00 (xfr#49, ir-chk=1013/1154)
lib/ionicons/fonts/
lib/ionicons/fonts/ionicons.svg
        333,834 100%    1.10MB/s    0:00:00 (xfr#50, ir-chk=1011/1154)
lib/jquery-gritter/
lib/jquery-gritter/css/
lib/jquery-gritter/css/jquery.gritter.css
          1,605 100%    5.40kB/s    0:00:00 (xfr#51, ir-chk=1005/1154)
lib/jquery-gritter/images/
lib/jquery-gritter/js/
lib/jquery-gritter/js/jquery.gritter.min.js
          4,312 100%   14.52kB/s    0:00:00 (xfr#52, ir-chk=1000/1154)
lib/jquery-toggles/
lib/jquery-toggles/toggles-full.css
          5,668 100%   19.09kB/s    0:00:00 (xfr#53, ir-chk=1001/1156)
lib/jquery-toggles/toggles.min.js
          2,398 100%    8.08kB/s    0:00:00 (xfr#54, ir-chk=1000/1156)
lib/jquery-ui-touch-punch/
lib/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js
          1,291 100%    4.35kB/s    0:00:00 (xfr#55, ir-chk=1003/1160)
lib/jquery-ui/
lib/jquery-ui/jquery-ui.min.css
         32,130 100%  107.82kB/s    0:00:00 (xfr#56, ir-chk=1002/1160)
lib/jquery-ui/jquery-ui.min.js
        255,084 100%  785.82kB/s    0:00:00 (xfr#57, ir-chk=1001/1160)
lib/jquery-ui/images/
lib/jquery/
lib/jquery/jquery.min.js
         89,476 100%  274.78kB/s    0:00:00 (xfr#58, ir-chk=1001/1168)
lib/lazysizes/
lib/lazysizes/lazysizes.min.js
          7,889 100%   24.23kB/s    0:00:00 (xfr#59, ir-chk=1000/1168)
lib/lobipanel/
lib/lobipanel/css/
lib/lobipanel/css/lobipanel.min.css
         14,156 100%   43.47kB/s    0:00:00 (xfr#60, ir-chk=1003/1174)
lib/lobipanel/js/
lib/lobipanel/js/lobipanel.min.js
         30,406 100%   93.38kB/s    0:00:00 (xfr#61, ir-chk=1002/1174)
lib/perfect-scrollbar/
lib/perfect-scrollbar/css/
lib/perfect-scrollbar/css/perfect-scrollbar.min.css
          4,412 100%   13.51kB/s    0:00:00 (xfr#62, ir-chk=1004/1179)
lib/perfect-scrollbar/js/
lib/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js
         24,719 100%   75.67kB/s    0:00:00 (xfr#63, ir-chk=1003/1179)
lib/perfect-scrollbar/js/perfect-scrollbar.min.js
         24,398 100%   74.69kB/s    0:00:00 (xfr#64, ir-chk=1002/1179)
lib/select2/
lib/select2/select2.min.css
         14,966 100%   45.82kB/s    0:00:00 (xfr#65, ir-chk=1001/1179)
lib/select2/select2.min.js
         70,851 100%  215.55kB/s    0:00:00 (xfr#66, ir-chk=1000/1179)
lib/socket.io/
lib/socket.io/socket.io.min.js
         43,581 100%  132.17kB/s    0:00:00 (xfr#67, ir-chk=1004/1184)
lib/visibility/
lib/visibility/visibility.core.js
          1,173 100%    3.56kB/s    0:00:00 (xfr#68, ir-chk=1003/1184)
lib/visibility/visibility.fallback.js
            586 100%    1.78kB/s    0:00:00 (xfr#69, ir-chk=1002/1184)
lib/visibility/visibility.timers.js
          1,110 100%    3.37kB/s    0:00:00 (xfr#70, ir-chk=1001/1184)
skins/
skins/.gitignore
            149 100%    0.45kB/s    0:00:00 (xfr#71, ir-chk=1000/1184)
widgets/
widgets/bw_tables.php
          4,666 100%   14.02kB/s    0:00:00 (xfr#72, ir-chk=1012/1197)
widgets/disk_data.php
          4,543 100%   13.65kB/s    0:00:00 (xfr#73, ir-chk=1011/1197)
widgets/load.php
            146 100%    0.44kB/s    0:00:00 (xfr#74, ir-chk=1010/1197)
widgets/net_status.php
            330 100%    0.99kB/s    0:00:00 (xfr#75, ir-chk=1009/1197)
widgets/pmc.php
          3,196 100%    9.60kB/s    0:00:00 (xfr#76, ir-chk=1008/1197)
widgets/ram_stats.php
          5,496 100%   16.41kB/s    0:00:00 (xfr#77, ir-chk=1007/1197)
widgets/service_control.php
          2,887 100%    8.60kB/s    0:00:00 (xfr#78, ir-chk=1006/1197)
widgets/service_status.php
            949 100%    2.83kB/s    0:00:00 (xfr#79, ir-chk=1005/1197)
widgets/up.php
            548 100%    1.63kB/s    0:00:00 (xfr#80, ir-chk=1004/1197)
widgets/vnstat.php
          8,652 100%   25.76kB/s    0:00:00 (xfr#81, ir-chk=1003/1197)
ws/
ws/.eslintrc.js
          6,044 100%   17.99kB/s    0:00:00 (xfr#82, ir-chk=1011/1206)
ws/.gitignore
          1,890 100%    5.63kB/s    0:00:00 (xfr#83, ir-chk=1010/1206)
ws/commands.json
          2,126 100%    6.33kB/s    0:00:00 (xfr#84, ir-chk=1009/1206)
ws/package-lock.json
        323,319 100%  744.67kB/s    0:00:00 (xfr#85, ir-chk=1008/1206)
ws/package.json
          1,615 100%    3.72kB/s    0:00:00 (xfr#86, ir-chk=1007/1206)
ws/quickbox-ws.service
            311 100%    0.72kB/s    0:00:00 (xfr#87, ir-chk=1006/1206)
ws/tsconfig.json
            761 100%    1.75kB/s    0:00:00 (xfr#88, ir-chk=1005/1206)
ws/build/
ws/build/webpack.config.js
          1,490 100%    3.43kB/s    0:00:00 (xfr#89, ir-chk=1004/1211)
ws/dist/
ws/dist/server.js
          6,245 100%   14.38kB/s    0:00:00 (xfr#90, ir-chk=1003/1211)
ws/node_modules/
ws/node_modules/.bin/
ws/node_modules/@socket.io/
ws/node_modules/@socket.io/base64-arraybuffer/
ws/node_modules/@socket.io/base64-arraybuffer/dist/
ws/node_modules/@socket.io/base64-arraybuffer/dist/lib/
ws/node_modules/@socket.io/base64-arraybuffer/dist/types/
ws/node_modules/@socket.io/base64-arraybuffer/src/
ws/node_modules/@types/
ws/node_modules/@types/component-emitter/
ws/node_modules/@types/cookie/
ws/node_modules/@types/cors/
ws/node_modules/@types/node/
ws/node_modules/@types/node/assert/
ws/node_modules/@types/node/dns/
ws/node_modules/@types/node/fs/
ws/node_modules/@types/node/stream/
ws/node_modules/@types/node/timers/
ws/node_modules/accepts/
ws/node_modules/accepts/node_modules/
ws/node_modules/accepts/node_modules/mime-db/
ws/node_modules/accepts/node_modules/mime-types/
ws/node_modules/array-flatten/
ws/node_modules/asynckit/
ws/node_modules/asynckit/lib/
ws/node_modules/axios/
ws/node_modules/axios/dist/
ws/node_modules/axios/lib/
ws/node_modules/axios/lib/adapters/
ws/node_modules/axios/lib/cancel/
ws/node_modules/axios/lib/core/
ws/node_modules/axios/lib/defaults/
ws/node_modules/axios/lib/defaults/env/
ws/node_modules/axios/lib/env/
ws/node_modules/axios/lib/helpers/
ws/node_modules/base64id/
ws/node_modules/base64id/lib/
ws/node_modules/body-parser/
ws/node_modules/body-parser/lib/
ws/node_modules/body-parser/lib/types/
ws/node_modules/bufferutil/
ws/node_modules/bufferutil/prebuilds/
ws/node_modules/bufferutil/prebuilds/darwin-x64+arm64/
ws/node_modules/bufferutil/prebuilds/linux-x64/
ws/node_modules/bufferutil/prebuilds/win32-ia32/
ws/node_modules/bufferutil/prebuilds/win32-x64/
ws/node_modules/bufferutil/src/
ws/node_modules/bytes/
ws/node_modules/call-bind/
ws/node_modules/call-bind/.github/
ws/node_modules/call-bind/test/
ws/node_modules/combined-stream/
ws/node_modules/combined-stream/lib/
ws/node_modules/component-emitter/
ws/node_modules/content-disposition/
ws/node_modules/content-disposition/node_modules/
ws/node_modules/content-disposition/node_modules/safe-buffer/
ws/node_modules/content-type/
ws/node_modules/cookie-signature/
ws/node_modules/cookie/
ws/node_modules/cors/
ws/node_modules/cors/lib/
ws/node_modules/debug/
ws/node_modules/debug/src/
ws/node_modules/delayed-stream/
ws/node_modules/delayed-stream/lib/
ws/node_modules/depd/
ws/node_modules/depd/lib/
ws/node_modules/depd/lib/browser/
ws/node_modules/destroy/
ws/node_modules/ee-first/
ws/node_modules/encodeurl/
ws/node_modules/engine.io-parser/
ws/node_modules/engine.io-parser/build/
ws/node_modules/engine.io-parser/build/cjs/
ws/node_modules/engine.io-parser/build/esm/
ws/node_modules/engine.io/
ws/node_modules/engine.io/build/
ws/node_modules/engine.io/build/parser-v3/
ws/node_modules/engine.io/build/transports-uws/
ws/node_modules/engine.io/build/transports/
ws/node_modules/engine.io/node_modules/
ws/node_modules/engine.io/node_modules/cookie/
ws/node_modules/engine.io/node_modules/debug/
ws/node_modules/engine.io/node_modules/debug/src/
ws/node_modules/engine.io/node_modules/ms/
ws/node_modules/engine.io/node_modules/ws/
ws/node_modules/engine.io/node_modules/ws/lib/
ws/node_modules/escape-html/
ws/node_modules/etag/
ws/node_modules/express/
ws/node_modules/express/lib/
ws/node_modules/express/lib/middleware/
ws/node_modules/express/lib/router/
ws/node_modules/finalhandler/
ws/node_modules/follow-redirects/
ws/node_modules/form-data/
ws/node_modules/form-data/lib/
ws/node_modules/forwarded/
ws/node_modules/fresh/
ws/node_modules/function-bind/
ws/node_modules/function-bind/test/
ws/node_modules/get-intrinsic/
ws/node_modules/get-intrinsic/.github/
ws/node_modules/get-intrinsic/test/
ws/node_modules/has-symbols/
ws/node_modules/has-symbols/.github/
ws/node_modules/has-symbols/test/
ws/node_modules/has-symbols/test/shams/
ws/node_modules/has/
ws/node_modules/has/src/
ws/node_modules/has/test/
ws/node_modules/http-errors/
ws/node_modules/iconv-lite/
ws/node_modules/iconv-lite/encodings/
ws/node_modules/iconv-lite/encodings/tables/
ws/node_modules/iconv-lite/lib/
ws/node_modules/inherits/
ws/node_modules/ipaddr.js/
ws/node_modules/ipaddr.js/lib/
ws/node_modules/media-typer/
ws/node_modules/merge-descriptors/
ws/node_modules/methods/
ws/node_modules/mime-db/
ws/node_modules/mime-types/
ws/node_modules/mime/
ws/node_modules/mime/src/
ws/node_modules/ms/
ws/node_modules/negotiator/
ws/node_modules/negotiator/lib/
ws/node_modules/node-gyp-build/
ws/node_modules/object-assign/
ws/node_modules/object-inspect/
ws/node_modules/object-inspect/.github/
ws/node_modules/object-inspect/example/
ws/node_modules/object-inspect/test/
ws/node_modules/object-inspect/test/browser/
ws/node_modules/on-finished/
ws/node_modules/parseurl/
ws/node_modules/path-to-regexp/
ws/node_modules/proxy-addr/
ws/node_modules/qs/
ws/node_modules/qs/.github/
ws/node_modules/qs/dist/
ws/node_modules/qs/lib/
ws/node_modules/qs/test/
ws/node_modules/range-parser/
ws/node_modules/raw-body/
ws/node_modules/safe-buffer/
ws/node_modules/safer-buffer/
ws/node_modules/send/
ws/node_modules/send/node_modules/
ws/node_modules/send/node_modules/ms/
ws/node_modules/serve-static/
ws/node_modules/setprototypeof/
ws/node_modules/setprototypeof/test/
ws/node_modules/side-channel/
ws/node_modules/side-channel/.github/
ws/node_modules/side-channel/test/
ws/node_modules/socket.io-adapter/
ws/node_modules/socket.io-adapter/dist/
ws/node_modules/socket.io-parser/
ws/node_modules/socket.io-parser/dist/
ws/node_modules/socket.io-parser/node_modules/
ws/node_modules/socket.io-parser/node_modules/debug/
ws/node_modules/socket.io-parser/node_modules/debug/src/
ws/node_modules/socket.io-parser/node_modules/ms/
ws/node_modules/socket.io/
ws/node_modules/socket.io/client-dist/
ws/node_modules/socket.io/dist/
ws/node_modules/socket.io/node_modules/
ws/node_modules/socket.io/node_modules/debug/
ws/node_modules/socket.io/node_modules/debug/src/
ws/node_modules/socket.io/node_modules/ms/
ws/node_modules/statuses/
ws/node_modules/toidentifier/
ws/node_modules/type-is/
ws/node_modules/unpipe/
ws/node_modules/utf-8-validate/
ws/node_modules/utf-8-validate/prebuilds/
ws/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/
ws/node_modules/utf-8-validate/prebuilds/linux-x64/
ws/node_modules/utf-8-validate/prebuilds/win32-ia32/
ws/node_modules/utf-8-validate/prebuilds/win32-x64/
ws/node_modules/utf-8-validate/src/
ws/node_modules/utils-merge/
ws/node_modules/vary/
ws/node_modules/ws/
ws/node_modules/ws/lib/
ws/src/
ws/src/constant.ts
            420 100%    0.93kB/s    0:00:00 (xfr#91, to-chk=11/1248)
ws/src/server.ts
            864 100%    1.91kB/s    0:00:00 (xfr#92, to-chk=10/1248)
ws/src/watchedConfig.ts
            974 100%    2.16kB/s    0:00:00 (xfr#93, to-chk=9/1248)
ws/src/handler/
ws/src/handler/exec.ts
          2,370 100%    5.25kB/s    0:00:00 (xfr#94, to-chk=7/1248)
ws/src/handler/log.ts
            594 100%    1.32kB/s    0:00:00 (xfr#95, to-chk=6/1248)
ws/src/handler/message.ts
          1,621 100%    3.58kB/s    0:00:00 (xfr#96, to-chk=5/1248)
ws/src/handler/utils/
ws/src/handler/utils/command.ts
          3,430 100%    7.58kB/s    0:00:00 (xfr#97, to-chk=3/1248)
ws/tests/
ws/tests/client.js
            785 100%    1.73kB/s    0:00:00 (xfr#98, to-chk=2/1248)
ws/tests/command.ts
          3,585 100%    7.92kB/s    0:00:00 (xfr#99, to-chk=1/1248)
ws/tests/test-server.js
            878 100%    1.94kB/s    0:00:00 (xfr#100, to-chk=0/1248)
>> Success: QuickBox dashboard updated
>> Info: Updating QuickBox language...
>> Success: QuickBox language updated
warning: commands will be executed using /bin/sh
job 5 at Thu Dec 22 05:01:00 2022
>> Success: QuickBox update finished!

[QuickBox] Seedbox & GUI Update Completed ! 


Close this dialog box to refresh your browser
warning: commands will be executed using /bin/sh
job 6 at Thu Dec 22 05:01:00 2022

并无涉及到qb的相关代码。


Deluge 在运行了您提供的代码后,成功修复了。

@amefs
Copy link
Owner

amefs commented Dec 22, 2022

日志中只有更新 quickbox 的相关信息,你可以按如下步骤运行:

box update quickbox
box clean log
box remove qbittorrrent
box install qbittorrent

如果运行成功,那么你应当可以在 Log 中找到 qbittorrent 的卸载和安装的相关信息。

@lengdong863
Copy link

lengdong863 commented Dec 22, 2022

按照上面的步骤完成了,显示了安装成功。
但是还是不能打开。
显示:
502 Bad Gateway
nginx


下面是log

[23:30 root@XXX] > cat /srv/dashboard/db/output.log
>> Error: qBittorrent haven't installed ...

qBittorrent will now be installed.

This process may take a few minutes
Please wait until the process is completed

>> Info: Checking and performing updates to system... 
>> Success: System updated.
>> Info: Building qBittorrent...
>> Info: Fetching package list...
>> Warning: Use Libtorrent 1.2.14 for 4.3.x
>> Info: Fetching package list...
>> Success: qBittorrent Built.
>> Info: Configuring qBittorrent...
>> Info: Building libqbpasswd ... 
Cloning into 'libqbpasswd'...
g++ -Wall -std=c++11 -Ofast -c base64.cpp
g++ -Wall -std=c++11 -Ofast -c password.cpp 
g++ -Wall -std=c++11 -Ofast -c random.cpp 
g++ -Wall -std=c++11 -Ofast -c main.cpp
g++ -Wall -std=c++11 -Ofast -o qb_password_gen base64.o random.o password.o main.o -lssl -lcrypto -s
rm *.o
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/ssl/certs/ssl-cert-snakeoil.pem"
>> Success: qBittorrent configured.
>> Info: Configuring qBittorrent lock...
>> Success: qBittorrent lock configured.
>> Info: Starting qBittorrent...
Created symlink /etc/systemd/system/multi-user.target.wants/qbittorrent@用户名.service → /etc/systemd/system/[email protected].
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to localhost port 15169 after 1 ms: Connection refused
>> Success: qBittorrent started.
qBittorrent Install Complete!


Close this dialog box to refresh your browser

@amefs
Copy link
Owner

amefs commented Dec 23, 2022

请你运行 which qbittorrent-nox 确认 binary 的位置。若存在该 binary 则运行 qbittorrent-nox --version

@lengdong863
Copy link

lengdong863 commented Dec 23, 2022

which qbittorrent-nox
/usr/local/bin/qbittorrent-nox

qbittorrent-nox --version
qBittorrent v4.3.9

但是我,直接运行 find qbittorrent-nox
得到的结果是:

find: ‘qbittorrent-nox’: No such file or directory

@amefs
Copy link
Owner

amefs commented Dec 23, 2022

ok,上述指令说明 binary 已经正确下载并可以运行。那么请你运行

systemctl start qbittorrent@你的用户名
systemctl status qbittorrent@你的用户名
journalctl -u qbittorrent@你的用户名

以此查看通过 systemd 启动软件有什么问题。

tips:
你可以看一下你运行的是什么意思,该指令在不指定 path 的时候仅对当前目录生效

@lengdong863
Copy link

lengdong863 commented Dec 23, 2022

[用户名@XXXX]:(1.0kb)$ systemctl start qbittorrent@用户名
Failed to start qbittorrent@用户名.service: Interactive authentication required.
See system logs and 'systemctl status qbittorrent@用户名.service' for details.
[用户名@XXXX]:(1.0kb)$ systemctl status qbittorrent@用户名
○ qbittorrent@用户名.service - qBittorrent Daemon Service
     Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2022-12-23 10:39:47 UTC; 24min ago
    Process: 223114 ExecStart=/usr/local/bin/qbittorrent-nox -d (code=exited, status=0/SUCCESS)
    Process: 223119 ExecStop=/usr/bin/killall -w -s 9 /usr/local/bin/qbittorrent-nox (code=exited, status=0/SUCCESS)
   Main PID: 223117 (code=exited, status=0/SUCCESS)
        CPU: 39ms
[用户名@XXXX]:(1.0kb)$ journalctl -u qbittorrent@用户名
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
-- No entries --

@tanpengsccd
Copy link
Author

我可以提供一个 绿云大盘鸡 测试,debian11 安装就有这个问题. 100% 可复现.

@amefs
Copy link
Owner

amefs commented Dec 23, 2022

借用一下星菊的群,进群以后找我。

@tanpengsccd
Copy link
Author

tanpengsccd commented Dec 23, 2022

91.200.*.* **** ,IP被墙的. 已经重装debian11系统了. 你进去后改密码吧,随便搞吧. 我一周后 再重装.

@amefs
Copy link
Owner

amefs commented Dec 23, 2022

奇怪的是我没能复现,密码我没有修改,你可以用 history 指令看一下我操作的内容。qBittorrent 仅使用 box install qbittorrent 安装默认的 4.3.9。

@amefs
Copy link
Owner

amefs commented Mar 14, 2023

遇到上述情况的建议尝试一下 development 分支最新的 commit,或许可以修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants