Home Assistant addon : qbittorrent (supports openvpn & smb mounts)

Hello, fellow torrenters! Having a problem after trying to update to 5.1.4-7
Update ended with error
2026-02-05 13:34:48.700 ERROR (MainThread) [supervisor.addons.addon] Add-on db21ed7f_qbittorrent has invalid options: does not match regular expression ^\w+\.conf$.
Addon is not starting, says invalid configuration. Please help.

Config file name is more restrcictve now. I’ll look to change back to how it was

Sadly, after updating to 5.1.4-8 i get error when trying to start addon
does not match regular expression ^[A-Za-z0-9._-]+\.conf$.
Maybe there is smth wrong with my setup? To be clear i never used vpn with my qbt+ha setup.

Ah your wireguard config is null which perhaps causes the issue just type anything and it should go away. Weird

Edit : I meant to type config.conf in the wireguard config field

That helped, thanks a lot for quick response and for your awesome work on this!

1 Like

Hey Guys

Looking for some idea or help, i’m trying to set up Airvpn on the qbittorent addon (openvpn works on it).

I’ve tried changing port, ipv6 / 4 nothing change.
If someone know how to solve that, or have any idea, that would be amazing

[Interface]
Address = xxxxx
PrivateKey = xxxxx
MTU = 1280
DNS = 10.128.0.1

[Peer]
PublicKey = xxxxx
PresharedKey = xxxxx
Endpoint = xxxxx:47107
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 15

interface: wg0
  public key: xxxxxx
  private key: (hidden)
  listening port: 51820

peer: xxxxxx
  endpoint: xxx.xxx.xxx.xxx:47107
  allowed ips: 0.0.0.0/0
  transfer: 0 B received, 148 B sent
  persistent keepalive: every 15 seconds
[custom-init] No custom files found, skipping...
crond: crond (busybox 1.37.0) started, log level 8
[12:32:10] INFO: Using Wireguard configuration file: /var/run/wireguard/wg0.conf
[12:32:10] INFO: Starting WireGuard on interface wg0...
[12:32:10] WARNING: This script force Wireguard to ignore any routes and DNS settings.
[12:32:10] WARNING: Default route will be inserted into custom routing table: 1000
[12:32:10] WARNING: This routing table will be used for traffic from the VPN interface and to the configured DNS servers.
[12:32:10] WARNING: Qbittorrent bittorrent client shall be set to use the VPN interface wg0 only.
[12:32:10] INFO: Adding routing rules for VPN interface wg0...
[12:32:10] INFO: Updating /etc/resolv.conf with VPN DNS servers.
[12:32:10] INFO: WireGuard interface wg0 is up.
[12:32:10] INFO: Starting qBittorrent...
WebUI will be started shortly after internal preparations. Please wait...
******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
[12:32:12] INFO: Starting nginx...
[12:32:12] INFO: VPN monitor set to query external IP through interface wg0 (interface binding).
[12:32:12] INFO: Real (non-VPN) IP from /currentip: 8x.xx.xx.xx
[ls.io-init] done.
[12:32:12] INFO: VPN detected; enabling IP leak protection and periodic monitoring.
[12:32:42] WARNING: Unable to determine external IP from fallback IP services.
[12:32:42] WARNING: Unable to query external IP (attempt 1/5).
[12:33:17] WARNING: Unable to determine external IP from fallback IP services.
[12:33:17] WARNING: Unable to query external IP (attempt 2/5).
[12:33:52] WARNING: Unable to determine external IP from fallback IP services.
[12:33:52] WARNING: Unable to query external IP (attempt 3/5).
[12:34:27] WARNING: Unable to determine external IP from fallback IP services.
[12:34:27] WARNING: Unable to query external IP (attempt 4/5).
[12:35:02] WARNING: Unable to determine external IP from fallback IP services.
[12:35:02] WARNING: Unable to query external IP (attempt 5/5).
[12:35:07] ERROR: Unable to obtain a VPN external IP different from real IP. Stopping add-on.
if: fatal: unable to spawn s6-test: No such file or directory
Catching signal: SIGTERM
Exiting cleanly

Are you sure your vpn is valid ? I had the same when using an invalid config

Yeah, downloaded directly from airvpn, and same config file is working on my desktop computer

1 Like

Hi, I’ve bought a airvpn pass and will make it work.

First issue is that airvpn config filenames are more than 15 characters and therefore can’t work. This will be fixed in next version.

Second issue is why it doesn’t connect, I still need to understand and will look a bit deeper

Fixed in latest