Another plex + docker problem

    • OMV 4.x
    • Another plex + docker problem

      Hi,

      I'm trying to install plex using docker, trying to set up everyhing with youtube tutorial and I'm stuck with error while I try to "Run Image" I get this error:
      Error response from daemon: Conflict. The container name "/plex" is already in use by container "xxx355a7cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx22axxxxxx". You have to remove (or rename) that container to be able to reuse that name.See 'docker run --help'.
      The thing is I can't find any other plex container ||
    • docker ps returns

      Source Code

      1. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
      2. a99355a7c645 linuxserver/plex:latest "/init" 6 hours ago Up 6 hours 3005/tcp, 8324/tcp, 1900/udp, 32410/udp, 32400/tcp, 32412-32414/udp, 32469/tcp plex
      so the question now is how to stop it? Stop GUI button doesn't seem to work

      The post was edited 1 time, last by Klemens ().

    • this helped, thanks. Looks like I'm one error further

      Docker log shows:

      Brainfuck Source Code

      1. [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
      2. [s6-init] ensuring user provided files have correct perms...exited 0.
      3. [fix-attrs.d] applying ownership & permissions fixes...
      4. [fix-attrs.d] done.
      5. [cont-init.d] executing container initialization scripts...
      6. [cont-init.d] 10-adduser: executing...
      7. usermod: no changes
      8. -------------------------------------
      9. _ ()
      10. | | ___ _ __
      11. | | / __| | | / \
      12. | | \__ \ | | | () |
      13. |_| |___/ |_| \__/
      14. Brought to you by linuxserver.io
      15. We gratefully accept donations at:
      16. https://www.linuxserver.io/donate/
      17. -------------------------------------
      18. GID/UID
      19. -------------------------------------
      20. User uid: 1000
      21. User gid: 1000
      22. -------------------------------------
      23. [cont-init.d] 10-adduser: exited 0.
      24. [cont-init.d] 40-chown-files: executing...
      25. [cont-init.d] 40-chown-files: exited 0.
      26. [cont-init.d] 50-gid-video: executing...
      27. [cont-init.d] 50-gid-video: exited 0.
      28. [cont-init.d] 60-plex-update: executing...
      29. #######################################################
      30. # Update routine will not run because you havent set #
      31. # the VERSION variable or you opted out of updates. #
      32. # For more information checkout :- #
      33. # https://github.com/linuxserver/docker-plex #
      34. #######################################################
      35. [cont-init.d] 60-plex-update: exited 0.
      36. [cont-init.d] 99-custom-scripts: executing...
      37. [custom-init] no custom files found exiting...
      38. [cont-init.d] 99-custom-scripts: exited 0.
      39. [cont-init.d] done.
      40. [services.d] starting services
      41. Starting Plex Media Server.
      42. [services.d] done.
      Display All
      yet web interface didn't start
    • I've noticed that, thanks. After changing docker network settings (from bridge to host) I was able to get to setup page, add libaries, and now I'm stuck almost at the end.
      Plex is unable to play videos.

      ERROR - [Transcoder] Unknown decoder 'h264'
      Nov 30, 2019 11:33:10.736 [0x7f73a92de700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 1437 is 1 (failure)

      Does transcode folder require some special permissions?
    • Klemens wrote:

      Does transcode folder require some special permissions?
      The host path that corresponds to the container path /transcode must be readable, writable, and enter-able by the user the container runs as.

      The host path that corresponds to the container path /config must me readable, writable, and enter-able by the user the container runs as and must located on a drive that is mounted with exec capability.
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380

      The post was edited 1 time, last by gderf ().

    • I realize that I'm missing some basic linux knowledge, but I hate leaving things unfinished.

      root@omv:docker exec -it cc3c248bfb2a ps -ef | grep plex
      root 258 1 0 19:08 ? 00:00:00 s6-supervise plex
      abc 261 258 0 19:08 ? 00:00:04 /usr/lib/plexmediaserver/Plex Me
      abc 292 261 1 19:08 ? 00:00:09 Plex Plug-in [com.plexapp.system
      abc 347 261 0 19:08 ? 00:00:00 /usr/lib/plexmediaserver/Plex Tu
      abc 385 261 0 19:08 ? 00:00:04 Plex Plug-in [com.plexapp.agents

      since docker plex is runing at abc user(?) and /transcode and /config are made by root, using chmod abc pathtotranscode will fix that?
    • Klemens wrote:

      I realize that I'm missing some basic linux knowledge, but I hate leaving things unfinished.

      root@omv:docker exec -it cc3c248bfb2a ps -ef | grep plex
      root 258 1 0 19:08 ? 00:00:00 s6-supervise plex
      abc 261 258 0 19:08 ? 00:00:04 /usr/lib/plexmediaserver/Plex Me
      abc 292 261 1 19:08 ? 00:00:09 Plex Plug-in [com.plexapp.system
      abc 347 261 0 19:08 ? 00:00:00 /usr/lib/plexmediaserver/Plex Tu
      abc 385 261 0 19:08 ? 00:00:04 Plex Plug-in [com.plexapp.agents

      since docker plex is runing at abc user(?) and /transcode and /config are made by root, using chmod abc pathtotranscode will fix that?

      You are looking at the filesystem inside the running container. You need to be looking at the Volume/Bind Mounts on the host instead.
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380