plex enabled but not running

    • OMV 1.0
    • Resolved
    • root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# ls -la
      total 40
      drwxr-xr-x 3 root root 4096 Oct 12 22:25 .
      drwxr-xr-x 8 root root 4096 Oct 12 22:48 ..
      -rw------- 1 root root 6144 Oct 12 22:25 aquota.group
      -rw------- 1 root root 6144 Oct 12 22:25 aquota.user
      drwx------ 2 root root 16384 Oct 12 22:15 lost+found
    • Sub, do you know default location of plexmediaserver folder when it first installs??? I can't think of it right now. We need him to check if it is there. Because it did not move to where it should be.

      apt-get --reinstall install plexmediaserver
      usermod -d /media/a6e632c0-fe42-44fb-944b-7405137843b4/plexmediaserver -m plex
      etc/init.d/plexmediaserver start

    • Reinstalled, then:

      Source Code

      1. root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# usermod -d /media/a6e632c0-fe42-44fb-944b-7405137843b4/plexmediaserver -m plex
      2. usermod: no changes
      3. root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# /etc/init.d/plexmediaserver start
      4. Starting Plex Media Server: done
      5. root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# ls -la
      6. total 40
      7. drwxr-xr-x 3 root root 4096 Oct 12 22:25 .
      8. drwxr-xr-x 8 root root 4096 Oct 12 22:48 ..
      9. -rw------- 1 root root 6144 Oct 12 22:25 aquota.group
      10. -rw------- 1 root root 6144 Oct 12 22:25 aquota.user
      11. drwx------ 2 root root 16384 Oct 12 22:15 lost+found
      12. root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# stat plexmediaserverstat: cannot stat `plexmediaserver': No such file or directory
      13. root@GLaDOS:/media/a6e632c0-fe42-44fb-944b-7405137843b4# service plexmediaserver status
      14. It seems that Plex Media Server isn't running (no process found)
      Display All
    • There was probably some issue with the plex users id. It did not match the id for the plexmediaserver folder and that is why it was not being moved to proper location.

      Good Man... Have fun!!!

      PS-if you do not delete the plex user on a reinstall you can have uid mistmatches.
      PPS- I'm done for the day.. :)

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

    • Not the folder, tekk was just speaking about the user.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • The plex userid did not match the ownership of the plexmediaserver folder. The plexmediaserver folder was owned by plex but with an new uid that did not match the old plex user from an earlier setup that was not deleted. In the case above it was crucial that the plex user was deleted before reinstall. You can read here for more info...

      Lesson of the Day: UID Mismatch

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

    • I had a similar problem plex not starting the server. I reinstalled a clean OMV to a new SSD and moved the library to the default location (wanted it to have on my SSD). Plex was not starting, of course. User was root and plex had no read/write permissions.
      I set the user recursively on the library folder with chown -R plex:nogroup /var/lib/plexmediaserver - done.
      OMV stoneburner | HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV erasmus| Odroid XU4 | 5TB Data drive | 500GB Backup drive
    • I updated the plugin to fix ownerships and improved the database move. I did lots of testing with weird situations. Hopefully, it will fix all of these problems.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • I've tried everything here.

      Here's the stat of my plexmediaserver library:

      Source Code

      1. ​root@thevault:/media/305AD142169CE9C3# stat plexmediaserver/
      2. File: `plexmediaserver/'
      3. Size: 144 Blocks: 0 IO Block: 4096 directory
      4. Device: 822h/2082d Inode: 5545 Links: 1
      5. Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
      6. Access: 2014-10-19 04:35:02.065714000 -0500
      7. Modify: 2014-10-19 04:35:02.043132000 -0500
      8. Change: 2014-10-19 04:35:02.043132000 -0500
      9. Birth: -


      Plex userid is 120.

      I don't know what else to try.
    • Source Code

      1. service plexmediaserver status
      2. ps aux | grep [p]lex


      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.