linuxserver / docker-calibre

GNU General Public License v3.0
338 stars 62 forks source link

[BUG] wireless device connection not working #155

Open Mrugacz opened 3 weeks ago

Mrugacz commented 3 weeks ago

Is there an existing issue for this?

Current Behavior

Device (KOReader) connects but is not detected by calibre.

Expected Behavior

Client should be visible from calibre

Steps To Reproduce

more info: https://github.com/koreader/koreader/wiki/calibre

Environment

- OS: Debian GNU/Linux 12 (bookworm)

- Docker:
$ docker version
Client: Docker Engine - Community
 Version:           25.0.3
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        4debf41
 Built:             Tue Feb  6 21:14:25 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.3
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       f417435
  Built:            Tue Feb  6 21:14:25 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

CPU architecture

x86-64

Docker creation

services:
  calibre:
    image: lscr.io/linuxserver/calibre:latest
    container_name: calibre
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    security_opt:
      - seccomp:unconfined #optional
    volumes:
      - ./config:/config
      - '/home/debian/media:/config/Calibre Library'
    ports:
      - 8181:8080
      - 8081:8081
      - 9090:9090
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Jun  1 2024 19:00:42
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server
[ls.io-init] done.
 2024-06-06 23:11:51,636 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-06-06 23:11:51,653 [PRIO] Connections: accepted: @192.168.0.5_1717715511.637474::websocket
Exception in thread DeviceManager:
Traceback (most recent call last):
  File "threading.py", line 1038, in _bootstrap_inner
  File "calibre/gui2/device.py", line 463, in run
  File "calibre/gui2/device.py", line 321, in detect_device
  File "calibre/devices/scanner.py", line 195, in scan
  File "calibre/devices/scanner.py", line 109, in __call__
RuntimeError: DeviceScanner requires the /sys filesystem to work.
github-actions[bot] commented 3 weeks ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.