mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Fresh install only installing 3.3.7 #9242
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#9242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @killkong1211 on GitHub (Oct 25, 2019).
qBittorrent version and Operating System
(type here)
3.3.7 - OMV (Debian Based)
What is the problem
(type here)
I've just installed qbt for the first time from "sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable" but it's only deploying version 3.3.7
I'm sure I'm just overlooking something but some guidance would be greatly appreciated as I want to update to get it working with Electorrent to use magnets from my other devices.
@Kolcha commented on GitHub (Oct 25, 2019):
looks like OMV Linux uses Debian 9 as base. so, that's why only qbittorrent 3.3.7 is available.
adding Ubuntu' ppa that you found will not help, in most cases packages build for Ubuntu will not work for Debian (especially for too old Debian).
so as one way I can suggest to get newer qBittorrent version on that system - just build it from sources (it's easy, especially on debian-based systems), but you also need to build libtorrent.
or just consider to use any other distro (Debian 10 for example)
@killkong1211 commented on GitHub (Oct 25, 2019):
I had a bit of a look into it and it appears when they push out OMV5 it'll be moving to Debian 10, so the fix will come in time with the next major update I guess.
In the meantime are you able to point me to which sources I'd want and maybe a quick tutorial on how to build it?
It'd be much appreciated as I haven't gone as far as building from source in my previous endeavors
@Kolcha commented on GitHub (Oct 25, 2019):
first of all you need in compiler and different build utilities, just install
build-essentialpackage for them.I assume you need only qbittorrent-nox (i.e. WebUI version only)
next install few dependencies:
qtbase5-devandlibboost-system-devthen download libtorrent 1.1.13 and qbittorrent 4.1.x source.
build and install libtorrent:
and then build qbittorrent
or just follow instructions on qBittorrent Wiki
@killkong1211 commented on GitHub (Oct 25, 2019):
Much appreciated for the assistance on this.
I've gotten as far as building QB with the command you've given and I get an error.
I've included the full build process in case it helps
@Kolcha commented on GitHub (Oct 25, 2019):
sorry for such inconvenience... just install
qttools5-dev-toolspackageI don't install Qt from repo for a long time, I usually build it by myself.
I even didn't expect such dev tool can be missed after
qtbase5-devinstallation....@killkong1211 commented on GitHub (Oct 25, 2019):
Not a problem at all, that seems to have gotten it to generate the make but it's thrown back two error's on the install sudo make install
@Kolcha commented on GitHub (Oct 25, 2019):
uhh.. seem to be Debian 9 uses compiler that doesn't enable C++11 by default...
you have to rebuild libtorrent with c++11 enabled:
(
CXXFLAGS="-std=c++11"was added at the end of configure line)you need build libtorrent from scratch (i.e. no any build artifacts in sources folder), dirty build will not solve issue. don't worry about binaries installed in system, they will be overridden with
make install. than build qbittorrent (just runmake, clean build is not required in this case)@killkong1211 commented on GitHub (Oct 25, 2019):
Tried to run it with the new command but it came back with 'No package 'Qt5Svg' found'
@Kolcha commented on GitHub (Oct 25, 2019):
forgot about such dependency... didn't think that no GUI version will require it...
install
libqt5svg5-devpackagedo not change configure line for qbittorrent, use previous one, i.e.:
CXXFLAGS must be added only to libtorrent configure line
@killkong1211 commented on GitHub (Oct 25, 2019):
I used the "./configure --disable-gui --enable-systemd" command and I'm still getting errors on the make for the QB make
Looks to be the same error we were trying to fix with C++ 11
@Kolcha commented on GitHub (Oct 25, 2019):
still looks like you didn't recompiled libtorrent with CXXFLAGS="-std=c++11" or old version of libtorrent is used.
please ensure that you uninstalled
libtorrent-rasterbarpackage@Kolcha commented on GitHub (Oct 25, 2019):
please wait ~30 min, I'll create simple script which will build everything for you.
fortunately I have a system with GCC 5 which also doesn't enable C++11 by default
@killkong1211 commented on GitHub (Oct 25, 2019):
I tried it again from scratch and now getting an error on the QB config that says it can't find qmake.
I'll just wait for your script and see how that goes haha :)
Much appreciated for going to the trouble for me
@Kolcha commented on GitHub (Oct 25, 2019):
script is ready, just run it in any folder. run it without root (sudo), it will ask when it required.
but before running it just ensure that you don't have qbittorrent and libtorrent installed from repo:
then run this script
@killkong1211 commented on GitHub (Oct 26, 2019):
Sorry for the delay had to go in to town for a bit, removed qbit nox, rasterbar was already removed.
Ran the script and same issue
Ran it twice just to be sure
@Kolcha commented on GitHub (Oct 26, 2019):
interesting... what is your GCC version? run
gcc --versionorg++ --version.there is example output from my system:
so my GCC is 6.3.0
@killkong1211 commented on GitHub (Oct 26, 2019):
Mine is also
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516@Kolcha commented on GitHub (Oct 26, 2019):
well, I'll install that OMV Linux on VM and tried script here. just to ensure that I'm have the same environment as you.
I downloaded OMV Linux 5.0.5 (latest available).
@killkong1211 commented on GitHub (Oct 26, 2019):
5.0.5 is on Debian 10 and I think it's still in testing
My environment is OMV 4.19
Edit: They're still porting the OMV 4 plugins to OMV 5 otherwise it is available but not considered released.
@Kolcha commented on GitHub (Oct 26, 2019):
so... I installed OMV 4 based on Debian 9, run script and found few typos in it, but no any issues during build. I updated the script, now it produces verbose output, please redirect it to file and share in case of error
and again, make sure that you don't have libtorrent from repo, it can't be used with 4.1.x qBittorrent:
@killkong1211 commented on GitHub (Oct 26, 2019):
Okay so it worked that time ( FOR NO APPARENT REASON XD ) after changing nothing haha
I can run it but it won't launch as a service for some reason, any thoughts what may be preventing it?
@Kolcha commented on GitHub (Oct 26, 2019):
to run it as service just enable installed systemd unit:
using root user is not recommended, it is better to create separate user for qbittorrent
but please note that you must run qbittorrent-nox manually at least one time (under specific user which later be used to run qbittorrent), just to say "yes", as you maybe noticed before
to run qbittorrent using specific user, just replace 'root' after '@' in my line with desired user name
@killkong1211 commented on GitHub (Oct 26, 2019):
I'd started it and attempted to run as a service as described here
https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)When I prompt for status I get
@Kolcha commented on GitHub (Oct 26, 2019):
that documentation is pretty outdated, but still can be used.
so edit you created
/etc/systemd/system/qbittorrent.serviceand changeExecStartfield to/usr/local/bin/qbittorrent-nox(please not "local" in path, now you have qbittorrent executable here, because it was manually installed)as you already have qbittorrent.service in /etc and it already enabled, nothing more must to be done, you can continue using it. or just disable and remove it and use unit which was installed after compilation (that's I mentioned). just replace "root" with "qbtuser" in my line for it.
there is no difference which one to use, but installed one already have correct paths because it was generated.
@killkong1211 commented on GitHub (Oct 26, 2019):
And at long last we have 4.1.x running as a service.
Kolcha you are an absolute legend for spending all day helping me get this up and running.