Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Plex scans all files without end #414

Closed
1 task done
oxyd04 opened this issue Nov 25, 2024 · 7 comments
Closed
1 task done

[BUG] Plex scans all files without end #414

oxyd04 opened this issue Nov 25, 2024 · 7 comments

Comments

@oxyd04
Copy link

oxyd04 commented Nov 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello, for a few days now I have noticed that when I scan new media, the scanner scans the entire database and does not finish. I have to stop the container first and then start it again to make it stop. Obviously there is an error, I am using OMV 7.

Expected Behavior

No response

Steps To Reproduce

I dont see an error.

Environment

- OS: OMV 7.4.13-1 (Sandworm)
- Docker compose

CPU architecture

x86-64

Docker creation

---
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=XXXX
      - PGID=XXXX
      - TZ=Europe/Berlin
      - VERSION=docker
    volumes:
      - /dev/shm:/transcode # SKIP_BACKUP
      - /etc/localtime:/etc/localtime:ro
      - /srv/dev-disk-by-XXXXXXXX/appdata/plex/database:/config
      - /srv/dev-disk-by-XXXXXXXX/files/Filme/Blu-ray:/movies1
      - /srv/dev-disk-by-XXXXXXXX/files/Filme/Blu-ray:/movies2
      - /srv/dev-disk-by-XXXXXXXX/files/Filme/Blu-ray:/movies3
      - /srv/dev-disk-by-XXXXXXXX/files/Filme/UHD:/movies4
      - /srv/dev-disk-by-XXXXXXXX/files/Serien:/tv
      - /srv/dev-disk-by-XXXXXXXX/files/Sonstiges:/music
    devices:
      - /dev/dri:/dev/dri
      - /dev/dri/renderD128:/dev/dri/renderD128
    restart: unless-stopped

Container logs

plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    XXXX
plex  | User GID:    XXXX
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** creating video group videome9u with id 105 ****
plex  | **** adding /dev/dri/renderD128 to video group videome9u with id 105 ****
plex  | **** adding /dev/dri/card0 to video group video with id 44 ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
plex  | Critical: libusb_init failed
plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | usermod: no changes
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    XXX
plex  | User GID:   XXXX
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
plex  | Critical: libusb_init failed
plex  | Connection to xxxxxx closed by remote host.
plex  | Generated new chapter thumbnails for Sinister - Wenn Du ihn siehst, bist Du schon verloren.
plex  | Generated new chapter thumbnails for Parker.
plex  | Connection to XXX closed by remote host.
plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | usermod: no changes
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    XXX
plex  | User GID:    XXX
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
plex  | Critical: libusb_init failed
plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | usermod: no changes
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    XXXX
plex  | User GID:   XXXX
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
plex  | Critical: libusb_init failed
plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | usermod: no changes
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    1001
plex  | User GID:    100
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
plex  | Critical: libusb_init failed
plex  | [migrations] started
plex  | [migrations] no migrations found
plex  | usermod: no changes
plex  | ───────────────────────────────────────
plex  | 
plex  |       ██╗     ███████╗██╗ ██████╗
plex  |       ██║     ██╔════╝██║██╔═══██╗
plex  |       ██║     ███████╗██║██║   ██║
plex  |       ██║     ╚════██║██║██║   ██║
plex  |       ███████╗███████║██║╚██████╔╝
plex  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
plex  | 
plex  |    Brought to you by linuxserver.io
plex  | ───────────────────────────────────────
plex  | 
plex  | To support LSIO projects visit:
plex  | https://www.linuxserver.io/donate/
plex  | 
plex  | ───────────────────────────────────────
plex  | GID/UID
plex  | ───────────────────────────────────────
plex  | 
plex  | User UID:    XXXX
plex  | User GID:    XXX
plex  | ───────────────────────────────────────
plex  | Linuxserver.io version: 1.41.0.8994-f2c27da23-ls238
plex  | Build-date: 2024-09-30T09:29:05+00:00
plex  | ───────────────────────────────────────
plex  |     
plex  | **** Server already claimed ****
plex  | **** permissions for /dev/dri/renderD128 are good ****
plex  | **** permissions for /dev/dri/card0 are good ****
plex  | Docker is used for versioning skip update check
plex  | [custom-init] No custom files found, skipping...
plex  | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex  | Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!
plex  | [ls.io-init] done.
Copy link

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

@aptalca
Copy link
Member

aptalca commented Nov 25, 2024

That sounds like a plex issue and should be reported to them.

@j0nnymoe
Copy link
Member

j0nnymoe commented Nov 25, 2024

Also if you look into the plexmediaserver.log file in the /config mount, it should tell you what it's getting stuck on.

Also worth noting that it looks like you're running an image from the end of September.

@oxyd04
Copy link
Author

oxyd04 commented Nov 25, 2024

Also if you look into the plexmediaserver.log file in the /config mount, it should tell you what it's getting stuck on.

Also worth noting that it looks like you're running an image from the end of September.

Yes, I'm surprised. I specifically selected "image: lscr.io/linuxserver/plex:latest". Normally, the image should then be automatically updated to the latest version.

@j0nnymoe
Copy link
Member

Only if you actively pull the new image. Docker won't automatically do anything.

@oxyd04
Copy link
Author

oxyd04 commented Nov 25, 2024

Only if you actively pull the new image. Docker won't automatically do anything.

Thank you for that information. :-)

I also reported the problem to plex in their forum.

@oxyd04
Copy link
Author

oxyd04 commented Nov 26, 2024

Ok, the problem is solved. I made out the issue. I purchased a Plex Pass. The credit deteceting feature was activated with it and started to scan all my movies. This has taken a long time and a lot of cpu usage. I deactivated this feature.

@oxyd04 oxyd04 closed this as completed Nov 26, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants