[SOLVED] qbittorrent-nox on Raspbian (banana pro) only works with WEB UI open

Linux specific questions, problems.
Post Reply
NeoMod

[SOLVED] qbittorrent-nox on Raspbian (banana pro) only works with WEB UI open

Post by NeoMod »

Hello everybody,

I’m pretty new at qbittorrent, so please beg my pardon If this error is a result of “mis-configuration”.

I’m running qbittorrent-nox on a Banana Pro (lemaker) equipped with Raspbian: installation went smooth thanks to the tutorial provided in the WiKi(https://github.com/qbittorrent/qBittorrent/wiki/Running-qBittorrent-without-X-server).
Qbittorrent-nox has been configured to run as a daemon at startup, and web access is currently working.

The problem tough is that downloading/uploading only works until qbittorrent-nox WEB-UI is opened: as I close it each operation is stopped.

As far as I can tell reading this forum no one else faced this problem…is there any chance that someone could help?

Thank you in advance for your time.
Last edited by NeoMod on Mon Oct 26, 2015 4:25 pm, edited 1 time in total.
NeoMod

Re: [SOLVED] qbittorrent-nox on Raspbian (banana pro) only works with WEB UI open

Post by NeoMod »

After a lot of tries I managed to solve the problem.

It was my fault since I hadn’t noticed that the qBittorrent Version provided trough official Raspbian Repository was really old.
So I switched to the latest one, compiling it directly on B-Pro.

Now, to whoever might be interested in following my steps here it is a quick vademecum:

1) The full instructions can be found on the official wiki but with some exceptions.
2) The general procedure is available here: https://github.com/qbittorrent/qBittorr ... and-Ubuntu
3) In order to install libtorrent on Raspbian I strongly suggest to follow the procedure reported here: http://dev.deluge-torrent.org/wiki/Building/libtorrent
4) Raspbian do not support qt5 so you can safely compile qBittorrent againt qt4 without problems.
5) Please note that during the compiling process you can, and most probabily will, receive a lot of “warnings” regarding a deprecated function in ARM6 and ARM7. Altough they might seem dangerous they can be ignored.
6) The “autostart” of qtorrent-nox on B-Pro is quite problematic if you try to follow the classic method described in the wiki. You can create a script daemon and then update the update-rc.d filebut this will lead to a very unstable configuration on B-Pro: most likely you will face sudden termination of qtorrent-nox and it won’t autostart at boot.

My personal solution, after reading and trying at least ten different ways, was to create a cronjob under the user I was using for qtorrent.


Issue the

Code: Select all

crontab – e
command to edit the appropriate user crontab and then enter the

Code: Select all

@reboot qtorrent-nox 
command.

I’m aware that this might not be the most elegant yet refined solution, but it worked for me on LeMaker Banana Pro where every other solution has failed.
ciaobaby

Re: [SOLVED] qbittorrent-nox on Raspbian (banana pro) only works with WEB UI open

Post by ciaobaby »

Thanks for the update

Could you, or rather,  would you add that to the qBit Wiki please, as it may prove useful to others in the same situation.
NeoMod

Re: [SOLVED] qbittorrent-nox on Raspbian (banana pro) only works with WEB UI open

Post by NeoMod »

Thank you for the invitation to put this on the WiKi!

I've tried doing my best realizing this page: https://github.com/qbittorrent/qBittorr ... Banana-Pro

I hope everything is clear enough, and also that credits and style are respected. In case I missed something please beg my pardon, I'm not well familiar with WiKi Editing.
Post Reply