guillaumedsde / alpine-qbittorrent-openvpn

qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
https://guillaumedsde.gitlab.io/alpine-qbittorrent-openvpn/
GNU General Public License v3.0
216 stars 40 forks source link

[bug] Cannot add torrent from search #47

Open blmhemu opened 3 years ago

blmhemu commented 3 years ago

Information

Using the python tagged image.

  1. Sometime double clicking on the search result does not work.
  2. When it works, clicking on download does not add it to the queue.

Also external links/files gets added to the queue and are working fine.

Current setup

env: Raspberry Pi k3s image: guillaumedsde/alpine-qbittorrent-openvpn:python

qbittorrent.yaml file for k3s

apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: wordpress
  namespace: default
  labels:
    app: qbt
spec:
  selector:
    matchLabels:
      app: qbt
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: qbt
    spec:
      securityContext:
        supplementalGroups: [REDACTED] // For nfs share
      containers:
      - image: guillaumedsde/alpine-qbittorrent-openvpn:python
        name: qbt
        env:
        - name: PUID
          value: "REDACTED"
        - name: PGID
          value: "REDACTED"
        - name: OPENVPN_PROVIDER
          value: "REDACTED"
        - name: OPENVPN_CONFIG
          value: "REDACTED"
        - name: OPENVPN_USERNAME
          value: "REDACTED"
        - name: OPENVPN_PASSWORD
          value: "REDACTED"
        ports:
        - containerPort: 8080
          name: qbt
        volumeMounts:
        - name: data
          mountPath: /config/qBittorrent
          subPath: qBittorrent
        - name: media
          mountPath: /downloads
        securityContext:
          capabilities:
            add:
              - NET_ADMIN
      volumes:
      - name: data
        persistentVolumeClaim:
          claimName: nfs-data-pvc
      - name: media
        persistentVolumeClaim:
          claimName: nfs-media-pvc

Attempted Fix(es)

Nothing

guillaumedsde commented 3 years ago

Hi, do you have the log for the qbittorrent container (should be in /config/qBittorrent/ ) ? There might be a log entry detailing what went wrong

gmillerd commented 3 years ago

FWIW, the search tab behavior is glitchy upstream, especially if the download links are polluted with poorly encoded, popup / redirect content.

Also only torrent files or magnet links can be downloaded with qbittorrent.

If your engine results are from 1337x for example, they are neither magnet or qbittorrent and require you to 'open description page' and proceed from there.

guillaumedsde commented 3 years ago

hi @blmhemu I think @gmillerd might be right, can you reproduce this issue on qbittorrent outside docker?