Qbittorrent-nox starts without web interface

Creating a bug report/issue

Required Information

  • DietPi version | 8.9.2
  • Distro version | bullseye
  • Kernel version | Linux DietPi 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
  • SBC model | RPi 4 Model B (aarch64)

Additional Information (if applicable)

  • Software title | qBittorrent v4.2.5
  • installed using dietpi-software

Steps to reproduce

  1. just install qbittorrent and reboot, the service is launched but the web interface doesn’t start

Expected behaviour

I expect that the web interface of qbittorrent goes up as the service starts, but instead I have to
manually execute qbittorrent-nox to run the web interface

Actual behaviour

the service is loaded and executed at boot but without web interface

I can not recreate this.
After a reboot, what gives you systemctl status qbittorrent.service?

as well pls show following to check LISTEN ports.

ss -tulpn | grep LISTEN
dietpi@DietPi:~$ sudo systemctl status qbittorrent.service
● qbittorrent.service - qBittorrent (DietPi)
     Loaded: loaded (/etc/systemd/system/qbittorrent.service; disabled; vendor preset: enabled)
     Active: active (running) since Sun 2022-10-09 20:35:04 BST; 38s ago
       Docs: man:qbittorrent-nox(1)
   Main PID: 1126 (qbittorrent-nox)
      Tasks: 9 (limit: 4164)
        CPU: 204ms
     CGroup: /system.slice/qbittorrent.service
             └─1126 /usr/bin/qbittorrent-nox

Oct 09 20:35:04 DietPi systemd[1]: Started qBittorrent (DietPi).
dietpi@DietPi:~$ sudo ss -tulpn | grep qbittorrent | grep LISTEN
tcp   LISTEN 0      30     10.5.0.2%nordlynx:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=21))
tcp   LISTEN 0      30     192.168.1.176%br0:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=19))
tcp   LISTEN 0      30          127.0.0.1%lo:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=15))
tcp   LISTEN 0      50                     *:1340             *:*    users:(("qbittorrent-nox",pid=1126,fd=36))

And here is the systemd unit file

dietpi@DietPi:~$ cat /etc/systemd/system/qbittorrent.service
[Unit]
Description=qBittorrent (DietPi)
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target

[Service]
User=qbittorrent
UMask=002
LogsDirectory=qbittorrent
ExecStart=/usr/bin/qbittorrent-nox

[Install]
WantedBy=multi-user.target

After i run qbittorrent-nox & I get

dietpi@DietPi:~$ sudo ss -tulpn | grep qbittorrent | grep LISTEN
tcp   LISTEN 0      30     10.5.0.2%nordlynx:9047       0.0.0.0:*    users:(("qbittorrent-nox",pid=2517,fd=20))
tcp   LISTEN 0      30     192.168.1.176%br0:9047       0.0.0.0:*    users:(("qbittorrent-nox",pid=2517,fd=17))
tcp   LISTEN 0      30          127.0.0.1%lo:9047       0.0.0.0:*    users:(("qbittorrent-nox",pid=2517,fd=16))
tcp   LISTEN 0      30     10.5.0.2%nordlynx:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=21))
tcp   LISTEN 0      30     192.168.1.176%br0:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=19))
tcp   LISTEN 0      30          127.0.0.1%lo:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=1126,fd=15))
tcp   LISTEN 0      50                     *:8080             *:*    users:(("qbittorrent-nox",pid=2517,fd=35))
tcp   LISTEN 0      50                     *:1340             *:*    users:(("qbittorrent-nox",pid=1126,fd=36))

Thank you for your help.

Okay, I was looking at the wrong port, 8080, instead of 1340.

I’m so sorry!

Thank you!

yes, it is 1340 as stated on our online docs BitTorrent and Download Tools Software Options - DietPi.com Docs