Plex not transcoding. Docker.

    • exclusive213 wrote:

      # /etc/fstab: static file system information.
      #
      # Use 'blkid' to print the universally unique identifier for a
      # device; this may be used with UUID= as a more robust way to name devices
      # that works even if disks are added and removed. See fstab(5).
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      # / was on /dev/sdb1 during installation
      UUID=7f0aace4-fe71-4f1f-8dc1-a11a3a778d2e / ext4 errors=remount-ro 0 1
      # swap was on /dev/sdb5 during installation
      UUID=e92c95d2-ab6c-4c6e-a9bd-41a2fbc954df none swap sw 0 0
      tmpfs /tmp tmpfs defaults 0 0
      # >>> [openmediavault]
      /dev/disk/by-label/IronWolf1 /srv/dev-disk-by-label-IronWolf1 btrfs defaults,nofail 0 2
      /dev/disk/by-label/4TBHDD /srv/dev-disk-by-label-4TBHDD btrfs defaults,nofail 0 2
      /dev/disk/by-label/Samsung1TB /srv/dev-disk-by-label-Samsung1TB btrfs defaults,nofail 0 2
      /dev/disk/by-label/IronWolf2 /srv/dev-disk-by-label-IronWolf2 btrfs defaults,nofail 0 2
      /dev/disk/by-label/IronWolf3 /srv/dev-disk-by-label-IronWolf3 btrfs defaults,nofail 0 2
      /dev/disk/by-id/ata-KINGSTON_SH100S3120G_50026B721A111383-part3 /srv/dev-disk-by-id-ata-KINGSTON_SH100S3120G_50026B721A111383-part3 ext4 defaults,exec,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2
      /srv/dev-disk-by-label-4TBHDD:/srv/dev-disk-by-label-Samsung1TB:/srv/dev-disk-by-label-IronWolf2:/srv/dev-disk-by-label-IronWolf3 /srv/512e1b65-7039-44af-a2ff-5e2d6a0661f2 fuse.mergerfs defaults,allow_other,direct_io,use_ino,category.create=mfs,minfreespace=4G 0 0
      /srv/dev-disk-by-id-ata-KINGSTON_SH100S3120G_50026B721A111383-part3/ /var/lib/docker/openmediavault none bind,defaults,exec 0 0
      # <<< [openmediavault]


      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.
    • Quiksmage wrote:

      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.
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • 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 :/ || || ||
    • exclusive213 wrote:

      My PLEX stopped working again =(

      As predicted!


      flvinny521 wrote:

      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 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 <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
    • omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Users Online 3

      3 Guests