How to Setup qBittorrent-nox with FlexGet RSS Feeder for Linux (Ubuntu)
- Chris Speed
- Apr 2, 2022
- 1 min read
Updated: Jul 9, 2023
Step 1 - Installation and Web UI information
sudo apt install qbittorrent-nox
http://localhost:8080. The Web UI access is secured by default, and the default account username is (admin), and the password is (adminadmin).
Step 2 - Setup system user and group
sudo adduser --system --group qbittorrent-nox
sudo adduser your-username qbittorrent-nox
Step 3 - Create the service file
sudo nano /etc/systemd/system/qbittorrent-nox.service
copy and paste the following lines into the file.
[Unit]
Description=qBittorrent Command Line Client
After=network.target
[Service]
#Do not change to "simple"
Type=forking
User=qbittorrent-nox
Group=qbittorrent-nox
UMask=007
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8082 Restart=on-failure
[Install]
WantedBy=multi-user.target
Step 4 - Start, enable and check status of service.
sudo systemctl daemon-reload
sudo systemctl start qbittorrent-nox
sudo systemctl enable qbittorrent-nox
systemctl status qbittorrent-nox
Step 5 - Open Firewall ports
sudo ufw allow 8082/tcp
sudo ufw reload
Step 7 - Change permissions for the Default Save Path
chmod g+s /<directory> //set gid
setfacl -d -m g::rwx /<directory> //set group to rwx default
getfacl /<directory>
sudo chmod 777 -R /<directory>
Output of getfacl:
# file: ../<directory>/
# owner: <user>
# group: media
# flags: -s-
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x
Step 1 - Install
sudo apt install python3.10-venv
python3 -m venv ~/flexget/
cd ~/flexget/
bin/pip install flexget
Step 2 - Run FlexGet
source ~/flexget/bin/activate
Step 3 - Configuration
Sample config.yml
Creating Templates
~/.config/flexget/config.yml
Step 4 - Execute FlexGet
flexget execute --tasks Series-*
flexget execute --disable-tracking
flexget check
*Note that if downloads are failing disable the tracking.
Step 5 - Scheduling
To determine where FlexGet command resides run:
which flexget
Using Cronjobs
@reboot/usr/local/bin/flexget daemon start -d
@hourly /usr/local/bin/flexget --cron execute
Comments