--profile option doesn't work on qbittorrent-nox #5761

Closed
opened 2026-02-21 18:01:55 -05:00 by deekerman · 1 comment
Owner

Originally created by @WolfganP on GitHub (Jul 6, 2017).

Please provide the following information

qBittorrent version and Operating System:

qBt v3.3.13 built from git (head in label v3_3_x), latest raspbian/dietpi Linux DietPi 4.9.35-v7+ #2 SMP Tue Jul 4 18:28:37 UTC 2017 armv7l GNU/Linux

If on linux, libtorrent and Qt version:

libtorrent 1.0.11 built from git (head in label RC_1_0), qtbase5-dev 5.7.1+dfsg-3+rpi1 (stretch)

What is the problem:

Tried to run qbittorrent-nox via a service entry, but qb-nox claims --profile cmd line option is unknown

What is the expected behavior:

Ability to define where the config files reside while running qb-nox as a daemon

Steps to reproduce:

sudo service qbittorrent start

pi@DietPi:~$ cat /etc/systemd/system/qbittorrent.service
[Unit]
Description=qBittorrent Daemon Service
After=network.target

[Service]
Type=oneshot
User=root
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8099 --profile=/home/pi/.config/qBittorrent
ExecStop=/usr/bin/killall -w qbittorrent-nox

[Install]
WantedBy=multi-user.target

Extra info(if any):

pi@DietPi:~$ sudo systemctl -l status qbittorrent.service
● qbittorrent.service - qBittorrent Daemon Service
Loaded: loaded (/etc/systemd/system/qbittorrent.service; enabled)
Active: failed (Result: exit-code) since Thu 2017-07-06 14:48:28 -03; 20s ago
Process: 28095 ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8099 --profile=/home/pi/.config/qBittorrent (code=exited, status=1/FAILURE)
Main PID: 28095 (code=exited, status=1/FAILURE)

Jul 06 14:48:28 DietPi qbittorrent-nox[28095]: Bad command line: --profile=/home/pi/.config/qBittorrent is an unknown command line parameter.
Jul 06 14:48:28 DietPi qbittorrent-nox[28095]: Run application with -h option to read about command line parameters.
Jul 06 14:48:28 DietPi systemd[1]: qbittorrent.service: main process exited, code=exited, status=1/FAILURE
Jul 06 14:48:28 DietPi systemd[1]: Failed to start qBittorrent Daemon Service.
Jul 06 14:48:28 DietPi systemd[1]: Unit qbittorrent.service entered failed state.

Originally created by @WolfganP on GitHub (Jul 6, 2017). **Please provide the following information** ### qBittorrent version and Operating System: qBt v3.3.13 built from git (head in label v3_3_x), latest raspbian/dietpi Linux DietPi 4.9.35-v7+ #2 SMP Tue Jul 4 18:28:37 UTC 2017 armv7l GNU/Linux ### If on linux, libtorrent and Qt version: libtorrent 1.0.11 built from git (head in label RC_1_0), qtbase5-dev 5.7.1+dfsg-3+rpi1 (stretch) ### What is the problem: Tried to run qbittorrent-nox via a service entry, but qb-nox claims --profile cmd line option is unknown ### What is the expected behavior: Ability to define where the config files reside while running qb-nox as a daemon ### Steps to reproduce: sudo service qbittorrent start pi@DietPi:~$ cat /etc/systemd/system/qbittorrent.service [Unit] Description=qBittorrent Daemon Service After=network.target [Service] Type=oneshot User=root RemainAfterExit=yes ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8099 --profile=/home/pi/.config/qBittorrent ExecStop=/usr/bin/killall -w qbittorrent-nox [Install] WantedBy=multi-user.target ### Extra info(if any): pi@DietPi:~$ sudo systemctl -l status qbittorrent.service ● qbittorrent.service - qBittorrent Daemon Service Loaded: loaded (/etc/systemd/system/qbittorrent.service; enabled) Active: failed (Result: exit-code) since Thu 2017-07-06 14:48:28 -03; 20s ago Process: 28095 ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8099 --profile=/home/pi/.config/qBittorrent (code=exited, status=1/FAILURE) Main PID: 28095 (code=exited, status=1/FAILURE) Jul 06 14:48:28 DietPi qbittorrent-nox[28095]: Bad command line: --profile=/home/pi/.config/qBittorrent is an unknown command line parameter. Jul 06 14:48:28 DietPi qbittorrent-nox[28095]: Run application with -h option to read about command line parameters. Jul 06 14:48:28 DietPi systemd[1]: qbittorrent.service: main process exited, code=exited, status=1/FAILURE Jul 06 14:48:28 DietPi systemd[1]: Failed to start qBittorrent Daemon Service. Jul 06 14:48:28 DietPi systemd[1]: Unit qbittorrent.service entered failed state.
Author
Owner

@zeule commented on GitHub (Jul 6, 2017):

Tried to run qbittorrent-nox via a service entry, but qb-nox claims --profile cmd line option is unknown

Will be available in 3.4.0, or you can compile code from Git master branch.

@zeule commented on GitHub (Jul 6, 2017): > Tried to run qbittorrent-nox via a service entry, but qb-nox claims --profile cmd line option is unknown Will be available in 3.4.0, or you can compile code from Git master branch.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#5761
No description provided.