Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - qBittorrentVPN

Featured Replies

36 minutes ago, mkono87 said:

I see a bunch of problems going on with qbitorrent but not sure if this is part of it. I have the VPN version but I am not getting a gui. I had to the change the host port to 8082 which shouldnt be an issue. Tried deluge and there are no issues. Logs for qbit just saying listening on 8082.

Two things,

1. Latest version of qbit (4.4.0) has a bug. Use the previous version tag as described here.

 

2. When you changed the webUI port did you follow the instructions on GitHub?

Quote

Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

 

If neither of these apply or problems persist attach your supervisord log to your next post. PLEASE REDACT YOUR USER NAME/PASSWORD FROM THE LOG BEFORE POSTING IT.

  • Replies 5.1k
  • Views 1.1m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I rolled back to tag 5.1.1-1-01 which fixed the issue for me. I guess the new update wasn't tested for wireguard connections. Edit the docker container and change "Repository" from binhex/arch-qbitt

  • FWIW, I found this method in Reddit that seemed to work for me until they fix the log bug. But note if you have qbittorrent internet facing, it's a risk.   Add this line under [Preferences]

  • gustyScanner
    gustyScanner

    Hello! I have been using wireguard successfully for a long time with this container, today though when the container restarted I got the following error: 2025-06-27 10:35:26,490 DEBG 'start-script'

Posted Images

1 minute ago, wgstarks said:

Two things,

1. Latest version of qbit (4.4.0) has a bug. Use the previous version tag as described here.

 

2. When you changed the webUI port did you follow the instructions on GitHub?

 

If neither of these apply or problems persist attach your supervisord log to your next post. PLEASE REDACT YOUR USER NAME/PASSWORD FROM THE LOG BEFORE POSTING IT.

Thanks for the quick reply. No I didn't catch that on Github. But I see what you mean, shouldnt be too difficult. Thanks.

2 minutes ago, mkono87 said:

Thanks for the quick reply. No I didn't catch that on Github. But I see what you mean, shouldnt be too difficult. Thanks.

Dont forget to install the previous version of qbit or you'll have issues setting proper download locations.

Dont forget to install the previous version of qbit or you'll have issues setting proper download locations.
Are all the Torrent apps screwing up one by one?? Didn't deluge have major issues not to long ago?
1 minute ago, mkono87 said:
4 minutes ago, wgstarks said:
Dont forget to install the previous version of qbit or you'll have issues setting proper download locations.

Are all the Torrent apps screwing up one by one?? Didn't deluge have major issues not to long ago?

It happens with apps that are having major development. Bound to get bugs now and then. That's why I appreciate auto-update on other people's servers.😁😁

Well I made the mistake of updating as well. I've rolled qBit back now to 4.3.9-2-01, but I still seem to be having issues. It appears that it is connecting with the trackers eventually, but it shows as updating for a very long time. Further, since rolling it back I've had the web UI crash several times saying out of memory, which makes me think data is still being sent to the wrong place? Under mnt/user/appdata/binhex-qbittorrentvpn/data there is a folder titled BT-backup with over 10,000 files in it, mostly torrent files, so I suspect that might be causing me problems? 

 

My docker run looks like this-

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='bridge' --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='REMOVED' -e 'VPN_PASS'='REMOVED' -e 'VPN_PROV'='pia' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.1.0/24' -e 'NAME_SERVERS'='209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' -e 'ADDITIONAL_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8080:8080/tcp' -p '8118:8118/tcp' -v '/mnt/user/Downloads/':'/downloads':'rw' -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-qbittorrentvpn:4.3.9-2-01'

bf501b9f033560bb60bc64d11571b52e288bb08127419d68762e832d4db34738

 

In the web UI I have my save paths as-

Default- /downloads/Complete/

Incomplete is not checked, but is configured- /downloads/Incomplete/

Copy torrent files for finished downloads to- /downloads/Torrents/Torrent_Files/

 

Any thoughts on what I'm missing? I read through the last several pages but I believe I tried all the fixes. I probably missed something. 

 

I will say, I do have a bit over 5000 files currently in qBit seeding, so I'm sure that doesn't help. Once I get this fixed probably time to start a second copy of it. 

I don’t see anything. The BT backup folder is supposed to be full of torrent files or at least mine is. You might try rebooting the server. That’s usually my “Hail Mary”.

