qBittorrent not downloading Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: qBittorrent not downloading

Post by Joulinar »

it's a 64bit system right? uname -a
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
amibumpin
Posts: 17
Joined: Sun Feb 14, 2021 4:40 pm

Re: qBittorrent not downloading

Post by amibumpin »

Joulinar wrote: Mon Feb 15, 2021 12:28 pm it's a 64bit system right? uname -a
It seems:

Linux DietPi 4.9.241-arm64 #1 SMP PREEMPT Tue Jan 5 23:38:40 CET 2021 aarch64 GNU/Linux
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: qBittorrent not downloading

Post by Joulinar »

ok let me test on a 64bit demo system. The guide on qBittorrent is based on 32bit system if I'm not mistaken
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
amibumpin
Posts: 17
Joined: Sun Feb 14, 2021 4:40 pm

Re: qBittorrent not downloading

Post by amibumpin »

Joulinar wrote: Mon Feb 15, 2021 12:36 pm ok let me test on a 64bit demo system. The guide on qBittorrent is based on 32bit system if I'm not mistaken
Ok, thank you so much for your patience..
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: qBittorrent not downloading

Post by Joulinar »

it's basically working as well for 64bit. At least on my RPi 64bit test system

picture.png
picture.png (6.97 KiB) Viewed 98 times

I changed the ./configure lines on the guide

that's what I did on an empty system (copied from my command line history ;) )

Code: Select all

apt install build-essential pkg-config automake libtool libc6-dev libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev qtbase5-dev qttools5-dev-tools libqt5svg5-dev zlib1g-dev
cd /tmp/
wget https://github.com/arvidn/libtorrent/archive/v1.2.12.zip
unzip v1.2.12.zip
cd libtorrent-1.2.12/
./autotool.sh
./configure --disable-debug --enable-encryption --with-boost-libdir=/usr/lib/aarch64-linux-gnu --with-libiconv CXXFLAGS="-std=c++17"
make -j$(nproc)
sudo make install
cd ..
sudo nano /etc/ld.so.conf.d/libtorrent.conf
## add following and save file: /usr/local/lib
sudo ldconfig
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
wget https://github.com/qbittorrent/qBittorrent/archive/release-4.3.3.zip
unzip release-4.3.3.zip
cd qBittorrent-release-4.3.3/
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/aarch64-linux-gnu CXXFLAGS="-std=c++17"
make -j$(nproc)
sudo make install
sudo useradd -rm qbittorrent -G dietpi -s /usr/sbin/nologin
nano /etc/systemd/system/qbittorrent.service
## add service definition and save file
systemctl daemon-reload
systemctl start qbittorrent
systemctl status qbittorrent
reboot
journalctl -u qbittorrent.service
for the service I used following definition

Code: Select all

[Unit]
Description=qBittorrent (DietPi)
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target dietpi-boot.service

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

[Install]
WantedBy=multi-user.target
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
amibumpin
Posts: 17
Joined: Sun Feb 14, 2021 4:40 pm

Re: qBittorrent not downloading

Post by amibumpin »

Joulinar wrote: Mon Feb 15, 2021 1:25 pm it's basically working as well for 64bit. At least on my RPi 64bit test system


picture.png


I changed the ./configure lines on the guide

that's what I did on an empty system (copied from my command line history ;) )

Code: Select all

apt install build-essential pkg-config automake libtool libc6-dev libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev qtbase5-dev qttools5-dev-tools libqt5svg5-dev zlib1g-dev
cd /tmp/
wget https://github.com/arvidn/libtorrent/archive/v1.2.12.zip
unzip v1.2.12.zip
cd libtorrent-1.2.12/
./autotool.sh
./configure --disable-debug --enable-encryption --with-boost-libdir=/usr/lib/aarch64-linux-gnu --with-libiconv CXXFLAGS="-std=c++17"
make -j$(nproc)
sudo make install
cd ..
sudo nano /etc/ld.so.conf.d/libtorrent.conf
## add following and save file: /usr/local/lib
sudo ldconfig
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
wget https://github.com/qbittorrent/qBittorrent/archive/release-4.3.3.zip
unzip release-4.3.3.zip
cd qBittorrent-release-4.3.3/
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/aarch64-linux-gnu CXXFLAGS="-std=c++17"
make -j$(nproc)
sudo make install
sudo useradd -rm qbittorrent -G dietpi -s /usr/sbin/nologin
nano /etc/systemd/system/qbittorrent.service
## add service definition and save file
systemctl daemon-reload
systemctl start qbittorrent
systemctl status qbittorrent
reboot
journalctl -u qbittorrent.service
for the service I used following definition

Code: Select all

[Unit]
Description=qBittorrent (DietPi)
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target dietpi-boot.service

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

[Install]
WantedBy=multi-user.target
Wow this has blocked the odroid, had to reset it

I am trying again with just installing Mate desktop and qbittorrent, but I faced the problem with the login in qbittorrent webadmin, that the password is not correct, isn't this fixed as I read on github? I don't remember what I did to reset the password... :(

P.D: nothing still the same no connection on udp trackers.. With just installing qbittorrent and Mate desktop..

P. D. 2.: I was able to do all the steps to update but when I open qbittorrent still shows 4.1.5 version... I didn't see any error during the update process

I install full qbittorrent not the Web ui included on dietpi and happens the same..
User avatar
Joulinar
Posts: 3836
Joined: Sat Nov 16, 2019 12:49 am

Re: qBittorrent not downloading

Post by Joulinar »

on a fresh compiled installation, password is the qBittorrent default one usually
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
amibumpin
Posts: 17
Joined: Sun Feb 14, 2021 4:40 pm

Re: qBittorrent not downloading

Post by amibumpin »

Ok, found a problem.. when Nat acceleration on Asus router is enabled, is when I can't download from qbittorrent, if I disabled the downloads start.

This affects only to qbittorrent on linux, on windows there is no problem.., so is not a problem of Dietpi

Thank you for your help and time.
Post Reply