Plex container constantly starting

  • Hello chaps and chapettes,


    Total noob here having some issues with plex in portainer.
    Having totally lost my server on Thursday I'm rebuilding from the ground up in OMV 5 using portainer.
    I followed techno dad lifes video tutorial for plex setup but when I deploy the plex container log constantly keeps saying:
    Starting plex media server
    Over and over again and I have no access to the plex gui
    Any ideas what I've done wrong?
    I suspect it might be a permission issue but I'm really noob at this stuff

  • I'm using linuxserver/plex:latest as per techno dad's video.
    The container boots but rather than giving me any gui it doesn't do anything.
    The log prints the following:


    [cont-finish.d] executing container finish scripts...,
    [cont-finish.d] done.,
    [s6-finish] waiting for services.,
    [s6-finish] sending all processes the TERM signal.,
    [s6-finish] sending all processes the KILL signal and exiting.,
    [s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
    [s6-init] ensuring user provided files have correct perms...exited 0.,
    [fix-attrs.d] applying ownership & permissions fixes...,
    [fix-attrs.d] done.,
    [cont-init.d] executing container initialization scripts...,
    [cont-init.d] 01-envfile: executing... ,
    [cont-init.d] 01-envfile: exited 0.,
    [cont-init.d] 10-adduser: executing... ,
    usermod: no changes,
    ,
    -------------------------------------,
    _ (),
    | | ___ _ __,
    | | / __| | | / \ ,
    | | \__ \ | | | () |,
    |_| |___/ |_| \__/,
    ,
    ,
    Brought to you by linuxserver.io,
    We gratefully accept donations at:,
    https://www.linuxserver.io/donate/,
    -------------------------------------,
    GID/UID,
    -------------------------------------,
    ,
    User uid: 998,
    User gid: 100,
    -------------------------------------,
    ,
    [cont-init.d] 10-adduser: exited 0.,
    [cont-init.d] 40-chown-files: executing... ,
    [cont-init.d] 40-chown-files: exited 0.,
    [cont-init.d] 45-plex-claim: executing... ,
    [cont-init.d] 45-plex-claim: exited 0.,
    [cont-init.d] 50-gid-video: executing... ,
    [cont-init.d] 50-gid-video: exited 0.,
    [cont-init.d] 60-plex-update: executing... ,
    Docker is used for versioning skip update check,
    [cont-init.d] 60-plex-update: exited 0.,
    [cont-init.d] 99-custom-scripts: executing... ,
    [custom-init] no custom files found exiting...,
    [cont-init.d] 99-custom-scripts: exited 0.,
    [cont-init.d] done.,
    [services.d] starting services,
    Starting Plex Media Server.,
    [services.d] done.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,
    Starting Plex Media Server.,

  • Also, this is on a hp microserver so should be amd64 I believe?


    Also fouind this in the local plex logs


    Dec 22, 2019 12:14:54.557 [0x7f3769ecf700] INFO - Plex Media Server v1.18.3.2156-349e9837e - Docker Docker Container (LinuxServer.io) x86_64 - build: linux-x86_64 debian - GMT 00:00
    Dec 22, 2019 12:14:54.557 [0x7f3769ecf700] INFO - Linux version: 5.3.0-0.bpo.2-amd64, language: en-US
    Dec 22, 2019 12:14:54.557 [0x7f3769ecf700] INFO - Processor Intel(R) Xeon(R) CPU E31260L @ 2.40GHz
    Dec 22, 2019 12:14:54.557 [0x7f3769ecf700] INFO - /usr/lib/plexmediaserver/Plex Media Server
    Dec 22, 2019 12:14:54.555 [0x7f3773dd9b80] DEBUG - BPQ: [Idle] -> [Starting]
    Dec 22, 2019 12:14:54.556 [0x7f3773dd9b80] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
    Dec 22, 2019 12:14:54.557 [0x7f3773dd9b80] ERROR - SQLITE3:(nil), 5386, os_unix.c:37072: (19) mmap(/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-shm) - No such device
    Dec 22, 2019 12:14:54.557 [0x7f3773dd9b80] ERROR - SQLITE3:(nil), 5386, disk I/O error in "PRAGMA cache_size=2000"
    Dec 22, 2019 12:14:54.557 [0x7f3773dd9b80] ERROR - Database corruption: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=2000
    Dec 22, 2019 12:14:54.557 [0x7f3773dd9b80] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

  • ryecoaaron

    Hat den Titel des Themas von „Plex portainer constantly starting“ zu „Plex container constantly starting“ geändert.
  • Thanks, just stumbled across this...it's weird, I haven't had an issue until the other night, and then I lost 4 of my Containers...including Plex. It seems that I'm getting the same errors.


    I'm not really sure if I undrestand the issue, but i do use UnionFS as well. I thought I had my config and transcode with direct links, but maybe I should just double check that...

  • I just happened to experience this same issue after migrating to OMV5. I have 3 drives pooled, placed Plex's /config and /transcode in a share in the pool and it did not worked. Now, I know that I have to put those folders outside the pool, but how? I am considering two options:


    1. Put both folders in one drive of the pool and point Docker directly to them (use the drive_ID/config instead of pool-mount-point/config). However, I am not sure if that might mess up with the pool. I tried that already and it worked, but I ended up with two folders with identical drive names under /srv: one with the data from the pool and another one with only the Plex Database. Any ideas or recommendations?

    2. Put both folders in the OS drive under /var/lib/Plex. I am using a 64 Gb SSD and the database should not be that big (circa 3,5 GB)

    3. Any other suggestions?


    Thanks in advance

    Custom mini-ITX build
    Coolcube Mini, Intel Desktop Board DQ77KB, Intel Core i7-3770S, 8 GB DDR3 Ram, 64 GB Trascend mSata SSD (OS), X3 1TB HDD pooled + parity

    Dell Optiplex 960 sff (deprecated) - link


    Dell Optiplex FX160 (repurposed) - link


    "If you can't find it in Google, it simply doesn't exist!" - The Internetz


    Einmal editiert, zuletzt von Eryan ()

  • I would just do a Plex direct installation on OMV5.

    It gives you better performance and avoid latency especially the transcoding process.

    It worked for me on OMV5 and Raspberry Pi 4.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • I have been running Plex on OMV for more than five years on what I describe as fairly meager hardware, both direct and in docker. I have never noticed any difference between direct install and in docker performance. Either you have enough CPU to meet your transcoding use case demands or you don't.


    What does better performance mean anyway? What is this latency you mention?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!