docker-beets icon indicating copy to clipboard operation
docker-beets copied to clipboard

[BUG] discogs plugin issues with beet 2.0.0

Open ovizii opened this issue 8 months ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Beet has a new release, here are the changelogs: https://github.com/beetbox/beets/releases/tag/v2.0.0

The discogs plugin throws this error when running this command daily via cron: docker exec -u abc -it beets /bin/bash -c 'beet import -q /mnt/downloads/completed/music/*

error message: discogs: python3-discogs-client version should be >= 2.3.15

Expected Behavior

It should run with not errors.

Steps To Reproduce

Simply run beets with the discogs plugin enabled.

Environment

OS: Debian 12
Docker Image by linuxserver (latest) 
Docker installed via its own repos

 version
discogs: python3-discogs-client version should be >= 2.3.15
beets version 2.0.0
Python version 3.11.9
plugins: albumtypes, beatport, chroma, convert, discogs, duplicates, embedart, fetchart, fromfilename, fuzzy, info, lastgenre, mbsync, missing, permissions, replaygain, rewrite, scrub, web

CPU architecture

x86-64

Docker creation

services:

# https://docs.linuxserver.io/images/docker-beets
# https://wintelguy.com/umask-calc.pl
# https://beets.readthedocs.io/en/stable/reference/cli.html

  beets:
    image: lscr.io/linuxserver/beets:latest
    container_name: beets
    hostname: beets
    restart: "no"
#        ports:
#          - 8337:8337/tcp
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=007
      - UMASK_SET=007
      - TZ=Europe/Berlin
      - DOCKER_MODS=linuxserver/mods:universal-package-install
      - INSTALL_PACKAGES=py3-requests-oauthlib
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - /opt/media/beets:/config
      - /sgate18TB01/Music:/music
      - /sgate18TB01/tmp/downloads/completed/music:/mnt/downloads/completed/music
    cpus: 2
    mem_limit: 2G
    networks:
      beets:
        ipv4_address: 192.168.192.130
    healthcheck:
      test: curl --connect-timeout 15 --silent --show-error --fail http://localhost:8337
      interval: 30s
      timeout: 15s
      retries: 3
      start_period: 1m00s



networks:

  beets:
    name: beets
    driver: macvlan
    ipam:
      config:
        - subnet: 192.168.192.128/30
          gateway: 192.168.192.129
    driver_opts:
      parent: vmbr1.1027
    external: false
    internal: false

Container logs

[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:universal-package-install to container
[mod-init] Downloading linuxserver/mods:universal-package-install from lscr.io
[mod-init] Installing linuxserver/mods:universal-package-install
[mod-init] linuxserver/mods:universal-package-install applied to container
[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
───────────────────────────────────────

cp: not replacing '/config/beets.sh'
**** Adding py3-requests-oauthlib to OS package install list ****
cp: not replacing '/config/config.yaml'
[pkg-install-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/14) Installing py3-oauthlib (3.2.2-r2)
(2/14) Installing py3-oauthlib-pyc (3.2.2-r2)
(3/14) Installing py3-certifi (2024.2.2-r0)
(4/14) Installing py3-certifi-pyc (2024.2.2-r0)
(5/14) Installing py3-charset-normalizer (3.3.2-r0)
(6/14) Installing py3-charset-normalizer-pyc (3.3.2-r0)
(7/14) Installing py3-idna (3.7-r0)
(8/14) Installing py3-idna-pyc (3.7-r0)
(9/14) Installing py3-urllib3 (1.26.18-r0)
(10/14) Installing py3-urllib3-pyc (1.26.18-r0)
(11/14) Installing py3-requests (2.31.0-r1)
(12/14) Installing py3-requests-pyc (2.31.0-r1)
(13/14) Installing py3-requests-oauthlib-pyc (1.3.1-r3)
(14/14) Installing py3-requests-oauthlib (1.3.1-r3)
Executing busybox-1.36.1-r18.trigger
OK: 230 MiB in 239 packages
[custom-init] No custom files found, skipping...
discogs: python3-discogs-client version should be >= 2.3.15
 * Serving Flask app 'beetsplug.web'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:8337
 * Running on http://192.168.192.130:8337
Press CTRL+C to quit
Connection to localhost (127.0.0.1) 8337 port [tcp/*] succeeded!
[ls.io-init] done.

ovizii avatar Jun 04 '24 10:06 ovizii