Thank you for taking a look. I did a reboot last night after I rolled it back, however it gave me issues until I reinstalled it a second time. So I'll try another reboot. I'd do a completely fresh install but I'm concerned I'd have to readd all the torrents manually and I just don't have the heart to do that

 

I should mention, it definitely is not connecting properly. A couple of the sites are not showing me as seeding everything I have listed in qBit, so some might be but not all. 

 

Edit 2- Server reboot has not helped, at least with the connection issue. Hasn't been long enough to see on the memory. I'm thinking about starting a second instance of qBit, transfer a couple thousand to the new one. Don't suppose there is an easy way to do that?

Edited by Matt0925

What is the best way to test to make sure traffic is actually going through the vpn on this container?

I reverted to the previous version 4.3.9-2-01. Things looked ok when I did that. This morning I can't connect to the WebUI at all with a "This site can't be reached error" in Chrome. I restarted the Docker and that doesn't change anything.

 

I'm not sure what caused this or what I should try next.

  • Author
4 minutes ago, frank-unr said:

I reverted to the previous version 4.3.9-2-01. Things looked ok when I did that. This morning I can't connect to the WebUI at all with a "This site can't be reached error" in Chrome. I restarted the Docker and that doesn't change anything.

 

I'm not sure what caused this or what I should try next.

https://github.com/binhex/documentation/blob/master/docker/faq/help.md

  

10 hours ago, mkono87 said:

What is the best way to test to make sure traffic is actually going through the vpn on this container?

 

The method I use is opening the console of the docker and use the following command to see the IP address that the container has:

dig +short myip.opendns.com @resolver1.opendns.com

If it's your own public IP, the VPN is not functioning. I have never had issues with binhex containers NOT using the VPN if you've configured it correctly.

43 minutes ago, Skyshroud said:

The method I use is opening the console of the docker and use the following command to see the IP address that the container has:

dig +short myip.opendns.com @resolver1.opendns.com

If it's your own public IP, the VPN is not functioning. I have never had issues with binhex containers NOT using the VPN if you've configured it correctly.

  Weird, it doesnt work in the container, but fine on the host.

 

This works though...... curl ifconfig.me

Edited by mkono87

2 hours ago, binhex said:

Thanks. Somehow the problem fixed itself. 

 

Log used to stop with this line:

2022-01-12 11:49:43 Initialization Sequence Completed

 

 

Now it continues....

2022-01-12 11:50:00,044 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2022-01-12 11:50:05,438 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address xxx.xxx.xxx.xxx

 

and QBittorrent is only started later in the log.

 

I'm having an issue where the webui is directing me to the default 8080 even though I changed it to 8085.  I checked through my config and there's nothing set to 8080 that could be causing this so I'm a little confused why it would be happening.

 

I attached my docker xml, scrubbed some personal information.

copy-my-binhex-qbittorrentvpn-Sonarr.xml

I'm having an issue where the webui is directing me to the default 8080 even though I changed it to 8085.  I checked through my config and there's nothing set to 8080 that could be causing this so I'm a little confused why it would be happening.
 
I attached my docker xml, scrubbed some personal information.
copy-my-binhex-qbittorrentvpn-Sonarr.xml
Go back into edit and click advanced at the top right. Put in the new port there.
On 1/7/2022 at 5:44 PM, wgstarks said:

I don’t know what’s going on with your connection but you should probably change your user name and password since they weren’t redacted.

 

Have you tried switching PIA servers. Just a wild guess.

Changing server locations doesn't do anything.

IS anyone else still having trouble after rolling back to 4.3.9-2-01 with files not moving from cache/appdata? Im pretty sure i have checked all folder paths and permissions and they all seem to be correct to the way I had it before. appdata share is set to "cache=prefer" but mover still doesn't transfer data to the disks. I even tried transferring some of it by hand but was only able to free up 30 GB. Setting appadata cache=yes does make mover transfer to disks but afterwards if I set it back to prefer the files are moved back to the cache.

 

Is there a way to tell the docker to not associate the files with the appdata? Should i delete the docker image? im also not sure if that will delete some the files stuck in appdata folder. Have almost 1 TB of some old torrents that are pretty much dead.

 

Heres the run command

