Answers for "qbittorrent unauthorized"

0

qbittorrent unauthorized

I've deployed qbittorent as a Stack using Portainer with the following docker-compose file

---
version: "2.1"
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Riga
      - WEBUI_PORT=8080
    volumes:
      - /portainer/Files/AppData/Config/qbittorrent:/config
      - /home/owner/Downloads:/downloads
    ports:
      - 6882:6881
      - 6882:6881/udp
      - 8080:8080
    restart: unless-stopped

I then opened the config file in a text editor to add this line WebUIHostHeaderValidation=false:

sudo nano portainer/Files/AppData/Config/qbittorrent/qBittorrent/qBittorrent.conf 
The full config should look like this:

[AutoRun]
enabled=false
program=

[LegalNotice]
Accepted=true

[Preferences]
ConnectionPortRangeMin=6881
ConnectionUPnP=false
DownloadsSavePath=/downloads/
DownloadsTempPath=/downloads/incomplete/
QueueingQueueingEnabled=true
WebUIAddress=*
WebUIPort=8080
WebUIServerDomains=*
WebUIHostHeaderValidation=false

After this manipulation, the WebUI could be accessed on port 8080
Posted by: Guest on January-14-2022

Browse Popular Code Answers by Language