Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Linux Plex Media Server does not start automatically on startup

yvonneryvonner Posts: 9Members
I have done a lot of installing and uninstalling in the last two days and I think I screwed something up that doesn't seem to be fixed by uninstalling and reinstalling. Part of the problem is that at some point during the last day I decided to try to run PMS under Wine in Linux Mint. I have successfully backed out of that including uninstalling Wine but I have to start PMS manually at the command line.

I was considering creating my own Startup Application to make the server go, but I have found two ways (supposedly) to start the server and I don't know which one is correct or even if this would be the correct way to go about it.

So, if anyone is able to direct me, I would very much appreciate it. I am simply looking for PMS to start automatically when I log into my Linux install.

For those interested, these are the two ways although I only tried the first:

http://forums.plexapp.com/index.php/topic/32852-plex-media-server-debian-repository/
(using /usr/sbin/start_pms &)
http://samkear.com/linux/install-plex-media-server-funtoo-linux
(using /etc/init.d/plex-media-server start)

Thanks!

Comments

  • TrudgeTrudge Gone off to greener pastures.... Posts: 9,360Members ✭✭✭
    yvonner wrote:

    I have done a lot of installing and uninstalling in the last two days and I think I screwed something up that doesn't seem to be fixed by uninstalling and reinstalling. Part of the problem is that at some point during the last day I decided to try to run PMS under Wine in Linux Mint. I have successfully backed out of that including uninstalling Wine but I have to start PMS manually at the command line.

    I was considering creating my own Startup Application to make the server go, but I have found two ways (supposedly) to start the server and I don't know which one is correct or even if this would be the correct way to go about it.

    So, if anyone is able to direct me, I would very much appreciate it. I am simply looking for PMS to start automatically when I log into my Linux install.

    For those interested, these are the two ways although I only tried the first:

    http://forums.plexapp.com/index.php/topic/32852-plex-media-server-debian-repository/
    (using /usr/sbin/start_pms &)
    http://samkear.com/linux/install-plex-media-server-funtoo-linux
    (using /etc/init.d/plex-media-server start)

    Thanks!


    try this to add it back to the startup config

    sudo update-rc.d plexmediaserver defaults
    

    for restarts

    sudo restart plexmediaserver
    

    you can also replace restart there with stop, start and status.
  • yvonneryvonner Posts: 9Members
    Trudge wrote:

    try this to add it back to the startup config

    sudo update-rc.d plexmediaserver defaults
    

    for restarts

    sudo restart plexmediaserver
    

    you can also replace restart there with stop, start and status.



    Thank you! Unfortunately that didn't work. The update defaults ran without error but after restarting, the PMS is not up.

    The link plexmediaserver in /etc/init.d points at /lib/init/upstart-job. I am not sure if that is correct. While

    sudo restart plexmediaserver
    


    works without error, it doesn't actually start the server. I can't ps grep or attach to it from the manager. On the other hand

    /usr/sbin/start_pms &
    


    works. Any other thoughts?
  • yvonneryvonner Posts: 9Members
    Well I ended up fixing it by adding this command to a new startup program. It may not be the right way but it makes everything go and works correctly as far as I can tell.

    /usr/sbin/start_pms &
    
  • sadmanma3sadmanma3 Posts: 1Members

    thanx followeed your instructions and it worked just thought i would show appreciation

Sign In or Register to comment.