Plex Activated - Not Running

  • Hi folks!


    So I've just installed OMV for real this time (I've played with it before via VM), and I try to install Plex. However, I end up with the rather annoying "It seems that Plex Media Server isn't running (no process found)." all the time. No errors during install, just problems getting the service to run.


    After searching through this forum, I find I'm not the only one who had problems, but I've tried all the tricks in the threads I read without any luck...


    I have now just done a purge of both installs (omv-plex&plexserver), deleted user plex and the directory. I also tried a fresh OMV install yesterday without any luck.
    So, with a clean install of the Plex plugin from web GUI, this is what I have for the commands which seems to be relevant when having Plex-problems (I should add I really don't know much about "fancy" commands, but at least I've learned some stuff ;) ) :


    Code
    root@MISJE:~# id plex
    uid=111(plex) gid=65534(nogroup) grupper=65534(nogroup)


    Code
    root@MISJE:~# stat /media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver/
     Fil: «/media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver/»
     Stør: 4096 Blokke: 8 IO-blokke: 4096 katalog
    Enhed: 801t/2049d Inode: 9699329 Lænker: 3
    Adgang: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
    Adgang: 2014-11-04 20:49:08.947617744 +0100
    Redig.: 2014-11-04 20:49:08.951615745 +0100
    Ændret: 2014-11-04 20:49:08.951615745 +0100
    Opret.: -


    Code
    root@MISJE:~# ls -la /media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver/
    totalt 12
    drwxrwxrwx 3 root root 4096 nov. 4 20:49 .
    drwxr-xr-x 7 root root 4096 nov. 4 20:49 ..
    drwxr-xr-x 3 plex nogroup 4096 nov. 4 20:47 Library


    Code
    root@MISJE:~# dpkg -l | grep openmediavault
    ii openmediavault 1.0.29 all Open network attached storage solution
    ii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 1.0.20 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-plexmediaserver 1.0.7 all OpenMediaVault Plex Media Server plugin


    Code
    root@MISJE:~# cat /etc/passwd | grep ^plex
    plex:x:111:65534::/media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver:/bin/bash


    Code
    root@MISJE:~# showkey plexmediaserver
     <plexmediaserver>
     <enable>1</enable>
     <db-folder>/media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver</db-folder>
     <mntentref>97f9e72e-9f1e-4e26-b8f7-f11bd0e48934</mntentref>
     <showtab>0</showtab>
     </plexmediaserver>



    Anything else which might be of interest? And off course, anyone have any good idea what to try next? ?(

  • Code
    root@MISJE:~# chown -R plex:nogroup /media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver
    root@MISJE:~# /etc/init.d/plexmediaserver start
    Starting Plex Media Server: done
    root@MISJE:~# /etc/init.d/plexmediaserver status
    It seems that Plex Media Server isn't running (no process found).


    But it seems to be doing what it's supposed to do?

    Code
    root@MISJE:~# stat /media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver/ Fil: «/media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver/»
     Stør: 4096 Blokke: 8 IO-blokke: 4096 katalog
    Enhed: 801t/2049d Inode: 9699329 Lænker: 3
    Adgang: (0777/drwxrwxrwx) Uid: ( 111/ plex) Gid: (65534/ nogroup)
    Adgang: 2014-11-04 20:51:10.063028560 +0100
    Redig.: 2014-11-04 20:49:08.951615745 +0100
    Ændret: 2014-11-04 21:09:47.707611379 +0100
    Opret.: -
  • How is the data drive formatted?


    777 is not normal chmod for the plexmediaserver folder either. So I think there is issue in the chmod of the files elsewhere.


    Code
    File: `plexmediaserver'
      Size: 4096            Blocks: 8          IO Block: 4096   directory
    Device: 821h/2081d      Inode: 105906177   Links: 3
    Access: (0755/drwxr-xr-x)  Uid: (  121/    plex)   Gid: (65534/ nogroup)
    Access: 2014-10-30 00:24:47.851115215 -0400
    Modify: 2013-07-08 04:03:57.359981224 -0400
    Change: 2013-07-08 04:03:57.359981224 -0400
  • Code
    root@MISJE:~# blkid
    /dev/sda1: UUID="7e6869f9-8b77-4dc2-a46d-8a077df93618" TYPE="ext4" LABEL="DATA"
    /dev/sdb1: LABEL="DATA" UUID="a5ebdb45-b640-4f26-b3e9-43240f5f07d5" TYPE="ext4"
    /dev/sdb5: UUID="0f884979-4b31-4f51-9a71-e7d2c9cf5034" TYPE="swap"
  • Give me screenshot of your shared folders... after I see that I probably have you do. Why do you have same label??? Did you make partition on system drive to use as the data drive?


    apt-get --purge remove openmediavault-plexmediaserver
    apt-get --purge remove plexmediaserver
    userdel plex


    Then resinstall plugin in OMV plugin section of web gui.

  • I hope the stick is just temporary. It will not last long. I was checking to make sure you did not share root of the data drive. Go ahead and use instructions above to purge everything and reinstall. Then check the plexmediaserver folder after you enable and see if it is chmod 755 using the stat command. The plexmediaserver folder should be chown plex:nogroup recursively too.

  • Hmm, still the same...


  • When you have purged did you notice if the plexmediaserver folder was deleted or not???


    apt-get --purge remove openmediavault-plexmediaserver
    apt-get --purge remove plexmediaserver
    userdel plex
    rm -rf /media/7e6869f9-8b77-4dc2-a46d-8a077df93618/plexmediaserver


    Then reinstall... if this does not work I think there is something wrong already with your usb stick as system drive.

  • I checked now, and it did not get deleted (until I ran the rm-command). Reinstalled, but still the same story. The folder is now 777 and root is owner.


    I can try switching around the system, so I will install OMV on the harddrive and use the USB stick for data untill I deside what to do regarding hardware. But this will have to wait until tomorrow... Thanks for the help btw!

  • So I reinstalled OMV on the HDD without the USB present, put in the USB and cleaned it to EXT4, mount drive, installed the OMV-extra plugin, enabled SSH, installed Plex via webGUI, activated Plex aaaaand...... it's not running ;(


    Basically nothing changed since yesterday, same stat (777, root is the owner after a clean install), tried changing it to plex but still the same result. Did a remove and reinstall, no change... Am I doing something wrong/missing something?


    I did however notice this in the system log everytime I run the /etc/init.d/plexmediaserver start - command, makes any sense?


    Nov 5 21:47:06 MISJE kernel: [ 400.126270] Plex Media Serv[4164] trap invalid opcode ip:7f894eabab1b sp:7fff12a72290 error:0 in libopencv_imgproc.so.2.4[7f894e995000+24b000]



    And I ordered a new drive for the build, so probably in two days time I can remove the USB stick completely!

    • Offizieller Beitrag

    Ok. That might be your problem. Take a look here https://forums.plex.tv/index.p…ubuntu-server-1404/page-2


    Apparently is a problem with sse3 instructions set.


    I have a similar PC, in some other place is an opteron 170 in an Epox 9NPA Ultra MB (2006). But actually haven't tried if plexmediaserver works there and it won't be until a couple of weeks that I get there


    Edit: just realised that your cpu is socket 754, without sse3

Jetzt mitmachen!

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