Plex media server refuses to start

  • Hey guys. Im having quite a bit of trouble getting plex to start.


    Ive purged and reinstalled several times. My problem is that it used to work, and I accidentally updated it from inside the plex GUI. This broike everything.


    Heres some info


    root@Tower:~# stat /media/763f9409-ea1f-497d-870a-de69192bc0bf/plexmediaserver
    File: `/media/763f9409-ea1f-497d-870a-de69192bc0bf/plexmediaserver'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 801h/2049d Inode: 15073281 Links: 3
    Access: (2755/drwxr-sr-x) Uid: ( 115/ plex) Gid: ( 116/ plex)
    Access: 2015-09-28 19:24:12.933578425 -0400
    Modify: 2015-09-28 19:11:21.495325590 -0400
    Change: 2015-09-28 19:13:06.832695267 -0400
    Birth: -


    root@Tower:~# id plex
    uid=115(plex) gid=116(plex) groups=116(plex)


    root@Tower:~# ls -lah /media/763f9409-ea1f-497d-870a-de69192bc0bf/plexmediaserver
    total 12K
    drwxr-sr-x 3 plex plex 4.0K Sep 28 19:11 .
    drwxrwsrwx 11 nobody root 4.0K Sep 28 19:13 ..
    d-wx--S--- 3 plex plex 4.0K Sep 28 19:11 Library


    root@Tower:~# service plexmediaserver start
    Starting Plex Media Server: done


    root@Tower:~# service plexmediaserver status
    It seems that Plex Media Server isn't running (no process found).



    Ive tried for hours to figure it out but it just wont seem to start.


    Any ideas?

  • No dice. I purged everything, and installed the package via dpkg and I still get


    root@Tower:~# service plexmediaserver status
    t seems that Plex Media Server isn't running (no process found).


    Edit: do I need to install plex via the gui, and then run the dpkg -i install?

  • Can you give me screenshot of your shared folders in the web GUI.


    This is not right...
    drwxr-sr-x 3 plex plex 4.0K Sep 28 19:11 .
    drwxrwsrwx 11 nobody root 4.0K Sep 28 19:13 ..
    d-wx--S--- 3 plex plex 4.0K Sep 28 19:11 Librar

  • It looks like you shared root of your data drive. You did not use ACLs did you?


    The plexmediaserver folder is chown nobody:root. This is wrong.



    Get one level above the plexmediaserver folder so you can list it. Then do this:


    chown -R plex:plex plexmediaserver

  • All the shared folders are folders inside of my pool


    And no, ACL's can die in a fire



    root@Tower:~# ls -la /media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8/
    total 189212
    drwxrwsrwx 27 nobody root 4096 Sep 29 19:26 .
    drwxr-xr-x 10 root root 4096 Sep 9 19:45 ..
    -rw------- 1 root root 6144 Sep 28 19:01 aquota.group
    -rw------- 1 root root 8192 Sep 28 19:01 aquota.user
    -rw-r--r-- 1 root root 492 Aug 29 00:36 config.xml
    drwxr-xr-x 2 root users 4096 Aug 13 15:07 Delugebackup
    drwxrwsrwx 2 root root 16384 Aug 13 02:02 lost+found
    -rw-r--r-- 1 root root 685494 Aug 29 00:38 nzbdrone_backup_2015.08.29_00.36.20.zip
    -rw-r--r-- 1 root root 4953088 Aug 29 00:36 nzbdrone.db
    drwxr-sr-x 3 plex plex 4096 Sep 29 19:24 plexmediaserver
    drwx--S--- 2 root users 4096 Sep 10 21:48 Private
    drwxrwsrwx 10 nobody users 4096 Sep 13 13:38 Shared
    -rw-r--r-- 1 root root 1343 Sep 9 19:39 snapraid.conf
    -rw-r--r-- 1 root root 1094 Sep 9 19:38 snapraid.conf.bak
    -rw------- 1 root root 188024917 Sep 28 18:33 snapraid.content
    -rwxrwsrwx 1 root root 0 Sep 28 18:32 snapraid.content.lock
    drwxrwsrwx 5 debian-transmission users 4096 Aug 20 01:02 torrents
    drwxrwsrwx 4 nobody users 4096 Aug 20 18:38 usenet
    drwxrwxrwx 17 nobody users 4096 Sep 28 18:34 usenetdownloads

  • The folder that is listed as nobody:root is the pool, not the plexmediaserver folder.


    root@Tower:/media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8# ls -lah
    total 185M
    drwxrwsrwx 27 nobody root 4.0K Sep 29 19:26 .


    the plex folder is
    drwxr-sr-x 3 plex plex 4.0K Sep 29 19:24 plexmediaserver


    Does the pool need to be set to nobody:nobody?


    I chowned it but still no luck


    In my original listing the one with the .. prefix is the pool

  • OK, I am on my laptop now. Tablets suck to try and help. Just a second.


    You should not have the S or s. You have done something weird. Let me show you how it should look:


    Code
    ls -la
    total 20
    drwxr-xr-x 3 plex plex 4096 Jul  8  2013 .
    drwxr-xr-x 7 root root 4096 Sep 25 15:22 ..
    -rw------- 1 plex plex  185 Jul  8  2013 .bash_history
    drwxr-xr-x 3 plex plex 4096 Jun 18  2013 Library
    -rw-r--r-- 1 plex plex  466 Feb 16  2015 .swfinfo


    Here is yours to compare:

    Code
    drwxr-sr-x 3 plex plex 4.0K Sep 28 19:11 .
    drwxrwsrwx 11 nobody root 4.0K Sep 28 19:13 ..
    d-wx--S--- 3 plex plex 4.0K Sep 28 19:11 Library
  • It keeps running then dying!!


    root@Tower:/media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8# service plexmediaserver start
    Starting Plex Media Server: done
    root@Tower:/media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8# service plexmediaserver status
    Plex Media Server process running.
    root@Tower:/media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8# service plexmediaserver status
    It seems that Plex Media Server isn't running (no process found).



    I ran a chmod to set it all to 775



    root@Tower:/media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8# ls -lah plexmediaserver/
    total 12K
    drwxrwxr-x 3 plex plex 4.0K Sep 29 19:24 .
    drwxrwxrwx 27 nobody root 4.0K Sep 29 19:26 ..
    drwxrwxr-x 3 plex plex 4.0K Sep 29 19:24 Library

  • ....is that bad...?


    let me clarify, the only chmod I ran from /media was to remove the sticky gid bit.


    I didnt run the 775 from media, I only ran that on the plex folder



    See:
    root@Tower:/media/763f9409-ea1f-497d-870a-de69192bc0bf# ls -lah /media/527fd786-e0f4-4bb3-b9fb-9f2355d62be8/
    total 185M
    drwxrwxrwx 27 nobody root 4.0K Sep 29 19:26 .
    drwxr-xr-x 10 root root 4.0K Sep 9 19:45 ..
    -rw------- 1 root root 6.0K Sep 28 19:01 aquota.group
    -rw------- 1 root root 8.0K Sep 28 19:01 aquota.user
    -rw-r--r-- 1 root root 492 Aug 29 00:36 config.xml
    drwxr-xr-x 2 root users 4.0K Aug 13 15:07 Delugebackup
    drwxrwxrwx 2 root root 16K Aug 13 02:02 lost+found
    -rw-r--r-- 1 root root 670K Aug 29 00:38 nzbdrone_backup_2015.08.29_00.36.20.zip
    -rw-r--r-- 1 root root 4.8M Aug 29 00:36 nzbdrone.db
    drwxrwxr-x 3 plex plex 4.0K Sep 29 19:24 plexmediaserver
    drwx------ 2 root users 4.0K Sep 10 21:48 Private
    drwxrwxrwx 10 nobody users 4.0K Sep 13 13:38 Shared
    -rw-r--r-- 1 root root 1.4K Sep 9 19:39 snapraid.conf
    -rw-r--r-- 1 root root 1.1K Sep 9 19:38 snapraid.conf.bak
    -rw------- 1 root root 180M Sep 28 18:33 snapraid.content
    -rwxrwxrwx 1 root root 0 Sep 28 18:32 snapraid.content.lock
    drwxrwxrwx 5 debian-transmission users 4.0K Aug 20 01:02 torrents
    drwxrwxrwx 4 nobody users 4.0K Aug 20 18:38 usenet
    drwxrwxrwx 17 nobody users 4.0K Sep 28 18:34 usenetdownloads


    Stuff is still set to the proper things

Jetzt mitmachen!

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