[QBittorrent-native] Update 4.5.x+ (4 variations based on lib used)

Who doesn't love third-party apps? Get together and talk about them here.
Post Reply
User avatar
father.mande
Posts: 1817
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[QBittorrent-native] Update 4.5.x+ (4 variations based on lib used)

Post by father.mande »

Hi,

I am please to announce the availability (and in few time, I hope, in AppCentral) of :
... qbittorrent-native APKG (qbittorrent 4.5.1)

It's a user demand .
NATIVE : so, no containers, nor chroot or what else ... just run as a native program.

[Version]
V1.2
... qbittorrent 4.5.1
... update available
... solve bugs in Internal update mechanism
V 1.0
... available on x6_64, arm and arm64 series ...
qbittorrent 4.5.0
... with WebUI built on QT6 or QT5 (in case of QT6 problem with some browser)
... with Libtorrent 2.0.8 or Libtorrent 1.2.18 (if problem with torrents or addons, BUT only 2.0.8 support hybrid-torrent)
Default use at install : 4.5.0 QT6 Lib2.0.8
console command line tool offer to switch QT and/or Lib

[Prerequisite]
Python3 (Asustor APKG) for addons
All other qbittorrent must be stopped at install (IP Port conflict)
... any docker or container version (if exist)
... Entware version