Quote

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-qbittorrentvpn' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'= -e 'VPN_PASS'=c-e 'VPN_PROV'='custom' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='no' -e 'ENABLE_PRIVOXY'='no' -e 'WEBUI_PORT'='8080' -e 'LAN_NETWORK'='192.168.1.0/24' -e 'NAME_SERVERS'='209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' -e 'ADDITIONAL_PORTS'='' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '6881:6881/tcp' -p '6881:6881/udp' -p '8080:8080/tcp' -p '8118:8118/tcp' -v '/mnt/user/DownloadRoot/qBittorrent/data/':'/data':'rw' -v '/mnt/user/DownloadRoot/qBittorrent/downloads/':'/DOWNLOADS':'rw' -v '/mnt/user/DownloadRoot/qBittorrent/incomplete/':'/INCOMPLETE':'rw' -v '/mnt/user/DownloadRoot/qBittorrent/watch/':'/WATCH':'rw' -v '/mnt/user/appdata/binhex-qbittorrentvpn':'/config':'rw' --cap-add=NET_ADMIN 'binhex/arch-qbittorrentvpn:4.3.9-2-01'
 

d5c3113c7ce117a7ed9536354c8189dbad5e2f5788b5dd5f196be19977d9f33e

The command finished successfully!

 

 

Edited by nos0n3

3 hours ago, nos0n3 said:

appdata share is set to "cache=prefer" but mover still doesn't transfer data to the disks.

Cache= prefer means that you want to keep the files on the cache. Mover won’t move them to the array. You could set appdata to cache=YES but this will move all appdata files to the array (not what you want). Your best option would be to use mv or rsync to move the individual files.

Edited by wgstarks

30 minutes ago, wgstarks said:

You could set appdata to cache=yes but this will move all appdata files to the array (not what you want).

FTFY

2 minutes ago, JonathanM said:

FTFY

Yeah. Brain fart.😁

 

Thats what happens when I post before my morning cup of coffee.

 

Just the same though, moving the individual folders is probably the best fix. Another option would be to delete them and re-download if it isn’t a lot of data.

11 hours ago, mkono87 said:
12 hours ago, Blairwin said:
I'm having an issue where the webui is directing me to the default 8080 even though I changed it to 8085.  I checked through my config and there's nothing set to 8080 that could be causing this so I'm a little confused why it would be happening.
 
I attached my docker xml, scrubbed some personal information.
copy-my-binhex-qbittorrentvpn-Sonarr.xml

Go back into edit and click advanced at the top right. Put in the new port there.


Are you talking about the WebUI element?  Yes I've already done that it's in the xml i posted.

 

image.png.432035be8ea3c1547952ca58888e8f7f.png

29 minutes ago, Blairwin said:


Are you talking about the WebUI element?  Yes I've already done that it's in the xml i posted.

 

image.png.432035be8ea3c1547952ca58888e8f7f.png

Oh okay in that case, did you delete the original port mapping and change it to 8085:8085.  Host and container must match. And have WEB_UI_PORT set to 8085? Your XML wasn't opening on my phone and can't be bothered to troubleshoot.

Edited by mkono87

1 hour ago, mkono87 said:

Oh okay in that case, did you delete the original port mapping and change it to 8085:8085.  Host and container must match. And have WEB_UI_PORT set to 8085? Your XML wasn't opening on my phone and can't be bothered to troubleshoot.

 

Yes.

 

image.png.496c05e6aa2e9acd121265ef6131abb3.png

So I upgraded to 4.4.0 and dealt with the config reset issues. All my torrents seem to be working fine.

 

However the info pane at the bottom doesn't show any information for my torrents. None of the tabs populate with data. The general tab shows all the field names, but doesn't have any data from the selected torrent in it. The rest of the tabs (Trackers, Peers, Http Sources, and Content) show the headers, but don't show any info.

 

Edit: I use Firefox, just tried it in Chrome and it the info panel has data. I cleared cache/cookies and it is working just fine now.

 

1465865226_Screenshot2022-01-14at13-58-10qBittorrentv440WebUI.thumb.png.033704472437550dc3ade3435745cc65.png1636615356_Screenshot2022-01-14at13-58-44qBittorrentv440WebUI.thumb.png.b82e2237b7750101a6d431f1b9b1e31e.png

Edited by benmandude

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.