Plex not transcoding. Docker.


  • Just a heads up that any changes made to fstab that fall between the [openmediavault] tags will get reset by the OS on certain events. I had this issue recently as well. So, Plex may work well now, but in a day or two you'll find that transcoding has stopped again.


    See my thread here where this was answered by @gderf himself. I apologize if this was answered later in this thread, I didn't notice it as I skimmed through.

  • another thing to keep in mind is the tmp directory. I believe that's where the transcode files will go. If it fails, it's likely because there's something wrong with that directory (permissions).

  • another thing to keep in mind is the tmp directory. I believe that's where the transcode files will go. If it fails, it's likely because there's something wrong with that directory (permissions).

    When running Plex in a docker the system /tmp directory is not where transcode files are written to.


    If using the linuxserver/plex or plexinc/pms containers, the location can be optionally user specified via the /transcode Container path variable. If not specified, a new Data volume within the running container will be created.

    --
    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.

  • My PLEX stopped working again =(


    I took some steps to try and solve them myself.


    I copied


    /config


    /transcode


    directories from sharedfolders mount to the root of the drive where the OS is installed


    root@openmediavault:~# ls -al /
    total 100
    drwxr-xr-x 25 root root 4096 Aug 15 15:26 .
    drwxr-xr-x 25 root root 4096 Aug 15 15:26 ..
    drwxr-xr-x 2 root root 4096 Jul 29 15:20 bin
    drwxr-xr-x 3 root root 4096 Aug 14 09:51 boot
    drwxr-xr-x 18 root root 3440 Aug 17 14:32 dev
    drwxrwxr-x 107 root root 4096 Aug 14 11:27 etc
    drwxr-xr-x 2 root root 4096 Jul 28 22:45 export
    drwxr-xr-x 2 root root 4096 Jul 28 22:45 home
    lrwxrwxrwx 1 root root 36 Aug 3 13:48 initrd.img -> boot/initrd.img-4.17.0-0.bpo.1-amd64
    lrwxrwxrwx 1 root root 36 Aug 3 13:48 initrd.img.old -> boot/initrd.img-4.16.0-0.bpo.2-amd64
    drwxr-xr-x 15 root root 4096 Jul 29 15:21 lib
    drwxr-xr-x 2 root root 4096 Jul 28 22:45 lib64
    drwx------ 2 root root 16384 Jul 28 21:20 lost+found
    drwxr-xr-x 3 root root 4096 Jul 28 22:45 media
    drwxr-xr-x 2 root root 4096 Jul 28 22:45 mnt
    drwxr-xr-x 3 root root 4096 Aug 9 15:53 opt
    drwxrwxrwx 5 jaime users 4096 Aug 15 15:27 Plex
    dr-xr-xr-x 303 root root 0 Aug 17 14:31 proc
    drwx------ 8 root root 4096 Aug 2 23:01 root
    drwxr-xr-x 27 root root 1160 Aug 17 18:30 run
    drwxr-xr-x 2 root root 12288 Jul 28 23:07 sbin
    drwsr-sr-x 4 jaime users 4096 Aug 12 16:00 sharedfolders
    drwxr-xr-x 10 root root 4096 Aug 12 16:00 srv
    dr-xr-xr-x 13 root root 0 Aug 17 14:31 sys
    drwxrwxrwt 7 root root 140 Aug 17 18:30 tmp
    drwxr-xr-x 10 root root 4096 Jul 28 21:20 usr
    drwxr-xr-x 12 root root 4096 Jul 28 22:45 var
    lrwxrwxrwx 1 root root 33 Aug 3 13:48 vmlinuz -> boot/vmlinuz-4.17.0-0.bpo.1-amd64
    lrwxrwxrwx 1 root root 33 Aug 3 13:48 vmlinuz.old -> boot/vmlinuz-4.16.0-0.bpo.2-amd64
    root@openmediavault:~# chown -R jaime:users /Plex
    root@openmediavault:~# chmod -R 777 /Plex
    root@openmediavault:~# ls -al /Plex
    total 20
    drwxrwxrwx 5 jaime users 4096 Aug 15 15:27 .
    drwxr-xr-x 25 root root 4096 Aug 15 15:26 ..
    drwsrwsrwx 3 jaime users 4096 Aug 9 13:44 config
    drwxrwxrwx 6 jaime users 4096 Jul 31 21:19 media
    drwsrwsrwx 3 jaime users 4096 Aug 17 18:27 transcode
    root@openmediavault:~#



    OMV might be over my head :/||||||

  • My PLEX stopped working again =(


    As predicted!



    Just a heads up that any changes made to fstab that fall between the [openmediavault] tags will get reset by the OS on certain events. I had this issue recently as well. So, Plex may work well now, but in a day or two you'll find that transcoding has stopped again.


    See my thread here where this was answered by @gderf himself. I apologize if this was answered later in this thread, I didn't notice it as I skimmed through.


    Your transcode directory was on a drive with a "noexec" flag, which OMV reverts even if you change it manually. It is possible to make this change permanent, read the thread I linked in my quoted post.

  • This is what the openmediavault file has inside the defaults folder:


    # This file is part of OpenMediaVault.
    #
    # @license http://www.gnu.org/licenses/gpl.html GPL Version 3
    # @author Volker Theile <volker.theile@openmediavault.org>
    # @copyright Copyright (c) 2009-2018 Volker Theile
    #
    # OpenMediaVault is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # any later version.
    #
    # OpenMediaVault is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.


    # Global default values. Please restart the openmediavault-engined systemd
    # service to take changes into affect.
    OMV_CONFIG_FILE="/etc/openmediavault/config.xml"
    OMV_CONFIG_TEMPLATE_FILE="/usr/share/openmediavault/templates/config.xml"
    OMV_PRODUCTINFO_FILE="/usr/share/openmediavault/productinfo.xml"
    OMV_SCRIPTS_DIR="/usr/share/openmediavault/scripts"
    OMV_DATAMODELS_DIR="/usr/share/openmediavault/datamodels"
    OMV_I18N_LOCALE_DIR="/usr/share/openmediavault/locale"
    OMV_MOUNT_DIR="/srv"
    OMV_SHAREDFOLDERS_DIR="/sharedfolders"
    OMV_NFSD_EXPORT_DIR="/export"
    OMV_CACHE_DIR="/var/cache/openmediavault"
    OMV_LOG_DIR="/var/log/openmediavault"
    OMV_SSL_CERTIFICATE_DIR="/etc/ssl"
    OMV_SSL_CERTIFICATE_PREFIX="openmediavault-"
    OMV_SSH_KEYS_DIR="/etc/ssh"
    OMV_SSH_KEY_PREFIX="openmediavault-"
    OMV_DPKGARCHIVE_DIR="/var/cache/openmediavault/archives"
    OMV_DOCUMENTROOT_DIR="/var/www/openmediavault"
    OMV_CRONSCRIPTS_DIR="/var/lib/openmediavault/cron.d"
    OMV_CONFIGIMPORT_SCRIPTS_DIR="/usr/share/openmediavault/configimport"
    OMV_MKCONF_SCRIPTS_DIR="/usr/share/openmediavault/mkconf"
    OMV_ENGINED_DIR="/usr/share/openmediavault/engined"
    OMV_ENGINED_SO_ADDRESS="/var/lib/openmediavault/engined.sock"
    OMV_ENGINED_SO_OWNERGROUP_NAME="openmediavault-engined"
    OMV_ENGINED_SO_SNDTIMEO=10
    OMV_ENGINED_SO_RCVTIMEO=180
    OMV_ENGINED_DIRTY_MODULES_FILE="/var/lib/openmediavault/dirtymodules.json"
    OMV_INITSYSTEM_SCRIPTS_DIR="/usr/share/openmediavault/initsystem"
    OMV_INITSYSTEM_FILE="/var/lib/openmediavault/initsystem.req"
    OMV_USERMGMT_DEFAULT_GROUP="users"
    OMV_RRDGRAPH_DIR="/var/lib/openmediavault/rrd"
    OMV_RRDGRAPH_ERROR_IMAGE="/usr/share/openmediavault/icons/rrd_graph_error_64.png"
    OMV_WEBGUI_FILE_OWNERGROUP_NAME="openmediavault-webgui"
    OMV_CONFIGOBJECT_NEW_UUID="fa4b1c66-ef79-11e5-87a0-0002b3a176b4"
    OMV_DEBUG_SCRIPT="NO"
    OMV_DEBUG_PHP="NO"
    OMV_DEBUG_EXTJS="NO"
    OMV_APT_USE_KERNEL_BACKPORTS="YES"


    I can't find OMV_FSTAB_MNTOPS setting

  • I have to do this even in the root directory where OMV4 is installed?


    You do not need to do this. If your rootfs drive was mounted noexec, the system could not run at all.


    You have other problems.

    --
    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.

  • I am willing to start fresh, I don't have too much data to not put it on backup somewhere.


    Can anyone link me a good plex install video from a fresh install?


    i already attempted the technodadlife one lol...

    • Offizieller Beitrag

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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