[Default]
WebUI Port : 19080 (forwarded by Upnp-IGD ... change it using qbittorrent parameters if it's necessary)
... OR for WebUI use command line tools to change WebUI port and also ADM access to WebUI
qbittorrent ports : UDP and TCP 63672 (forwarded by Upnp-IGD ... change it using qbittorrent parameters if it's necessary)
Data storage : /share/Download/qb_store/ (Download share is created at install ... if not exist (never destroy) and folder also)
default user : admin/adminadmin (MUST be changed)

[APKG specific]
Command line tool :

Code: Select all

qb_native_mngt
Usage
/usr/local/bin/qb_native_mngt start|stop|restart ... start, stop, or restart qbittorrentd
/usr/local/bin/qb_native_mngt status
/usr/local/bin/qb_native_mngt switch_qt_version ... switch between qt6 and qt5 WebUI interface
/usr/local/bin/qb_native_mngt switch_lib ... switch between lib v1 and lib v2 for qbittorrent executable
/usr/local/bin/qb_native_mngt change_web_port NEW_PORT ... change WebUI Port and update ADM WebUI
... ... ... ...ATT. No verification of the validity of the port selected
=====
/usr/local/bin/qb_native_mngt get_last_version ... check last version of qbittorrent-nox web site
=====
/usr/local/bin/qb_native_mngt clear_log .... clear APKG log : /tmp/.qbittorrent.log
/usr/local/bin/qb_native_mngt print_qb_log ... (cat) qbittorrent log : /usr/local/AppCentral/qbittorrent-native/home/.local/share/qBittorrent/logs/qbittorrent.log
SPECIAL INTERACTIVE download (and update) tool : ... if you want to upgrade BEFORE new APKG version)
/usr/local/bin/qb_native_updater

Code: Select all

# qb_native_updater
=====
/usr/local/bin/qb_native_updater check ... check last available version on qbittorrent web site
/usr/local/bin/qb_native_updater get QB_VERSION LIB_VERSION [HIDDEN_ARCH_SPECIAL] ... get (download and put in bin folder) QT6 and QT5 version
/usr/local/bin/qb_native_updater update QB_VERSION [LIB_VER] ... change configuration to use QB_VER with same previous QT and LIB or with new LIB_VER if provided
/usr/local/bin/qb_native_updater remove_exec QB_VERSION ... remove binaries for this version
=====

====== some explain :
provide action as first arg and qbittorent version as second arg and libtorrent as third arg
like : /usr/local/bin/qb_native_updater get 4.5.0 2.0.8 [arch] ... get just download
update ... update qbittorrent-native.inc file and restart qbittorrent-native
update of /usr/local/AppCentral/qbittorrent-native/qbittorrent-native.inc can be done manually then restart ... out of this command
/usr/local/bin/qb_native_updater check ... to get version avaialble on source web site
to FORCE downloading for a specific architecture add at fourth (4) arg. x86_64 or armv7 or aarch64
in this case $4 exist ... working directory is place where you are not /usr/local/AppCentral/qbittorrent-native/bin
=====
MORE info in next topics.

[Downloads]
v1.0 (4.5.0) available in AppCentral
v1.2 (4.5.1) up to update in AppCentral
https://www.father-mande.ovh/A/apkg/qbi ... x86-64.apk
https://www.father-mande.ovh/A/apkg/qbi ... _arm64.apk
https://www.father-mande.ovh/A/apkg/qbi ... .2_arm.apk


Philippe.
Last edited by father.mande on Sat May 06, 2023 4:14 pm, edited 4 times in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [QBittorrent-native] 4.5.0 (4 variations based on lib used)

Post by father.mande »

Hi,

[EDIT] solved in qbittorrent-native 1.2

URGENT ... TEMPORARY due to a small typo the update internal downloadqb.sh don't work, only check and get works ...
Please wait, I will write an how-to to workaround this problem ...

Apologize and sorry (in fact I just really test it with new version ... arrived today ... )

Philippe.
Last edited by father.mande on Sat Feb 18, 2023 1:48 am, edited 1 time in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by father.mande »

Hi,

I am please to announce the availability of qbittorrent-native v 1.2

[Download] ... up to availability in AppCentral (v 1.0 is ALREADY VALIDATED AND AVAILABLE IN AppCentral)
In first message in this topic : https://forum.asustor.com/posting.php?m ... 71#pr46085

[Changelog]
APKG :
... update to qlibttorrent 4.5.1 (read after)
... change internal updater (now it works) ... new qb_native_updater command is explain in first message in this topic
... in case you update before the exec as kept as is, only home folder and settings are reintroduce
... in case of fresh install binary and default are used
... solve bugs and typo, add some trace to debug APKG more easily.
... available for all x86_64 series, Arm series and arm64 series using A.D.M. 4.0 and newest

qlibttorrent 4.5.1 : (source : https://www.qbittorrent.org/news.php )
v4.5.1 changelog:

FEATURE: Re-allow to use icons from system theme (glassez)
BUGFIX: Fix Speed limit icon size (now-im)
BUGFIX: Revise and fix some text colors (Chocobo1, now-im)
BUGFIX: Correctly load folder based UI theme (glassez)
BUGFIX: Fix crash due to invalid encoding of tracker URLs (glassez)
BUGFIX: Don't drop !qB extension when renaming incomplete file (glassez)
BUGFIX: Correctly count the number of torrents in subcategories (glassez)
BUGFIX: Use "additional trackers" when metadata retrieving (glassez)
BUGFIX: Apply correct tab order to Category options dialog (glassez)
BUGFIX: Add all torrents passed via the command line (glassez)
BUGFIX: Fix startup performance on Qt5 (glassez)
BUGFIX: Automatic move will now overwrite existing files (aka previous behavior) (glassez)
BUGFIX: Some fixes for loading Chinese locales (sledgehammer999)
BUGFIX: New Pause icon color for toolbar/menu (now-im, sledgehammer999)
BUGFIX: Adjust env variable for PDB discovery (sledgehammer999)
WEBUI: Fix missing "queued" icon (thalieht)
WEBUI: Return paths using platform-independent separator format (glassez)
WEBUI: Change order of accepted types of file input (Jason Carr)
WEBUI: Add missing icons (brvphoenix)
WEBUI: Add "Resume data storage type" option (thalieht)
WEBUI: Make rename file dialog resizable (Torsten Schwarz)
WEBUI: Prevent incorrect line breaking (David Xuang)
WEBUI: Improve hotkeys (Fidel Selva)
WEBUI: Remove suggestions while searching for torrents (Midhun V Nadh)
WEBUI: Expose "IS PRIVATE" flag (sotiris-bos)
WEBUI: Return name/hash/infohash_v1/infohash_v2 torrent properties (qbittorrentfan)
WINDOWS: Correctly detect drive letter in path (glassez)
WINDOWS: NSIS: Update Swedish, Lithuanian translations (Jonatan, Deividas)
LINUX: Fix tray icon issues (glassez)
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by father.mande »

Hi,

Qbittorrent-native APKG v1.2 is available in AppCentral

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
brs
Posts: 3
Joined: Tue Apr 25, 2023 9:43 pm

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by brs »

Hi, do you have an intention to update the app? 4.5.1 doesn't work on some trackers due to safety issues
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by father.mande »

Hi,
brs wrote:Hi, do you have an intention to update the app? 4.5.1 doesn't work on some trackers due to safety issues
Please use qb_native_updater command (in a ssh terminal connected as root/your_admin_password OR using sudo with any user in administrators group.
actual update is for 4.5.2

No need to wait for a new APKG (coming later)
How-to
qb_native_mngt status (to check actual version running)
qb_native_updater check (to get last available version)
qb_native_updater get VERSION LIB (to download new version for specific qbittorrent lib ... ex get 4.5.2 2.0.8)
... eventually download same with the lib 1.x version
qb_nqtive_updater update VERSION LIB (to really change the active version ... ex. update 4.5.2 2.0.8) ... you can go back if require
... update restart qbittorrent-native

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
brs
Posts: 3
Joined: Tue Apr 25, 2023 9:43 pm

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by brs »

I'll wait. I was unable to update via terminal as I'm not a pro user
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by father.mande »

Hi,
brs wrote:I'll wait. I was unable to update via terminal as I'm not a pro user
OK I will create the APKG ... but a small delay are needed for validation by Asustor, or using manual install to install by yourself.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
brs
Posts: 3
Joined: Tue Apr 25, 2023 9:43 pm

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by brs »

Thank you! Your app is the best app of this kind @Asustor

The author helped to update via ssh. It works flawlessly
ivanyu
Posts: 15
Joined: Tue May 02, 2023 12:17 am

Re: [QBittorrent-native] Update 4.5.1 (4 variations based on lib used)

Post by ivanyu »

Reply from Philippe

Hi,

Please post question in the forum (to be able to get quickest response from others users and to share the problem with all) .

Yes it's possible (with few manipulation) ... it's an infrequent use to access a disk or file out of the /share definition ...
How-to (and explain)
default in qbittorrent-native is to create in not exist a share name : Download
qbittorent-native use in this case a folder name qb_store
this folder is created if not exist at first start of qbittorrent

Sol. 1 (shortest)
open a terminal (ssh) with root/your_admin_password or any administrator user in this case prefix command with sudo
... stop qbittorrent-native
qb_ntive_mngt stop (or sudo qb_ntive_mngt stop)
... change folder qb_store as a link to your preferred place
... in your case (for ex.)
cd /share/Download
if qb_store is empty ... :
rmdir qb_store
if not empty : mv qb_store qb_store.prev (to keep eventually file inside)
... create the link :
ln -s /volume4/hdd4/bittorrent qb_store (so now qb_store target your own folder)
... restart qbittorent
qb_native_mngt start

Sol 2 change inside APKG
... as previous stop qbittorrent
... edit the file : /usr/local/AppCentral/qbittorrent-native/qbittorrent-native.inc or use confutil to change DOWNLOAD_PATH
confutil -set /usr/local/AppCentral/qbittorrent-native/qbittorrent-native qb DOWNLOAD_PATH /volume4/hdd4/bittorrent
... remember to change the Session\DefaultSavePath in qbittorrent configuration or in /usr/local/AppCentral/qbittorrent-native/home/.config/qBittorrent/qBittorrent.conf
using qbittorrent settings or by editing the file.
... restart qbittorrent as in Sol 1

Philippe.

Code: Select all

Le 01/05/2023 à 04:16, Ivan Yu a écrit :
Hello,
 
I am currently using an older version of a native port of qbittorrent on AS3304T.  I am very excited to see your new version and want to install.
 
I have one hard drive dedicated to BT.  I mount it as /volume4/hdd4 and my default BT save path is set to /volume4/hdd4/bittorrent/
 
Is this possible in your new native version?  I read in the release notes that it can only be set to /share.
 
Thank you very much for your help.
 
 
Best Regards,
Ivan Yu

Post Reply

Return to “Developer's Corner”